qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <Laurent.Vivier@bull.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 0/4] qcow2: Improve cluster refcount update
Date: Fri, 07 Nov 2008 16:01:03 +0100	[thread overview]
Message-ID: <1226070063.4046.56.camel@frecb07144> (raw)
In-Reply-To: <491449C4.4070500@codemonkey.ws>

Le vendredi 07 novembre 2008 à 07:59 -0600, Anthony Liguori a écrit :
> Laurent Vivier wrote:
> > BTW, patch #1 is a clean-up (no change, only code move) and patch #2
> > doesn't align buffer, but try to minimise syscall (it improves
> > performance with O_DSYNC too).
> >
> > Ignore patch #3 and #4 if you dislike them.
> >   
> 
> But how useful is #1 and #2 if the buffers aren't aligned and we're 
> hitting the slow path?

In all cases #1 is totally useless as it is only cosmetic.

#2 improves performance without aligned buffers and with "cache" set to
default value.

I've installed ubuntu 8.04 desktop on an empty qcow2 file using qemu:

without patch: 16 minutes 54 seconds
with    patch: 15 minutes 44 seconds

Regards,
Laurent
-- 
------------------ Laurent.Vivier@bull.net  ------------------
"Tout ce qui est impossible reste à accomplir"    Jules Verne
"Things are only impossible until they're not" Jean-Luc Picard

  reply	other threads:[~2008-11-07 15:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-06 16:55 [Qemu-devel] [PATCH 0/4] qcow2: Improve cluster refcount update Laurent Vivier
2008-11-06 18:53 ` Anthony Liguori
2008-11-07  8:31   ` Kevin Wolf
2008-11-07  8:44   ` Laurent Vivier
2008-11-07 13:59     ` Anthony Liguori
2008-11-07 15:01       ` Laurent Vivier [this message]
2008-11-07 15:37         ` Anthony Liguori
2008-11-07 15:48           ` Laurent Vivier
2008-11-09 14:35           ` Avi Kivity
2008-11-09 16:32             ` Anthony Liguori
2008-11-10 20:15           ` Andreas Färber
2008-11-10 20:52             ` Anthony Liguori

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=1226070063.4046.56.camel@frecb07144 \
    --to=laurent.vivier@bull.net \
    --cc=qemu-devel@nongnu.org \
    /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).