- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I am a new Intel Vtune amplifier 2011 user. I am running Vtune in a Linux (Centos) server where I don't have a GUI. I am trying to set the sample rate usingthe command line but without success. Can anyone tell me how to do that using the command line tool amplxe-cl ??
Thanks
Ahmed
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The user cannot modify predefined analysis - for sample interval, see below example:
# source /opt/intel/vtune_amplifier_xe_2011/amplxe-vars.sh
# amplxe-runss --interval 15 -- ./primes.icc
Collection started
Determining primes from 1 - 100000
Found 9592 primes
# amplxe-cl -report hotspots
Using result path `/home/peter/problem_report/r004'
Executing actions 74 % Generating a report
Function Module CPU Time
findPrimes primes.icc 2.955
Executing actions 99 % done
Please note that you can use amplxe-gui to open result file under r004
Regards, Peter
# source /opt/intel/vtune_amplifier_xe_2011/amplxe-vars.sh
# amplxe-runss --interval 15 -- ./primes.icc
Collection started
Determining primes from 1 - 100000
Found 9592 primes
# amplxe-cl -report hotspots
Using result path `/home/peter/problem_report/r004'
Executing actions 74 % Generating a report
Function Module CPU Time
findPrimes primes.icc 2.955
Executing actions 99 % done
Please note that you can use amplxe-gui to open result file under r004
Regards, Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thanks peter for your reply, but I didn't really understand if the sampling rate of vtune can be modified or not ??? I am talking about hardware counters sampling, I run vtune as follows :
amplxe-cl -collect-with runsa -duration 60 -knob event-config=CPU_CLK_UNHALTED.THREAD_P -verbose -analyze-system -target-pid 14386
And I always get sample after value of 2,000,000 for CPU_CLK_UNHALTED.TOTAL_CYCLES
Is there any way to reduce this value, for example to 100, 000 ???
I am using a linux server which has no GUI at all, so I can't use amplxe-gui. And honestly the documents of the vtune command line is terrible. It is not as good as the GUI documents.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Change event-config to event-config=CPU_CLK_UNHALTED.THREAD_P:sa=100000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
it seems like it working , I got bigger measurement file , but when I check the file in the GUI, I still see 2000,000 per each sample (Module Timeline), is this normal ? or it is a bug somewhere in the software
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Usually "1000 samples per second" is recommended to users. SoSAV value could be : CPU MHz of yoursystem / 1000. For example (2GHz CPU) : SAV = 2,000,000,000 / 1000 = 2000000
event-config=CPU_CLK_UNHALTED.THREAD_P:sa=2000000
Regards, Peter
event-config=CPU_CLK_UNHALTED.THREAD_P:sa=2000000
Regards, Peter

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