- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am having a problem sampling a Java program after giving a sampling delay and duration. The first time I run VTune (assuming I have set the times correctly) it works just fine. Almost every run after that, it does not start collecting when it should, the program ends, and VTune gives me an error about not having started collection. I have to force the program to exit (with ^C) to get back to the shell, but the vtl.bin process ramps up to 99% CPU usage and doesn't let me kill it (with any signal).
I'm using VTune for Linux 3.0 (non-commercial) to sample SPECjbb2000 running on Sun HotSpot Client JVM 1.4.2_08-b03.
First, let me tell you what I want to do. My end goal is to capture cycles per instruction and cycles per uop for a few seconds during steady-state run. The configuration that I want to measure (30 warehouses) has about 1 minute of initialization and warm-up of the warehouse, so I need to skip that part. I run vtl with the following command:
where
So, with a duration of 96 and a sampling-delay of 91, I should get about 5 seconds of sampling. And I did,twice three times now. But most of the time, the benchmark just runs until completion and I get the problem mentioned above.
Is there any reason why this would happen? The inconsistent behavior (and the number of times I've had to reboot) is somewhat frustrating. I appreciate any feedback. I can also submit a bug report, though I don't know if I have "premier" access since it's the non-comm version.
Thanks,
Sean Leather
Student, Univ. of Texas at Austin
I am having a problem sampling a Java program after giving a sampling delay and duration. The first time I run VTune (assuming I have set the times correctly) it works just fine. Almost every run after that, it does not start collecting when it should, the program ends, and VTune gives me an error about not having started collection. I have to force the program to exit (with ^C) to get back to the shell, but the vtl.bin process ramps up to 99% CPU usage and doesn't let me kill it (with any signal).
I'm using VTune for Linux 3.0 (non-commercial) to sample SPECjbb2000 running on Sun HotSpot Client JVM 1.4.2_08-b03.
First, let me tell you what I want to do. My end goal is to capture cycles per instruction and cycles per uop for a few seconds during steady-state run. The configuration that I want to measure (30 warehouses) has about 1 minute of initialization and warm-up of the warehouse, so I need to skip that part. I run vtl with the following command:
/opt/intel/vtune/bin/vtl activity jbb_exp -d $duration -c sampling -o "$samp_options" -app $program,"$prog_options" run
where
duration=96
samp_options="java -cal yes -sd 91"
program=/usr/java/j2sdk1.4.2_08/bin/java
prog_options="-Xms512m -Xmx512m [...]"
samp_options="java -cal yes -sd 91"
program=/usr/java/j2sdk1.4.2_08/bin/java
prog_options="-Xms512m -Xmx512m [...]"
So, with a duration of 96 and a sampling-delay of 91, I should get about 5 seconds of sampling. And I did,
Is there any reason why this would happen? The inconsistent behavior (and the number of times I've had to reboot) is somewhat frustrating. I appreciate any feedback. I can also submit a bug report, though I don't know if I have "premier" access since it's the non-comm version.
Thanks,
Sean Leather
Student, Univ. of Texas at Austin
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Two supplemental observations:
Thanks again,
Sean
- It doesn't matter whether I do calibration or not. I've seen it work either way.
- It seems possibly time-dependent. It'll sometimes work if I set the sampling-delay to 100, but it never works if it's 110 or 120.
Thanks again,
Sean
Message Edited by seanl on 04-13-2005 12:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sean,
This is extremely interesting.
Would you repeat your experiment and, instead of ^C try running the ActivityController to stop the collection, see if the results are the same, different, better, worse.
$ ActivityController
Or for more info,
$ man ActivityController
cheers
jdg

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page