From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 7 Dec 2005 10:24:58 -0800 (PST) From: Christoph Lameter Subject: Re: [RFC 1/3] Framework for accurate node based statistics In-Reply-To: <9353.1133934652@kao2.melbourne.sgi.com> Message-ID: References: <9353.1133934652@kao2.melbourne.sgi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Keith Owens Cc: Andi Kleen , linux-kernel@vger.kernel.org, Hugh Dickins , Nick Piggin , linux-mm@kvack.org, linux-ia64@vger.kernel.org, Marcelo Tosatti List-ID: On Wed, 7 Dec 2005, Keith Owens wrote: > On Tue, 6 Dec 2005 14:52:33 -0800 (PST), > Christoph Lameter wrote: > >+DEFINE_PER_CPU(local_t [MAX_NUMNODES][NR_STAT_ITEMS], vm_stat_diff); > > How big is that array going to get? The total per cpu data area is > limited to 64K on IA64 and we already use at least 34K. Maximum around 1k nodes and I guess we may end up with 16 counters: 1024*16*8 = 131k ? -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org