- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
When I use PTU to do anything else (branch analysis, basic data access profiling, basic sampling) then PTU can't find anything. More than 99% of the samples are in Module
In all cases I'm running the same build of the same program.
This means that PTU is virtually useless to me. Is there anything I can do to fix this problem?
I'm running 64-bit Windows 7 with 24 GB RAM on an 8-core i7 970.
Version information is:
Package ID: N/A
Package Contents: Intel Performance Tuning Utility 4.0 Update 5
Build Number: 743
Build ID: 2011.03.31 13:17:58
Lien copié
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
I just want to verify:
1) Have you install the sampling driver properly?Go to '
'sepreg.exe -i'
2) To run sampling,your account or any user group it belongs to has to have Profile System
Performance user right. My account is in "administrator" group.
Regards, Peter
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
2) I am running PTU (eclipse.exe) from an administrator command prompt. And, the statistical callgraph sampling works, which would also require profiling rights.
Note that the usage guide at http://software.intel.com/file/1953 talks repeatedly about the importance of running install_sep.exe. That should be updated to "sepreg.exe -i" -- it's quite confusing currently.
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
1) I am able to record ETW traces with xperf with no problems, so my account must have the right permissions.
2) If my account didn't have the right permissions then PTU would give an error message, right? Right?
To be clear, I'm getting samples, I'm getting modules and function names -- but only for OS code. My code is all in the
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
So it is not the problem during data collecting. You are working on 64bit OS but all samples dropped in 32bit modules, and PTU can't interpret them...that was why it said
You may try command line to verify:
1. vtssrun.exe log -ec "CPU_CLK_UNHALTED.CORE":sa=200000 -- app ; log subdirectory will generated
2. vtssview log --convert
3. vtssview log -hot-stack ; can you see samples in expected module?
My opinion is to recompile your program in 64bit mode, so the problem will be disappeared.
Regards, Peter
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Even if we did recompile as 64-bit and successfully profile that would then tell us the performance characteristics of a 64-bit version of our software, but we will be shipping a 32-bit version, and the performance characteristics are likely to be different.
The Statistical Call Graph in PTU is *not* done by inserting probes. If it was done with probes then the results should indicate the number of *calls*. Instead they indicate the number of *samples*. Even the name 'statistical' implies a sampling profiler. This is discussed in:
http://software.intel.com/en-us/forums/showthread.php?t=81390&o=a&s=lr
I tried running:
vtssrun.exe log -ec "CPU_CLK_UNHALTED.CORE":sa=200000 -- c:\windows\notepad.exe
The result was the (unhelpful) error message:
Sampling collector options are incorrect; collection cannot continue.
Please try again.
Success
SEP_ERROR:0:
Stop request has been processed..
I did a quick test of profiling 32-bit notepad.exe and 64-bit notepad.exe. With the 32-bit version of notepad I got 258 samples in
So, it looks like it really is true that there is no support for 32-bit processes on 64-bit Windows. Given that all sensible developers use 64-bit Windows that is roughly the same as saying that there is no support for profiling 32-bit processes.
Wow. I mean, wow. That's a huge gaping hole. And, this gaping hole in the capabilities of PTU does not appear to be documented, meaning that I wasted several hours trying to get it to work.
Sigh...
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
The user (of PTU) might discuss issues or new feature requests on this forum - http://software.intel.com/en-us/forums/intel-performance-tuning-utility/
Note that PTU isAlpha (experimental) product only,I recommend to use VTuneAmplifier XE 2011.
Regards, Peter
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Either way, if a scenario is not supported the polite thing for the software to do is to acknowledge that it cannot do itrather than presenting bad results. It is frustrating to realize that I spent several hours trying to get PTU to do something that it cannot do.

- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable