qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] migration capability to discard the migrated ram pages
@ 2017-01-16 15:51 Pavel Butsykin
  2017-01-16 15:51 ` [Qemu-devel] [PATCH 1/2] add 'discard-ram' migrate capability Pavel Butsykin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Pavel Butsykin @ 2017-01-16 15:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: quintela, amit.shah, eblake, armbru, den, pbutsykin

This feature frees the migrated memory on the source during postcopy-ram
migration. In the second step of postcopy-ram migration when the source vm
is put on pause we can free unnecessary memory. It will allow, in particular,
to start relaxing the memory stress on the source host in a load-balancing
scenario.

Pavel Butsykin (2):
  add 'discard-ram' migrate capability
  migration: discard non-dirty ram pages after the start of postcopy

 include/migration/migration.h |  2 ++
 include/migration/qemu-file.h |  3 ++-
 migration/migration.c         | 11 ++++++++
 migration/qemu-file.c         | 59 ++++++++++++++++++++++++++++++++++++++-----
 migration/ram.c               | 49 ++++++++++++++++++++++++++++++++++-
 qapi-schema.json              |  5 +++-
 6 files changed, 119 insertions(+), 10 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-30 13:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-16 15:51 [Qemu-devel] [PATCH 0/2] migration capability to discard the migrated ram pages Pavel Butsykin
2017-01-16 15:51 ` [Qemu-devel] [PATCH 1/2] add 'discard-ram' migrate capability Pavel Butsykin
2017-01-27 11:01   ` Dr. David Alan Gilbert
2017-01-30 13:05     ` Pavel Butsykin
2017-01-16 15:51 ` [Qemu-devel] [PATCH 2/2] migration: discard non-dirty ram pages after the start of postcopy Pavel Butsykin
2017-01-27 11:39   ` Dr. David Alan Gilbert
2017-01-30 13:06     ` Pavel Butsykin
2017-01-17  3:33 ` [Qemu-devel] [PATCH 0/2] migration capability to discard the migrated ram pages no-reply
2017-01-25 16:50 ` Denis V. Lunev

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).