Manual Reference Pages - PMCSTUDY (8)
- Perform various studys on a systems overall PMCs.
[-i inputfile |-T -| -v -| -m max |-e -exp -| E |-h -| -fl -H ]
program is designed to run various tests against your systems
performance. There are roughly 20-22 canned tests that setup specific
PMCs and then run various formulas on the output information.
These formulas can be found in Intel documentation "Using Intel Vtune
amplifier xe on NNN Generation Intel Core Processors". The NNN is either
2nd, 3rd or 4th generation i.e. Sandy Bridge, Ivy Bridge and Haswell.
Currently the program only works on these three Intel processor types.
The following options are available:
If this option is supplied, instead of running a
command to collecte the current running information the filename will be read
in as input instead.
This option will display the complete list of canned formulas that can be run including
there names which can be input to the
Execute the canned test
on the running kernel.
If you add this option to the
option the test will not execute but instead give you a small description
of the test that would run.
This option will execute a test of every PMC to validate that they are working
on your system. If a PMC does not show up in this test chances
are the kernel hwpmc driver needs updating with new PMC information.
This option can restrict the number of one second samples that will
be collected by your system when running a test (it bounds the
time the test will run). Without this option the test will run
for 1024 seconds or until the user types ctrl-c.
The verbose option adds debugging output to the command.
This option can be used by those that have there own ideas
on what formulas that you want to run. The expression given to
option is a "formula". The formula can declare directly the PMCs by name
or you can use an abbreviation %NNN. To find out the abbreviations
on your system you may run the
An example of a formula of your own might be
"FP_ASSIST.ANY / INST_RETIRED.ANY_P" or using the abbreviations on a
Haswell machine you would type
" %176 / %150". You must have spaces between each entry and
you may use paraenthisis to prioritize the operators. Add (+), Subtract (-),
Divide (/) and Multiplication (*) are supported. You may also introduce
constant numbers as well. So for example you can do a standard efficency
"UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD_P)".
This option will list all known PMCs and there abbreviation (%NNN).
utility first appeared in
.An Randall Stewart Aq Mt rrs@FreeBSD.org
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.