Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756761AbZKWKJ4 (ORCPT ); Mon, 23 Nov 2009 05:09:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756739AbZKWKJz (ORCPT ); Mon, 23 Nov 2009 05:09:55 -0500 Received: from mx3.mail.elte.hu ([157.181.1.138]:35855 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756733AbZKWKJx (ORCPT ); Mon, 23 Nov 2009 05:09:53 -0500 Date: Mon, 23 Nov 2009 11:09:35 +0100 From: Ingo Molnar To: Nick Piggin Cc: Arjan van de Ven , Jan Beulich , tglx@linutronix.de, linux-kernel@vger.kernel.org, hpa@zytor.com, Ravikiran Thirumalai , Shai Fultheim Subject: Re: [PATCH] x86: eliminate redundant/contradicting cache line size config options Message-ID: <20091123100935.GB3724@elte.hu> References: <4AFD5710020000780001F8F0@vpn.id2.novell.com> <20091116041407.GB5818@wotan.suse.de> <4B011677020000780001FD9D@vpn.id2.novell.com> <20091116105657.GE5818@wotan.suse.de> <20091119035640.GA18236@elte.hu> <20091118205240.11d3d660@infradead.org> <20091119081307.GA20534@wotan.suse.de> <20091119075958.2cba15f8@infradead.org> <20091123083459.GB11443@elte.hu> <20091123093535.GK5602@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091123093535.GK5602@wotan.suse.de> User-Agent: Mutt/1.5.20 (2009-08-17) X-ELTE-SpamScore: 0.0 X-ELTE-SpamLevel: X-ELTE-SpamCheck: no X-ELTE-SpamVersion: ELTE 2.0 X-ELTE-SpamCheck-Details: score=0.0 required=5.9 tests=none autolearn=no SpamAssassin version=3.2.5 _SUMMARY_ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1710 Lines: 44 * Nick Piggin wrote: > On Mon, Nov 23, 2009 at 09:34:59AM +0100, Ingo Molnar wrote: > > > > * Arjan van de Ven wrote: > > > > > On Thu, 19 Nov 2009 09:13:07 +0100 > > > Nick Piggin wrote: > > > > > > > > My other point was just this, but I don't care too much. But it is > > > > worded pretty negatively. The key here is that increasing the value > > > > too large tends to only cost a very small amount of size (and no > > > > increase in cacheline foot print, only RAM). > > > > > > 128 has a pretty significant impact on TPC-C benchmarks..... > > > it was the top issue until mainline fixed it to default to 64 > > > > Mind sending a patch that sets the default to 64 on NUMA too? > > This is what I mean. It should all be the same value, and that > value should depend on the architectures to support (rather than > NUMA or something like that). With the internode simply being > the exception for the exceptional vSMP architecture. > > > > P4 based NUMA boxes are ... a bad memory to be forgotten. > > I still think it would make sense to do this via Kconfig rather than > implicitly saying that we don't care about P4s even if the user has > apparently wanted to support them. That was what i meant. Right now if P4 is set in the .config we'll use a cache-shift of 7 - i.e. 128 byte cacheline size. What we want is to remove that NUMA dependent quirk - it doesnt make sense. Ingo -- 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/