From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail143.messagelabs.com (mail143.messagelabs.com [216.82.254.35]) by kanga.kvack.org (Postfix) with SMTP id D20346B0234 for ; Fri, 26 Mar 2010 15:56:22 -0400 (EDT) Date: Fri, 26 Mar 2010 14:55:18 -0500 (CDT) From: Christoph Lameter Subject: Re: [PATCH 00 of 41] Transparent Hugepage Support #15 In-Reply-To: <20100326193431.GF5825@random.random> Message-ID: References: <20100326182311.GD5825@random.random> <20100326193431.GF5825@random.random> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Andrea Arcangeli 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, 26 Mar 2010, Andrea Arcangeli wrote: > 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. SLAB's queueing system has the inevitable garbling effect on memory references. The larger the queues the larger that effect becomes. We already have internal buddy support in the page allocator. Mel's defrag approach groups them together. -- 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