Re: 7.52 second kernel compile

Andreas Ferber
2002-03-19T01:38:31Z

On Mon, Mar 18, 2002 at 04:20:31PM -0800, David S. Miller wrote:
>
> Or maybe the program is just flawed, and the interesting 1/8 pattern comes
> from something else altogether.
> I think the weird Athlon behavior has to do with the fact that
> you've made your little test program as much of a cache tester
> as a TLB tester :-)

Erm, you forgot COW semantics. The accesses to buffer are actually all
going to the same physical address. As CPU caches work on physical
addresses AFAIK (everything else would be just stupid ;-), there are
no cache misses (disregarding a few produced by IRQs/scheduling etc.).

Andreas
--
Andreas Ferber - dev/consulting GmbH - Bielefeld, FRG
---------------------------------------------------------
+49 521 1365800 - af@devcon.net - www.devcon.net