lkml.org 
[lkml]   [2009]   [Jan]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86: change the default cache size to 64 bytes
On Mon, 12 Jan 2009 23:44:28 +0100
Ingo Molnar <mingo@elte.hu> wrote:

> >From 632c5045d6827a3d044b6eb216d0e5597b25d468 Mon Sep 17 00:00:00
> >2001
> From: Ingo Molnar <mingo@elte.hu>
> 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@elte.hu>

Acked-by: Arjan van de Ven <arjan@linux.intel.com>


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org


\
 
 \ /
  Last update: 2009-01-13 10:25    [W:0.044 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site