Re: [PATCH] Prezeroing V8

From: Andrew Morton
Date: Thu Mar 17 2005 - 19:00:53 EST


Christoph Lameter <clameter@xxxxxxx> wrote:
>
> On Thu, 17 Mar 2005, Andrew Morton wrote:
>
> > > > It's hard to know what to think about this without benchmarking numbers.
>
> http://oss.sgi.com/projects/page_fault_performance/

Oh no, not that page again ;)

Seems to say that prezeroing makes negligible difference to kernel builds,
but speeds up a big malloc+memset by 3x to 4x, yes?

Are there any real-worldish workloads which show an appreciable benefit?

The large speedup for a big memset seems odd - I assume it's simply
transferring CPU load from the user's process over to kscrubd. Or is it
the fancy page-zeroing hardware? How do we differentiate the two?

Are there any workloads which are seeing a benefit on a CPU which doesn't
have the zeroing hardware?

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