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 ESMTP id 5C6136B0169 for ; Mon, 8 Aug 2011 16:04:54 -0400 (EDT) Received: from wpaz17.hot.corp.google.com (wpaz17.hot.corp.google.com [172.24.198.81]) by smtp-out.google.com with ESMTP id p78K4mVV010157 for ; Mon, 8 Aug 2011 13:04:48 -0700 Received: from pzk4 (pzk4.prod.google.com [10.243.19.132]) by wpaz17.hot.corp.google.com with ESMTP id p78K4X9e030955 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 8 Aug 2011 13:04:46 -0700 Received: by pzk4 with SMTP id 4so3061133pzk.0 for ; Mon, 08 Aug 2011 13:04:44 -0700 (PDT) Date: Mon, 8 Aug 2011 13:04:42 -0700 (PDT) From: David Rientjes Subject: Re: [GIT PULL] Lockless SLUB slowpaths for v3.1-rc1 In-Reply-To: Message-ID: References: <1312145146.24862.97.camel@jaguar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Pekka Enberg , Linus Torvalds , Andrew Morton , hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org On Wed, 3 Aug 2011, Christoph Lameter wrote: > > The netperf benchmark isn't representative of a heavy slab consuming > > workload, I routinely run jobs on these machines that use 20 times the > > amount of slab. From what I saw in the earlier posting of the per-cpu > > partial list patch, the min_partial value is set to half of what it was > > previously as a per-node partial list. Since these are 16-core, 4 node > > systems, that would mean that after a kmem_cache_shrink() on a cache that > > leaves empty slab on the partial lists that we've doubled the memory for > > slub's partial lists systemwide. > > Cutting down the potential number of empty slabs that we might possible > keep around because we have no partial slabs per node increases memory > usage? > You halved the number of min_partial, but there are 16 partial lists on these machines because they are per-cpu instead of 4 partial lists when they were per-node. -- 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/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org