Re: 7.52 second kernel compile

Dave Jones
2002-03-19T00:57:47Z

On Tue, Mar 19, 2002 at 10:52:40AM +1100, Paul Mackerras wrote:
> The G4 has 4 performance monitor counters that you can set up to
> measure things like ITLB misses, DTLB misses, cycles spent doing
> tablewalks for ITLB misses and DTLB misses, etc.
> What I need to do now is
> to put some better infrastructure for using those counters in place
> and try your program using those counters instead of the timebase.

Sounds like a good candidate for the first non-x86 port of oprofile[1].
Write the kernel part, and all the nice userspace tools come for free.
There are also a few other perfctr abstraction projects, which are
linked off the oprofile pages somewhere iirc.

[1] http://oprofile.sf.net

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs