qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Thomas Knauth <thomas.knauth@gmx.de>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] kvm suspend performance
Date: Wed, 20 Mar 2013 09:11:30 +0100	[thread overview]
Message-ID: <20130320081130.GA5953@stefanha-thinkpad.muc.redhat.com> (raw)
In-Reply-To: <CABhLV00z4zBi9o0pCbn+7Ovh6Zzt5kurz++X1DHJWUHfQ=U0_A@mail.gmail.com>

On Tue, Mar 19, 2013 at 05:24:59PM +0100, Thomas Knauth wrote:
> lately I've been playing around with qemu's/kvm's suspend (to disk) and
> resume. My initial expectation was that both operations are I/O bound. So
> it surprised me to see that suspend to disk seems to be CPU-bound.
> Suspending a VM with 1.5 GB memory takes 55 seconds. This works out to less
> than 30 MB/s. Again, I was expecting to be I/O bound and reach 100 MB/s
> (and more). I am talking to qemu/kvm via libvirt. Not sure if this matters.
> 
> I am looking for a hint what the issue could be here. Hopefully with
> pointers to the (offending) code.

Hi Thomas,
Please provide more details about the issue:

Which QEMU or libvirt command are you using to suspend the guest to
disk?

Why do you say it is CPU-bound?  Did you use a tool like vmstat or
simply because it does 30 MB/s instead of the expected 100 MB/s?

Which versions of libvirt and QEMU are you using?

Stefan

  reply	other threads:[~2013-03-20  8:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 16:24 [Qemu-devel] kvm suspend performance Thomas Knauth
2013-03-20  8:11 ` Stefan Hajnoczi [this message]
2013-03-20 22:44   ` Thomas Knauth
2013-03-20 23:06     ` Eric Blake
2013-03-23 12:42       ` Thomas Knauth
2013-03-25 15:05         ` Eric Blake

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=20130320081130.GA5953@stefanha-thinkpad.muc.redhat.com \
    --to=stefanha@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=thomas.knauth@gmx.de \
    /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).