qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Fedin <p.fedin@samsung.com>
To: "'Dr. David Alan Gilbert'" <dgilbert@redhat.com>
Cc: peter.maydell@linaro.org, quintela@redhat.com,
	marc.zyngier@arm.com, 'QEMU' <qemu-devel@nongnu.org>,
	amit.shah@redhat.com, kvmarm@lists.cs.columbia.edu,
	christoffer.dall@linaro.org
Subject: Re: [Qemu-devel] Live migration sequence
Date: Tue, 13 Oct 2015 15:02:03 +0300	[thread overview]
Message-ID: <00d801d105ae$fa1eb5a0$ee5c20e0$@samsung.com> (raw)
In-Reply-To: <20151013110527.GB2555@work-vm>

 Hello!

>   b) Once you're in the device state saving (a above) you must not change guest RAM,
>      because at that point the migration code won't send any new changes across
>      to the destination. So any sync's you're going to do have to happen before/at
>      the time we stop the CPU and do the final RAM sync.  On the plus side, when
>      you're loading the device state in (a) you can be sure the RAM contents are there.

 This is good. I think, in this case i can teach the kernel (here we talk about accelerated
in-kernel irqchip implementation) to flush ITS caches when a CPU is stopped. This will do the job.

>   c) Watch out for the size of that final sync; if you have lots of these ITS
>      and they all update their 64k page at the point we stop the CPU then you're
>      going to generate a lot of RAM that needs syncing.

 Well, reducing downtime would be the next task. :) First i'd like to get it working at all.

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

  reply	other threads:[~2015-10-13 12:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 11:39 [Qemu-devel] Live migration sequence Pavel Fedin
2015-10-09 15:29 ` Dr. David Alan Gilbert
2015-10-13 10:06   ` Pavel Fedin
2015-10-13 11:05     ` Dr. David Alan Gilbert
2015-10-13 12:02       ` Pavel Fedin [this message]
2015-10-13 12:04         ` Peter Maydell
2015-10-13 12:41           ` Pavel Fedin
2015-10-16  7:24       ` Pavel Fedin
2015-10-16 17:11         ` Dr. David Alan Gilbert

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='00d801d105ae$fa1eb5a0$ee5c20e0$@samsung.com' \
    --to=p.fedin@samsung.com \
    --cc=amit.shah@redhat.com \
    --cc=christoffer.dall@linaro.org \
    --cc=dgilbert@redhat.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=marc.zyngier@arm.com \
    --cc=peter.maydell@linaro.org \
    --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 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).