From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754095Ab1HCOJ4 (ORCPT ); Wed, 3 Aug 2011 10:09:56 -0400 Received: from smtp105.prem.mail.ac4.yahoo.com ([76.13.13.44]:38228 "HELO smtp105.prem.mail.ac4.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1753650Ab1HCOJw (ORCPT ); Wed, 3 Aug 2011 10:09:52 -0400 X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: W5eDuNIVM1mh3LP1YwrsMr5kbQx9d0vk6iRgvffNHQNNnjS VJSXYAsE1XvLI028XKhexoRNNdEOniSGSSIwlCH2muyAsgFeAv2kSOJCHFkX ru0Id2ogaR1TYYcEit4LTD58NTIPbQdPG3UxiyVHRXmbuQC9GMc.Wcf8HIDr BQmyYydeVN789oR5rXTMwr262toBzd8t0gmMmcHPr_FjaafKZIt5.xCHdHkG w8ucCC.annxtLMUn85BWtPta2gA9Aj5vfbEmhMsXAwYLzbYI3Y7S7qlQZEHn sMaqKVy8vilqQVVQjbjAYw3RyKgpDHSKJygGRhYCaZKVrt4.0 X-Yahoo-SMTP: _Dag8S.swBC1p4FJKLCXbs8NQzyse1SYSgnAbY0- Date: Wed, 3 Aug 2011 09:09:48 -0500 (CDT) From: Christoph Lameter X-X-Sender: cl@router.home To: David Rientjes 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 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2 Aug 2011, David Rientjes wrote: > On Tue, 2 Aug 2011, Christoph Lameter wrote: > > > The per cpu partial lists only add the need for more memory if other > > processors have to allocate new pages because they do not have enough > > partial slab pages to satisfy their needs. That can be tuned by a cap on > > objects. > > > > 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?