From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail138.messagelabs.com (mail138.messagelabs.com [216.82.249.35]) by kanga.kvack.org (Postfix) with SMTP id DA5BD6B0234 for ; Fri, 26 Mar 2010 15:36:44 -0400 (EDT) Date: Fri, 26 Mar 2010 20:34:31 +0100 From: Andrea Arcangeli Subject: Re: [PATCH 00 of 41] Transparent Hugepage Support #15 Message-ID: <20100326193431.GF5825@random.random> References: <20100326182311.GD5825@random.random> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org To: Christoph Lameter Cc: linux-mm@kvack.org, Andrew Morton , Marcelo Tosatti , Adam Litke , Avi Kivity , Izik Eidus , Hugh Dickins , Nick Piggin , Rik van Riel , Mel Gorman , Dave Hansen , Benjamin Herrenschmidt , Ingo Molnar , Mike Travis , KAMEZAWA Hiroyuki , Chris Wright , bpicco@redhat.com, KOSAKI Motohiro , Balbir Singh , Arnd Bergmann , "Michael S. Tsirkin" , Peter Zijlstra , Johannes Weiner List-ID: On Fri, Mar 26, 2010 at 01:44:23PM -0500, Christoph Lameter wrote: > TLB pressure. Huge pages would accellerate SLUB since more objects can be > served from the same page than before. Agreed. I see it fallbacks to 4k instead of gradually going down, but that was my point, doing the fallback and entry alloc_pages N without internal buddy support would be fairly inefficient. This is why is suggest this logic to be outside of slab/slub, in theory even slab could be a bit faster thanks to large TLB on newly allocated slab objects. I hope Mel's code already takes care of all of this. -- 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