From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753056Ab1HHUEu (ORCPT ); Mon, 8 Aug 2011 16:04:50 -0400 Received: from smtp-out.google.com ([216.239.44.51]:57881 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917Ab1HHUEt (ORCPT ); Mon, 8 Aug 2011 16:04:49 -0400 DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:date:from:x-x-sender:to:cc:subject: in-reply-to:message-id:references:user-agent:mime-version:content-type:x-system-of-record; b=IMRHH3zvIHGNrBF9xvcVpEEvFZbTFIXXV1gPK76lgGiV6v7YbyfeqZKs/7W2ISsvB /FSAq7Ffld+s04qqCH/HA== Date: Mon, 8 Aug 2011 13:04:42 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Christoph Lameter cc: Pekka Enberg , Linus Torvalds , Andrew Morton , hughd@google.com, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [GIT PULL] Lockless SLUB slowpaths for v3.1-rc1 In-Reply-To: Message-ID: References: <1312145146.24862.97.camel@jaguar> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.