From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897Ab1IOB0o (ORCPT ); Wed, 14 Sep 2011 21:26:44 -0400 Received: from mga02.intel.com ([134.134.136.20]:43492 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752412Ab1IOB0n (ORCPT ); Wed, 14 Sep 2011 21:26:43 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208";a="48563637" Subject: Re: [PATCH] slub Discard slab page only when node partials > minimum setting From: "Alex,Shi" To: Christoph Lameter Cc: Christoph Lameter , "penberg@kernel.org" , "linux-kernel@vger.kernel.org" , "Huang, Ying" , "Li, Shaohua" , "Chen, Tim C" , "linux-mm@kvack.org" In-Reply-To: References: <1315188460.31737.5.camel@debian> <1315357399.31737.49.camel@debian> <4E671E5C.7010405@cs.helsinki.fi> <6E3BC7F7C9A4BF4286DD4C043110F30B5D00DA333C@shsmsx502.ccr.corp.intel.com> <1315442639.31737.224.camel@debian> <1315557944.31737.782.camel@debian> <1315902583.31737.848.camel@debian> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Sep 2011 09:32:43 +0800 Message-ID: <1316050363.8425.483.camel@debian> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2011-09-13 at 23:04 +0800, Christoph Lameter wrote: > Sorry to be that late with a response but my email setup is screwed > up. > > I was more thinking about the number of slab pages in the partial > caches rather than the size of the objects itself being an issue. I > believe that was /sys/kernel/slab/*/cpu_partial. > > That setting could be tuned further before merging. An increase there > causes additional memory to be caught in the partial list. But it > reduces the node lock pressure further. > Yeah, I think so. The more cpu partial page, the quicker to getting slabs. Maybe it's better to considerate the system memory size to set them. Do you has some plan or suggestions on tunning?