Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the performance counters? 1

Status
Not open for further replies.

dafnas

Programmer
Feb 21, 2002
3
IL
Hi, Maybe someone can answer this question, I really need to know the answer....
I need to measure D-Cache and E-Cache miss rate on the UltraSparc II and I saw there is a command "cputrack" that can do that.
My question is:
running the command (for example) to measure E-Cache miss rate will be -
cputrack -fev -c EC_ref,EC_hit <command>
The output of this command is many lines, where each line contains the number of cache ref/hit at a tick.
But -what do I do to get the result I want(total miss ratio)? Do I sum all the lines together or do I just look at the final line (where the word &quot;exit&quot; is).

Thanks you very much
Dafna
 
OK, Feb 21 2002 (long time ago...)
most probably you solved that problem so this answer is for the other ones who suffer on the same thing.
Try &quot;har&quot; instead of &quot;cputrack&quot;.
It's available on
By the way, can you tell me which counters are available on Fujitsu machines?
&quot;cputrack -h&quot; tells about strange counter names &quot;group0, group1...&quot;
Even painful browsing through 60 pages of high tech stuff (SPARC documentation) didn't reveal their meaning and why any(!) other counter cannot be measured.

Michael.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top