qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/1] COLO: migrate dirty ram pages before colo checkpoint
@ 2020-06-21  2:10 Derek Su
  2020-06-21  2:10 ` [PATCH v1 1/1] migration/colo.c: " Derek Su
  2020-07-31  7:52 ` [PATCH v1 0/1] COLO: " Lukas Straub
  0 siblings, 2 replies; 9+ messages in thread
From: Derek Su @ 2020-06-21  2:10 UTC (permalink / raw)
  To: qemu-devel
  Cc: zhang.zhanghailiang, chyang, quintela, Derek Su, dgilbert,
	ctcheng, jwsu1986

This series is to reduce the guest's downtime during colo checkpoint
by migrating dirty ram pages as many as possible before colo checkpoint.

If the iteration count reaches COLO_RAM_MIGRATE_ITERATION_MAX or
ram pending size is lower than 'x-colo-migrate-ram-threshold',
stop the ram migration and do colo checkpoint.

Test environment:
The both primary VM and secondary VM has 1GiB ram and 10GbE NIC
for FT traffic.
One fio buffer write job runs on the guest.                                                                                                                     
The result shows the total primary VM downtime is decreased by ~40%.

Please help to review it and suggestions are welcomed.
Thanks.

Derek Su (1):
  migration/colo.c: migrate dirty ram pages before colo checkpoint

 migration/colo.c       | 79 ++++++++++++++++++++++++++++++++++++++++++
 migration/migration.c  | 20 +++++++++++
 migration/trace-events |  2 ++
 monitor/hmp-cmds.c     |  8 +++++
 qapi/migration.json    | 18 ++++++++--
 5 files changed, 125 insertions(+), 2 deletions(-)

-- 
2.17.1



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

end of thread, other threads:[~2020-08-15 17:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-21  2:10 [PATCH v1 0/1] COLO: migrate dirty ram pages before colo checkpoint Derek Su
2020-06-21  2:10 ` [PATCH v1 1/1] migration/colo.c: " Derek Su
2020-06-22 17:23   ` Eric Blake
2020-07-13  9:03   ` Derek Su
2020-07-31  7:52 ` [PATCH v1 0/1] COLO: " Lukas Straub
2020-07-31  9:00   ` Zhanghailiang
2020-08-13 10:27   ` Derek Su
2020-08-15  1:41     ` Zhanghailiang
2020-08-15  2:45       ` Derek Su

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