From: Glauber Costa <glommer@redhat.com>
To: Dor Laor <dlaor@redhat.com>
Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] augment info migrate with page status
Date: Thu, 21 May 2009 10:52:18 -0300 [thread overview]
Message-ID: <20090521135218.GA24584@poweredge.glommer> (raw)
In-Reply-To: <4A152B51.2080600@redhat.com>
>
> It would be nice to zero pages_transferred each migration operation.
Yeah, that makes sense.
> ram_save_threshold is really to small. From Uri's past measurements, as
> value of 50 is a
> better suite.
Every value is arbitrary in essence. If after this patches we still see need
to change that, I'd say change it to a percentage of guest total memory,
or even better, the average number of pages that were transferred per iteration
> Alternately it can be parametrized by the monitor command.
With this, I completely disagree. Let us say we switch in the future to a
new migration algorithm that does not rely on any treshold at all. What
should we do with this parameter?
This is totally implementation dependant, and should not be exposed.
the bandwidth is what we want to control externally.
>
> In general there is small drawback in the current approach:
> The way bandwidth is capped, iirc, in every second you start consuming
> migration
> bandwidth. If the bandwidth allocation was consumed after 100msec,
> you'll wait 900msec.
> In this period, mgmt app reading the ram_save_remaining will notice that
> migration does
> not progress and might either increase bandwidth or stop the guest.
So what? If one second is too much, have them to use 500ms. Also, if the bandwidth
was consumed after 100 ms and the number of remaining pages _increased_ when mgmt
tool read it again, this is the most genuine case of need for increasing bandwidth
in the whole universe.
Or have them use a better algorithm altogether.
The point is, this is not qemu's problem.
next prev parent reply other threads:[~2009-05-21 13:47 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-20 23:20 [Qemu-devel] [PATCH] augment info migrate with page status Glauber Costa
2009-05-21 10:22 ` Dor Laor
2009-05-21 13:14 ` Anthony Liguori
2009-05-21 13:52 ` Glauber Costa [this message]
2009-05-21 14:40 ` Avi Kivity
2009-05-21 14:05 ` Daniel P. Berrange
2009-05-21 14:20 ` Glauber Costa
2009-05-21 14:58 ` Avi Kivity
2009-05-21 15:04 ` Daniel P. Berrange
2009-05-21 16:07 ` Glauber Costa
2009-05-21 23:41 ` [Qemu-devel] QEMU Official OS Support PAge Natalia Portillo
-- strict thread matches above, loose matches on Subject: below --
2009-05-21 18:26 [Qemu-devel] [PATCH] augment info migrate with page status Glauber Costa
2009-05-21 19:17 Glauber Costa
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=20090521135218.GA24584@poweredge.glommer \
--to=glommer@redhat.com \
--cc=aliguori@us.ibm.com \
--cc=dlaor@redhat.com \
--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).