Re: cache hit/miss detection

From: Micah (fanmail_at_micah-wedemeyer.net)
Date: 09/18/03


Date: Wed, 17 Sep 2003 22:52:21 -0400


"Kasper Dupont" <kasperd@daimi.au.dk> wrote in message
news:3F68E7BF.9EBCD226@daimi.au.dk...
> Micah wrote:
> >
> > Does anyone know of any tools that can determine what the CPU cache
hit/miss
> > statistics are for a certain process? Especially nice would be a tool
that
> > works on a multi-processor machine.
>
> I think there does exist a program with some relation to valgrind, that
will
> simulate a run of your program, and report very accurate and detailed
cache
> statistics. If you need to meassure an actual running program, you are
going
> to need help from the CPU. AFAIK all recent Intel CPUs provide some
statistics
> for purposes like this, I don't know the details or any program utilizing
it
> though.
>
> --
> Kasper Dupont -- der bruger for meget tid paa usenet.
> For sending spam use mailto:aaarep@daimi.au.dk
> Their business was zero and it was shrinking.

Can cachegrind (the part of valgrind for cache info) simulate mutliple CPUs?
That is really important for this benchmarking project.

Thanks,
Micah



Relevant Pages