qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] block: switch from g_slice allocator to malloc
Date: Fri, 9 Oct 2015 12:29:34 +0200	[thread overview]
Message-ID: <5617970E.5010308@redhat.com> (raw)
In-Reply-To: <20151009081504.GA3956@noname.redhat.com>



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

      reply	other threads:[~2015-10-09 10:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 11:04 [Qemu-devel] [PATCH] block: switch from g_slice allocator to malloc Paolo Bonzini
2015-10-08  8:54 ` Stefan Hajnoczi
2015-10-08  9:41   ` [Qemu-devel] [Qemu-block] " Kevin Wolf
2015-10-09  7:49     ` [Qemu-devel] " Paolo Bonzini
2015-10-09  8:15       ` Kevin Wolf
2015-10-09 10:29         ` Paolo Bonzini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5617970E.5010308@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).