[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to demonstrate cache-hit improvements (in sysfs callbacks) ?



On Saturday 02 September 2006 00:19, Jim Cromie wrote:
> hi folks,
>
> over on lm-sensors, we have a discussion about the merits of
> 2D-combo-callbacks vs 1D-callbacks.  Id like advice on how to measure
> the cache effects of several variations ..
> [....]
> But, rather than arguing from what I 'know', Id like to learn some stuff
> I dont know.
> SOOOO
>
> how would I go about measuring this ?
> It seems that this has generic value, and Im happy to put it up on 'our'
> ;-) wiki
>

Hi Jim,

I've never tried it, but if your processor supports oprofile and has a set of 
events which can measure cache events, I think it could serve you well. 

tavi

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/