From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linux-foundation.org (smtp1.linux-foundation.org [140.211.169.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.linux-foundation.org", Issuer "CA Cert Signing Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 28876DDF65 for ; Thu, 31 Jul 2008 16:15:10 +1000 (EST) Date: Wed, 30 Jul 2008 23:14:28 -0700 From: Andrew Morton To: Nick Piggin Subject: Re: [RFC] [PATCH 0/5 V2] Huge page backed user-space stacks Message-Id: <20080730231428.a7bdcfa7.akpm@linux-foundation.org> In-Reply-To: <200807311604.14349.nickpiggin@yahoo.com.au> References: <20080730172317.GA14138@csn.ul.ie> <20080730103407.b110afc2.akpm@linux-foundation.org> <200807311604.14349.nickpiggin@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linux-mm@kvack.org, Mel Gorman , libhugetlbfs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Eric Munson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 31 Jul 2008 16:04:14 +1000 Nick Piggin wrote: > > Do we expect that this change will be replicated in other > > memory-intensive apps? (I do). > > Such as what? It would be nice to see some numbers with some HPC or java > or DBMS workload using this. Not that I dispute it will help some cases, > but 10% (or 20% for ppc) I guess is getting toward the best case, short > of a specifically written TLB thrasher. I didn't realise the STREAM is using vast amounts of automatic memory. I'd assumed that it was using sane amounts of stack, but the stack TLB slots were getting zapped by all the heap-memory activity. Oh well. I guess that effect is still there, but smaller. I agree that few real-world apps are likely to see gains of this order. More benchmarks, please :)