[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block: switch from g_slice allocator to malloc
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] block: switch from g_slice allocator to malloc |
Date: |
Fri, 9 Oct 2015 12:29:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
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