From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759036AbYLLJnT (ORCPT ); Fri, 12 Dec 2008 04:43:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751586AbYLLJnG (ORCPT ); Fri, 12 Dec 2008 04:43:06 -0500 Received: from ns2.suse.de ([195.135.220.15]:46532 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbYLLJnE (ORCPT ); Fri, 12 Dec 2008 04:43:04 -0500 Date: Fri, 12 Dec 2008 10:43:02 +0100 From: Nick Piggin To: Eric Dumazet Cc: Linux Kernel Mailing List , Linux Memory Management List Subject: Re: [rfc][patch] SLQB slab allocator Message-ID: <20081212094302.GC14225@wotan.suse.de> References: <20081212002518.GH8294@wotan.suse.de> <4941F8D2.4060807@cosmosbay.com> <20081212055051.GE15804@wotan.suse.de> <49420DAB.7090604@cosmosbay.com> <20081212072355.GG15804@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081212072355.GG15804@wotan.suse.de> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 12, 2008 at 08:23:55AM +0100, Nick Piggin wrote: > Anyway, I'll see if I can work out why SLQB is slower. Do you have > socketallocbench online? Hmph, it seems to be in the noise (I'm testing with an AMD system though). Some boots SLAB is faster, other boots, SLQB is. Could be a matter of luck in cacheline placement maybe? I think this benchmark (after the slab rcu patch) will be pretty trivial for any slab allocator because it will basically be each CPU allocating then freeing an object.