Re: [PATCH] 3 performance tweaks

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu May 25 2000 - 12:55:54 EST


> > Though it works well, I found a flaw which nullify CPU cache
> > effectiveness.
> >
> Is there a way to measure the cache trashing, perhaps with some of the
> CPU performance counters?

You can use the profiling registers to count cache misses, reloads and the
like. It is in the PII docs and you might well find the perfctr patch also
very hand when doing this

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:14 EST