From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail190.messagelabs.com (mail190.messagelabs.com [216.82.249.51]) by kanga.kvack.org (Postfix) with SMTP id 49A076B003D for ; Wed, 4 Feb 2009 11:11:50 -0500 (EST) Received: from localhost (smtp.ultrahosting.com [127.0.0.1]) by smtp.ultrahosting.com (Postfix) with ESMTP id B4B4882C285 for ; Wed, 4 Feb 2009 11:14:23 -0500 (EST) Received: from smtp.ultrahosting.com ([74.213.175.254]) by localhost (smtp.ultrahosting.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QYONuwstv8lf for ; Wed, 4 Feb 2009 11:14:19 -0500 (EST) Received: from qirst.com (unknown [74.213.171.31]) by smtp.ultrahosting.com (Postfix) with ESMTP id 0532A30400C for ; Wed, 4 Feb 2009 11:14:14 -0500 (EST) Date: Wed, 4 Feb 2009 10:49:46 -0500 (EST) From: Christoph Lameter Subject: Re: [patch] SLQB slab allocator (try 2) In-Reply-To: <200902032307.09025.nickpiggin@yahoo.com.au> Message-ID: References: <20090123154653.GA14517@wotan.suse.de> <200902032250.55968.nickpiggin@yahoo.com.au> <20090203120139.GM9840@csn.ul.ie> <200902032307.09025.nickpiggin@yahoo.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org To: Nick Piggin Cc: Mel Gorman , Pekka Enberg , Nick Piggin , Linux Memory Management List , Linux Kernel Mailing List , Andrew Morton , Lin Ming , "Zhang, Yanmin" List-ID: On Tue, 3 Feb 2009, Nick Piggin wrote: > > so the max_order is inclusive not exclusive. This will force the order-0 > > allocations I think you are looking for. > > Well, but in the case of really bad internal fragmentation in the page, > SLAB will do order-1 allocations even if it doesn't strictly need to. > Probably this isn't a huge deal, but I think if we do slub_min_objects=1, > then SLUB won't care about number of objects per page, and slub_max_order=1 > will mean it stops caring about fragmentation after order-1. I think. Which > would be pretty close to SLAB (depending on exactly how much fragmentation > it cares about). slub_max_order=0 will fore all possible slabs to order 0. This means that some slabs that SLAB will run as order 1 will be order 0 under SLUB. -- 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