Re: debian-trivia
On Sat, Jan 18, 2003 at 01:30:25PM +0100, Adrian 'Dagurashibanipal' von Bidder wrote:
> On Fri, 2003-01-17 at 22:45, David Dumortier wrote:
> > > Does anybody know: is there an easy way to monitor cache efficiency in
> > > Linux? (x86)
> >
> > If it exists, it must to laws of Heisenberg. Who know h value ?
>
> It would require hardware support - that's why I specifically asked
> about x86. I know intel hardware has *some* performance counters, I just
> don't know if it has 'cash miss'/'cash hit' counters that could be read.
> If you read those values seldom enough, I think the influence of the
> reading process could be relatively small.
Yes, it has some counters:
Pentium: MSR 0x00000011
Pentium Pro: MSR 0x00000186
Athlon: MSR 0xC0010000
more info on Ralf Brown's Interrupt List
<http://www.cs.cmu.edu/afs/cs.cmu.edu/user/ralf/pub/interrupt-list/>
regards,
guillem
Reply to: