Re: [PATCH] x86: change the default cache size to 64 bytes

From: Arjan van de Ven
Date: Tue Jan 13 2009 - 04:22:19 EST


On Mon, 12 Jan 2009 23:44:28 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

> >From 632c5045d6827a3d044b6eb216d0e5597b25d468 Mon Sep 17 00:00:00
> >2001
> From: Ingo Molnar <mingo@xxxxxxx>
> Date: Mon, 12 Jan 2009 23:37:16 +0100
> Subject: [PATCH] x86: change the default cache size to 64 bytes
>
> Right now the generic cacheline size is 128 bytes - that is wasteful
> when structures are aligned, as all modern x86 CPUs have an
> (effective) cacheline sizes of 64 bytes.
>
> It was set to 128 bytes due to some cacheline aliasing problems on
> older P4 systems, but those are many years old and we dont optimize
> for them anymore. (They'll still get the 128 bytes cacheline size if
> the kernel is specifically built for Pentium 4)
>
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Acked-by: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/