From: "Daniel P. Berrange" <berrange@redhat.com>
To: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-devel@nongnu.org, Juan Quintela <quintela@redhat.com>,
Amit Shah <amit.shah@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v1 0/6] A migration performance testing framework
Date: Mon, 9 May 2016 16:01:56 +0100 [thread overview]
Message-ID: <20160509150156.GC14467@redhat.com> (raw)
In-Reply-To: <20160505153945.GC11787@work-vm>
On Thu, May 05, 2016 at 04:39:45PM +0100, Dr. David Alan Gilbert wrote:
> * Daniel P. Berrange (berrange@redhat.com) wrote:
> > Some interesting things that I have observed with this
> > - Post-copy, by its very nature, obviously ensured that the migraton would
> > complete. While post-copy was running in pre-copy mode there was a somewhat
> > chaotic small impact on guest CPU performance, causing performance to
> > periodically oscillate between 400ms/GB and 800ms/GB. This is less than
> > the impact at the start of each migration iteration which was 1000ms/GB
> > in this test. There was also a massive penalty at time of switchover from
> > pre to post copy, as to be expected. The migration completed in post-copy
> > phase quite quickly though. For this workload, number of iterations in
> > pre-copy mode before switching to post-copy did not have much impact. I
> > expect a less extreme workload would have shown more interesting results
> > wrt number of iterations of pre-copy:
> >
> > https://berrange.fedorapeople.org/qemu-mig-test-2016-05-05/tcp-remote-8gb-4cpu/post-copy-iters.html
>
> Hmm; I hadn't actually expected that much performance difference during the
> precopy phase (it used to in earlier postcopy versions but the later versions
> should have got simpler). The number of iterations wouldn't make that much difference
> for your workload - because you're changing all of memory then we're going to have to
> resend it; if you had a workload where some of the memory was mostly static
> and some was rapidly changing, then one or two passes to transfer the mostly
> static data would show a benefit.
Ok, so I have repeated the tests with a standard kernel. I also measured
the exact same settings except without post-copy active, and also see
the exact same magnitude of jitter without post-copy. IOW, this is not
the fault of post-copy, its a factor whenever migration is running. What
is most interesting is that I see greater jitter in guest performance,
the higher the overall network transfer bandwidth is. ie with migration
throttled to 100mbs, the jitter is massively smaller than the jitter when
it is allowed to use 10gbs. Also, I only see the jitter on my 4 vCPU guest,
not the 1 vCPU guest.
The QEMU process is confined to only run on 4 pCPUs, so I believe the
cause of this jitter is simply a result of the migration thread in QEMU
stealing a little time from the vCPU threads.
IOW completely expected and there is no penalty of having post-copy
enabled even if you never get beyond the pre-copy stage :-)
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
next prev parent reply other threads:[~2016-05-09 15:02 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-05 14:27 [Qemu-devel] [PATCH v1 0/6] A migration performance testing framework Daniel P. Berrange
2016-05-05 14:27 ` [Qemu-devel] [PATCH v1 1/6] scripts: add __init__.py file to scripts/qmp/ Daniel P. Berrange
2016-05-05 14:27 ` [Qemu-devel] [PATCH v1 2/6] scripts: add a 'debug' parameter to QEMUMonitorProtocol Daniel P. Berrange
2016-05-05 14:27 ` [Qemu-devel] [PATCH v1 3/6] scripts: refactor the VM class in iotests for reuse Daniel P. Berrange
2016-05-05 14:27 ` [Qemu-devel] [PATCH v1 4/6] scripts: set timeout when waiting for qemu monitor connection Daniel P. Berrange
2016-05-05 14:27 ` [Qemu-devel] [PATCH v1 5/6] scripts: ensure monitor socket has SO_REUSEADDR set Daniel P. Berrange
2016-05-23 7:34 ` Amit Shah
2016-05-05 14:28 ` [Qemu-devel] [PATCH v1 6/6] tests: introduce a framework for testing migration performance Daniel P. Berrange
2016-05-05 15:39 ` [Qemu-devel] [PATCH v1 0/6] A migration performance testing framework Dr. David Alan Gilbert
2016-05-09 15:01 ` Daniel P. Berrange [this message]
2016-05-09 15:36 ` Dr. David Alan Gilbert
2016-05-06 1:33 ` Li, Liang Z
2016-05-06 10:45 ` Amit Shah
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=20160509150156.GC14467@redhat.com \
--to=berrange@redhat.com \
--cc=amit.shah@redhat.com \
--cc=dgilbert@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.