Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758317Ab1ELRk5 (ORCPT ); Thu, 12 May 2011 13:40:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30998 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758195Ab1ELRkz (ORCPT ); Thu, 12 May 2011 13:40:55 -0400 Date: Thu, 12 May 2011 19:40:07 +0200 From: Andrea Arcangeli To: Christoph Lameter Cc: James Bottomley , Dave Jones , Mel Gorman , Andrew Morton , Colin King , Raghavendra D Prabhu , Jan Kara , Chris Mason , Pekka Enberg , Rik van Riel , Johannes Weiner , linux-fsdevel , linux-mm , linux-kernel , linux-ext4 Subject: Re: [PATCH 3/3] mm: slub: Default slub_max_order to 0 Message-ID: <20110512174007.GK11579@random.random> References: <1305127773-10570-1-git-send-email-mgorman@suse.de> <1305127773-10570-4-git-send-email-mgorman@suse.de> <1305213359.2575.46.camel@mulgrave.site> <1305214993.2575.50.camel@mulgrave.site> <20110512154649.GB4559@redhat.com> <1305216023.2575.54.camel@mulgrave.site> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 27 On Thu, May 12, 2011 at 11:27:04AM -0500, Christoph Lameter wrote: > On Thu, 12 May 2011, James Bottomley wrote: > > > However, the fact remains that this seems to be a slub problem and it > > needs fixing. > > Why are you so fixed on slub in these matters? Its an key component but > there is a high interaction with other subsystems. There was no recent > change in slub that changed the order of allocations. There were changes > affecting the reclaim logic. Slub has been working just fine with the > existing allocation schemes for a long time. It should work just fine when compaction is enabled. The COMPACTION=n case would also work decent if we eliminate the lumpy reclaim. Lumpy reclaim tells the VM to ignore all young bits in the pagetables and take everything down in order to generate the order 3 page that SLUB asks. You can't expect decent behavior the moment you take everything down regardless of referenced bits on page and young bits in pte. I doubt it's new issue, but lumpy may have become more or less aggressive over time. Good thing, lumpy is eliminated (basically at runtime, not compile time) by enabling compaction. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/