From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [patch 21/21] slab defrag: Obsolete SLAB Date: Thu, 15 May 2008 23:30:53 +0300 Message-ID: <482C9D7D.9050404@cs.helsinki.fi> References: <1210822002.3177.121.camel@ymzhang> <20080515174953.GN9921@parisc-linux.org> <20080515181356.GP9921@parisc-linux.org> <20080515185130.GR9921@parisc-linux.org> <20080515192959.GS9921@parisc-linux.org> <20080515201413.GT9921@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Christoph Lameter , "Zhang, Yanmin" , Andi Kleen , KOSAKI Motohiro , Rik van Riel , akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Mel Gorman , mpm@selenic.com To: Matthew Wilcox Return-path: In-Reply-To: <20080515201413.GT9921@parisc-linux.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Matthew Wilcox wrote: > This is rather interesting. Since Christoph refuses to, here's my > results with 8f40f67, first with slab: > > Now, change the config to slub: [snip] > and we get slightly better results: > > willy@piggy:~$ sudo ./io-gen -d /dev/sda -j4 > CPU 0 completed 1000000 ops in 45.848 seconds; 21811 ops per second > CPU 2 completed 1000000 ops in 50.789 seconds; 19689 ops per second > CPU 3 completed 1000000 ops in 55.876 seconds; 17896 ops per second > CPU 1 completed 1000000 ops in 56.941 seconds; 17562 ops per second > willy@piggy:~$ sudo taskset -p 1 1001 > pid 1001's current affinity mask: f > pid 1001's new affinity mask: 1 > willy@piggy:~$ sudo ./io-gen -d /dev/sda -j4 > CPU 2 completed 1000000 ops in 45.713 seconds; 21875 ops per second > CPU 0 completed 1000000 ops in 47.020 seconds; 21267 ops per second > CPU 3 completed 1000000 ops in 58.692 seconds; 17038 ops per second > CPU 1 completed 1000000 ops in 60.389 seconds; 16559 ops per second Slabinfo -A -r before and after the run would be nice (you CONFIG_SLUB_STATS and Documentation/vm/slabinfo.c for the latter). A separate oprofile would be nice as well. Thanks! Pekka