Rough first mdoc, spelling and grammar cleanup pass.
This commit is contained in:
parent
aa21557237
commit
c504b60c4e
@ -29,7 +29,7 @@
|
|||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
.Nm pmcstudy
|
.Nm pmcstudy
|
||||||
.Nd Perform various study's on a systems overall PMC's.
|
.Nd Perform various studies on a system's overall PMCs.
|
||||||
.Sh SYNOPSIS
|
.Sh SYNOPSIS
|
||||||
.Nm
|
.Nm
|
||||||
.Oo Fl i Ar inputfile | Fl T | Fl v | Fl m Ar max | Fl e exp | Fl Ar E | Fl h | fl H Oc
|
.Oo Fl i Ar inputfile | Fl T | Fl v | Fl m Ar max | Fl e exp | Fl Ar E | Fl h | fl H Oc
|
||||||
@ -53,11 +53,13 @@
|
|||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
program is designed to run various tests against your systems
|
program is designed to run various tests against your systems
|
||||||
performance. There are roughly 20-22 canned tests that setup specific
|
performance.
|
||||||
PMC's and then run various formulas on the output information.
|
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
|
These formulas can be found in Intel documentation "Using Intel Vtune
|
||||||
amplifier xe on NNN Generation Intel Core Processors". The NNN is either
|
amplifier xe on NNN Generation Intel Core Processors".
|
||||||
2nd, 3rd or 4th generation i.e. Sandy Bridge, Ivy Bridge and Haswell.
|
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.
|
Currently the program only works on these three Intel processor types.
|
||||||
.Sh OPTIONS
|
.Sh OPTIONS
|
||||||
The following options are available:
|
The following options are available:
|
||||||
@ -65,11 +67,11 @@ The following options are available:
|
|||||||
.It Fl i Ar filename
|
.It Fl i Ar filename
|
||||||
If this option is supplied, instead of running a
|
If this option is supplied, instead of running a
|
||||||
.Xr pmcstat 8
|
.Xr pmcstat 8
|
||||||
command to collecte the current running information the filename will be read
|
command to collect the current running information the filename will be read
|
||||||
in as input instead.
|
in as input instead.
|
||||||
.It Fl H
|
.It Fl H
|
||||||
This option will display the complete list of canned formulas that can be run including
|
This option will display the complete list of canned formulas that can be run including
|
||||||
there names which can be input to the
|
their names which can be input to the
|
||||||
.Fl e
|
.Fl e
|
||||||
option.
|
option.
|
||||||
.It Fl e Ar name
|
.It Fl e Ar name
|
||||||
@ -83,22 +85,28 @@ option the test will not execute but instead give you a small description
|
|||||||
of the test that would run.
|
of the test that would run.
|
||||||
.It Fl T
|
.It Fl T
|
||||||
This option will execute a test of every PMC to validate that they are working
|
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
|
on your system.
|
||||||
are the kernel hwpmc driver needs updating with new PMC information.
|
If a PMC does not show up in this test chances
|
||||||
|
are the kernel
|
||||||
|
.Xr hwpmc 4
|
||||||
|
driver needs updating with new PMC information.
|
||||||
.It Fl m Ar num
|
.It Fl m Ar num
|
||||||
This option can restrict the number of one second samples that will
|
This option can restrict the number of one second samples that will
|
||||||
be collected by your system when running a test (it bounds the
|
be collected by your system when running a test (it bounds the
|
||||||
time the test will run). Without this option the test will run
|
time the test will run).
|
||||||
|
Without this option the test will run
|
||||||
for 1024 seconds or until the user types ctrl-c.
|
for 1024 seconds or until the user types ctrl-c.
|
||||||
.It Fl v
|
.It Fl v
|
||||||
The verbose option adds debugging output to the command.
|
The verbose option adds debugging output to the command.
|
||||||
.It Fl E Ar expression
|
.It Fl E Ar expression
|
||||||
This option can be used by those that have there own ideas
|
This option can be used by those that have their own ideas
|
||||||
on what formulas that you want to run. The expression given to
|
on what formulas they want to run.
|
||||||
the
|
The expression given to the
|
||||||
.Fl E
|
.Fl E
|
||||||
option is a "formula". The formula can declare directly the PMC's by name
|
option is a "formula".
|
||||||
or you can use an abbreviation %NNN. To find out the abbreviations
|
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
|
on your system you may run the
|
||||||
.Fl L
|
.Fl L
|
||||||
option.
|
option.
|
||||||
@ -107,21 +115,25 @@ An example of a formula of your own might be
|
|||||||
"FP_ASSIST.ANY / INST_RETIRED.ANY_P" or using the abbreviations on a
|
"FP_ASSIST.ANY / INST_RETIRED.ANY_P" or using the abbreviations on a
|
||||||
Haswell machine you would type
|
Haswell machine you would type
|
||||||
.Fl E
|
.Fl E
|
||||||
" %176 / %150". You must have spaces between each entry and
|
" %176 / %150".
|
||||||
you may use paraenthisis to prioritize the operators. Add (+), Subtract (-),
|
You must have spaces between each entry and
|
||||||
Divide (/) and Multiplication (*) are supported. You may also introduce
|
you may use parentheses to prioritize the operators.
|
||||||
constant numbers as well. So for example you can do a standard efficency
|
Add (+), Subtract (-),
|
||||||
|
Divide (/) and Multiplication (*) are supported.
|
||||||
|
You may also introduce
|
||||||
|
constant numbers.
|
||||||
|
For example you can do a standard efficency
|
||||||
test like
|
test like
|
||||||
.FL E
|
.Fl E
|
||||||
"UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD_P)".
|
"UOPS_RETIRED.RETIRE_SLOTS / (4 * CPU_CLK_UNHALTED.THREAD_P)".
|
||||||
|
|
||||||
.It Fl L
|
.It Fl L
|
||||||
This option will list all known PMC's and there abbreviation (%NNN).
|
This option will list all known PMCs and their abbreviation (%NNN).
|
||||||
|
.El
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr pmc 3 ,
|
.Xr pmc 3 ,
|
||||||
.Xr pmclog 3 ,
|
.Xr pmclog 3 ,
|
||||||
.Xr hwpmc 4 ,
|
.Xr hwpmc 4 ,
|
||||||
.Xr pmcstat 8 ,
|
.Xr pmcstat 8
|
||||||
.Sh HISTORY
|
.Sh HISTORY
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
|
Loading…
Reference in New Issue
Block a user