- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an accomplishment, since I was unable to install VTune 3.0 under
any environment.
I am trying to work my way through the "Getting Started" document.
Here are the problems I've had:
1. There is no file /opt/intel/vtune/samples/gsexample/gsexample.c
This makes it very hard to profile the application gsexample. I tried to continue by assuming that I should use gsexample2a.
2. I have 3 versions of java on my machine:
a: java version "1.4.2_08", which is the default version that ships with SuSe 9.2.
b: eclipsepackage/3.1/jrockit-jre1.5.0_03/bin/java and
c: eclipsepackage/3.0.1/jrockit-j2re1.5.0/bin/java
If I attempt to run the "First Use" wizard using Java 1.4.2,
java goes into an infinite loop and I have to kill it using kill -9.
If I try to switch java machines by starting vtlec thus:
/opt/intel/vtune/bin/vtlec -vm /opt/intel/eclipsepackage/3.1/jrockit-jre1.5.0_03/bin/java
I also get an infinite loop. If I try to use the java machine from eclipse 3.0.1, I do not get an infinite loop.
However, I get a popup saying that
/boot/vmlinuz-2.6.8-24.17-smp
could not be found, and asking me to specify a different path.
When I merely specify the same path, it is accepted and
I get a function call graph similar to the one indicated by
the "Getting Started" document.
However, the listing of where the program is spending its time
is bogus. The top function is _pthread_mutex_lock, wherein
the program is said to spend 1.27% of its time.
The total run time for the program is 1.16 seconds, which is
quite a bit less than the nine seconds it took to execute the
program outside of vtune.
So, either I'm doing something wrong, or it doesn't work.
Any feedback?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was able to only find the 7.2 version through the website, is that a trial/beta or what?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you mean Vtune 3.0 or that was RDC over SUSE with Windows to do the analysis on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is no 8.0 for Windows. The latest Windows VTUne is 7.2. VTUne 8.0 is a Linux-only tool.
cheers
jdg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think unless somebody else pipes up here, it would be a great idea to report this issue directly to Intel Premier support, to get engineering feedback. Include a pack and go of the project that fails if possible, and, definitely no matter what, the log that is generated when you run:
/opt/intel/vtune/bin/vtqfagent
(the name of the log that is created will be told to you when the agent runs)
Be sure to attach that log to the premier case to speed things up.
ALSO, since the problem appears to be eclipse related, I'm guessing as a work around you can use the command line itself, with its plug in viewers until support figures out what is unique to your system. Some examples follow in the hope it will show you the way.
$ vlt activity -c sampling -app "/bin/myapp" run # run a sampling session
$ vtl activity -c callgraph -app "/bin/myapp" -moi "/bin/mymodule" run # run a callgraph sessino
$ vtl view # view my results as ascii text
$ vtl view -gui # view the same data in a GUI viewer
Also consider:
$ man vtl
$ man sampling
$ man callgraph
$ man ActivityController
$ man code
jdg
Message Edited by jdgallag on 11-09-2005 10:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
WAIT, meant to add:
1) Multiple versions of Eclipse is not unusual per se, it was designed to allow for that
2) Release notes say each of the following have been tested. Any of these should work as you expect:
On IA-32 systems:
* Sun* J2SE v1.4.2 and v5.0
* IBM* JDK 1.4.2
* BEA JRockit 1.4.2 and v5.0
On Itanium architecture systems:
* Sun J2SE v1.4.2 and v5.0
* IBM JDK 1.4.2
* BEA JRockit 1.4.2 and v5.0
On systems with Intel EM64T:
* Sun J2SE v1.4.2 and v5.0
* BEA JRockit 5.0
3) Here's the gs* find output on my system too. Sounds like filenames might have been changed at the last minute:
[root@localhost root]# find / -name "gsexample*"
/opt/intel/vtune/samples/gsexample
/opt/intel/vtune/samples/gsexample/gsexample2a.c
/opt/intel/vtune/samples/gsexample/gsexample2a
/opt/intel/vtune/samples/gsexample/gsexample2c.c
/opt/intel/vtune/samples/gsexample/gsexample2c
/opt/intel/vtune/samples/gsexample/gsexample3a.c
/opt/intel/vtune/samples/gsexample/gsexample3a
/opt/intel/vtune/samples/gsexample/gsexample3c.c
/opt/intel/vtune/samples/gsexample/gsexample3c
jdg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was using command line option intsead.
What I observed with the call graph is that the samples are notbeingcollected for the child processes. I used the following:
vtl activity -d 30 -c callgraph -app application_to_be_invoked, cmnd_ln_param -moi mod_of_int
In addition to this I amusing following options: -cal no, term no, sterm no.
With this option I presume that for every 30 sec the callgraph sud collect samples for each of the child process.
-Naren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by jdgallag on 11-10-2005 10:57 AM
Message Edited by jdgallag on 11-10-2005 10:57 AM
Message Edited by jdgallag on 11-10-2005 10:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi hnaparst:
Please check the Release Notes (/opt/inte/vtune/RELEASENOTES.htm, by default) for supported JVMs. Also, at the end of the install, there is a statement about setting up to use a different JVM other than the one installed by the VTune analyzer installation (environment variable OTHER_JVM_BINDIR). This is the method you need to use to change which JVM vtlec should use, for example:
export OTHER_JVM_BINDIR=/usr/local/jre1.5.0_04/bin
Hope this helps,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page