Re: 7.52 second kernel compile

Andreas Ferber (aferber@techfak.uni-bielefeld.de)
Tue, 19 Mar 2002 02:37:55 +0100


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/