From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx160.postini.com [74.125.245.160]) by kanga.kvack.org (Postfix) with SMTP id 6625C6B0032 for ; Wed, 4 Sep 2013 04:33:07 -0400 (EDT) Date: Wed, 4 Sep 2013 17:33:05 +0900 From: Joonsoo Kim Subject: Re: [PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab Message-ID: <20130904083305.GC16355@lge.com> References: <1378111138-30340-1-git-send-email-iamjoonsoo.kim@lge.com> <00000140e42dcd61-00e6cf6a-457c-48bd-8bf7-830133923564-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00000140e42dcd61-00e6cf6a-457c-48bd-8bf7-830133923564-000000@email.amazonses.com> Sender: owner-linux-mm@kvack.org List-ID: To: Christoph Lameter Cc: Pekka Enberg , Andrew Morton , David Rientjes , linux-mm@kvack.org, linux-kernel@vger.kernel.org On Tue, Sep 03, 2013 at 02:15:42PM +0000, Christoph Lameter wrote: > On Mon, 2 Sep 2013, Joonsoo Kim wrote: > > > This patchset implements byte sized indexes for the freelist of a slab. > > > > Currently, the freelist of a slab consist of unsigned int sized indexes. > > Most of slabs have less number of objects than 256, so much space is wasted. > > To reduce this overhead, this patchset implements byte sized indexes for > > the freelist of a slab. With it, we can save 3 bytes for each objects. > > > > This introduce one likely branch to functions used for setting/getting > > objects to/from the freelist, but we may get more benefits from > > this change. > > > > Below is some numbers of 'cat /proc/slabinfo' related to my previous posting > > and this patchset. > > You may also want to run some performance tests. The cache footprint > should also be reduced with this patchset and therefore performance should > be better. Yes, I did a hackbench test today, but I'm not ready for posting it. The performance is improved for my previous posting and futher improvement is founded by this patchset. Perhaps I will post it tomorrow. Thanks. -- 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/ . Don't email: email@kvack.org