From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49514) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkUw1-0000ZA-U8 for qemu-devel@nongnu.org; Fri, 09 Oct 2015 06:29:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkUw1-0004Ep-1s for qemu-devel@nongnu.org; Fri, 09 Oct 2015 06:29:57 -0400 References: <1443697481-13049-2-git-send-email-pbonzini@redhat.com> <20151008085444.GA29433@stefanha-thinkpad.redhat.com> <20151008094117.GB5379@noname.redhat.com> <561771A1.2060507@redhat.com> <20151009081504.GA3956@noname.redhat.com> From: Paolo Bonzini Message-ID: <5617970E.5010308@redhat.com> Date: Fri, 9 Oct 2015 12:29:34 +0200 MIME-Version: 1.0 In-Reply-To: <20151009081504.GA3956@noname.redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block: switch from g_slice allocator to malloc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, qemu-block@nongnu.org On 09/10/2015 10:15, Kevin Wolf wrote: > > I did it about six months ago. Sorry for not digging up the results > > when posting: > > > > baseline: 193 kiops > > tcmalloc: 202 kiops > > tcmalloc + G_SLICE=always-malloc: 210 kiops > > Thanks. Do you have numbers for g_malloc + G_SLICE=always-malloc, too? > Because I think that's our new default after this patch. tcmalloc must > still be enabled manually. No, but I remember that it was a wash. I don't recall exactly, but either g_slice was a bit faster at freeing and a bit slower at allocating, or it was the other way round. Paolo