Re: PATCH 2.3.26: kmalloc GFP_ZERO

Andrea Arcangeli (andrea@suse.de)
Tue, 9 Nov 1999 20:55:15 +0100 (CET)


On Tue, 9 Nov 1999, David S. Miller wrote:

> From: Jes Sorensen <Jes.Sorensen@cern.ch>
> Date: 09 Nov 1999 18:00:49 +0100
>
> now did you in fact see a 20% speedup on kernel compiles? I for
> some reason strongly doubt that.
>
>I don't, it makes perfect sense since gcc is heavy on anonymous page
>usage.

Are you still talking about a cache of zeroed pages? Looks a bad idea to
me.

It can only improve latency after some idle time. If your CPU are under
100% of load for a long time you'll have to spend the memset(0) time
anyway but in another place and with an additional scheduler cost. Also
the idle task will be less fast in rescheduling itself.

Andrea

-
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/