Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760333AbYGPOrs (ORCPT ); Wed, 16 Jul 2008 10:47:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760235AbYGPOrg (ORCPT ); Wed, 16 Jul 2008 10:47:36 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:58462 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760229AbYGPOrf (ORCPT ); Wed, 16 Jul 2008 10:47:35 -0400 Message-ID: <487E09DB.3000205@linux-foundation.org> Date: Wed, 16 Jul 2008 09:46:51 -0500 From: Christoph Lameter User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Vegard Nossum CC: Richard Kennedy , penberg@cs.helsinki.fi, mpm@selenic.com, linux-mm , lkml , Mel Gorman Subject: Re: [PATCH][RFC] slub: increasing order reduces memory usage of some key caches References: <1216211371.3122.46.camel@castor.localdomain> <487DF5D4.9070101@linux-foundation.org> <1216216730.3122.60.camel@castor.localdomain> <487DFFBE.5050407@linux-foundation.org> <19f34abd0807160733q2594bd9fk268703d2aedc8254@mail.gmail.com> In-Reply-To: <19f34abd0807160733q2594bd9fk268703d2aedc8254@mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 717 Lines: 12 Vegard Nossum wrote: > Hm, I don't think so? I thought that those 1 and 2 were not orders, > but in fact the number of pages. Which seems correct, since now you > have 4096 / 208 = 19 :-) Makes sense. So the problem is that for some reason his kernel chose order 0 for dentries. Mine choose order 1 and everything was fine. Maybe related to the number of processors (my box has 8)? We added some logic in 2.6.26 to increase slab sizes if lots of processors are present. -- 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/