Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754863AbYADUha (ORCPT ); Fri, 4 Jan 2008 15:37:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753438AbYADUhX (ORCPT ); Fri, 4 Jan 2008 15:37:23 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:50700 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752230AbYADUhW (ORCPT ); Fri, 4 Jan 2008 15:37:22 -0500 Date: Fri, 4 Jan 2008 12:37:20 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Peter Zijlstra cc: Andi Kleen , Matt Mackall , Ingo Molnar , Linus Torvalds , Pekka Enberg , Hugh Dickins , Linux Kernel Mailing List , William Lee Irwin III Subject: Re: [PATCH] procfs: provide slub's /proc/slabinfo In-Reply-To: <1199438251.7143.2.camel@twins> Message-ID: References: <84144f020801021109v78e06c6k10d26af0e330fc85@mail.gmail.com> <1199314218.4497.109.camel@cinder.waste.org> <20080103085239.GA10813@elte.hu> <1199378818.8274.25.camel@cinder.waste.org> <20080104024506.GA4665@one.firstfloor.org> <1199438251.7143.2.camel@twins> 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 Content-Length: 915 Lines: 21 On Fri, 4 Jan 2008, Peter Zijlstra wrote: > I remember wli trying to work out a series that had minimal > fragmentation. IIRC he was mixing a fibonaci series with the power of > two series. > > Bill, do you remember getting anywhere? I tried various approaches to reduce the overhead that power of two slab sizes cause in SLUB during the initial comparison of memory use with SLOB. This involved creating slabs in 32 byte increments and trying to add a few additional extra slabs in between the power of two sizes. None of that led to convincing results. I found that the SLAB scheme with power of two caches and two extra ones (96 and 192 bytes) was optimal. -- 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/