From: Eric Blake <eblake@redhat.com>
To: Jitendra Kolhe <jitendra.kolhe@hpe.com>,
qemu-devel@nongnu.org, dgilbert@redhat.com
Cc: simhan@hpe.com, mohan_parthasarathy@hpe.com
Subject: Re: [Qemu-devel] [PATCH v1] migration: skip sending ram pages released by virtio-balloon driver.
Date: Mon, 7 Mar 2016 10:05:14 -0700 [thread overview]
Message-ID: <56DDB4CA.6080904@redhat.com> (raw)
In-Reply-To: <1457082167-12254-1-git-send-email-jitendra.kolhe@hpe.com>
[-- Attachment #1: Type: text/plain, Size: 1775 bytes --]
On 03/04/2016 02:02 AM, Jitendra Kolhe wrote:
> While measuring live migration performance for qemu/kvm guest, it
> was observed that the qemu doesn’t maintain any intelligence for the
> guest ram pages which are release by the guest balloon driver and
> treat such pages as any other normal guest ram pages. This has direct
> impact on overall migration time for the guest which has released
> (ballooned out) memory to the host.
>
> Signed-off-by: Jitendra Kolhe <jitendra.kolhe@hpe.com>
> ---
> balloon.c | 253 ++++++++++++++++++++++++++++++++++++-
> exec.c | 3 +
> hw/virtio/virtio-balloon.c | 35 ++++-
> include/hw/virtio/virtio-balloon.h | 1 +
> include/migration/migration.h | 1 +
> include/sysemu/balloon.h | 15 ++-
> migration/migration.c | 9 ++
> migration/ram.c | 23 +++-
> qapi-schema.json | 5 +-
> 9 files changed, 337 insertions(+), 8 deletions(-)
>
> +++ b/qapi-schema.json
> @@ -544,11 +544,14 @@
> # been migrated, pulling the remaining pages along as needed. NOTE: If
> # the migration fails during postcopy the VM will fail. (since 2.5)
> #
> +# @skip-balloon: Skip scaning ram pages released by virtio-balloon driver.
s/scaning/scanning/
> +# (since 2.5)
You've missed 2.5. In fact, this is borderline between new feature and
bug fix, so you may have even missed 2.6 since soft freeze has already
passed, in which case this should read 2.7.
Does this need to be an option, or should it be unconditionally enabled?
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2016-03-07 17:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 9:02 [Qemu-devel] [PATCH v1] migration: skip sending ram pages released by virtio-balloon driver Jitendra Kolhe
2016-03-07 17:05 ` Eric Blake [this message]
2016-03-10 9:49 ` Roman Kagan
2016-03-11 5:59 ` Jitendra Kolhe
2016-03-11 7:25 ` Li, Liang Z
2016-03-11 10:20 ` Jitendra Kolhe
2016-03-11 10:54 ` Li, Liang Z
2016-03-11 14:39 ` Jitendra Kolhe
2016-03-15 13:20 ` Jitendra Kolhe
2016-03-18 11:27 ` Roman Kagan
2016-03-22 5:47 ` Jitendra Kolhe
-- strict thread matches above, loose matches on Subject: below --
2016-03-10 8:57 Jitendra Kolhe
2016-03-10 17:27 ` Eric Blake
2016-03-11 2:20 ` Jitendra Kolhe
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=56DDB4CA.6080904@redhat.com \
--to=eblake@redhat.com \
--cc=dgilbert@redhat.com \
--cc=jitendra.kolhe@hpe.com \
--cc=mohan_parthasarathy@hpe.com \
--cc=qemu-devel@nongnu.org \
--cc=simhan@hpe.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).