Re: Code to monitor cache hit rate?



Matthew Clark wrote:

Paul Russell wrote:

I /think/ oprofile will let you capture data from the PMCs so that you
can get cache hit rates and a zillion other bits of performance data.


Thanks, Paul. I'll give that a try. I don't suppose oprofile can log
ECC
corrections in memory. I'm trying to stress this board using LTP and
catch as much performance data as I can.


I'm not sure about ECC correction data - this is probably taken care of in the memory controller but you may still be able to get at a suitable register.

Good luck,

Paul

P.S. On the 74xx if you really want to stress the board you'll want to keep the AltiVec units busy on the CPU - that can really drive up the power consumption and CPU core temperature etc.
.