qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC 0/2] migration: Tally pre-copy, downtime and post-copy bytes independently
@ 2021-12-16 12:34 David Edmondson
  2021-12-16 12:34 ` [RFC 1/2] migration: Introduce ram_transferred_add() David Edmondson
  2021-12-16 12:34 ` [RFC 2/2] migration: Tally pre-copy, downtime and post-copy bytes independently David Edmondson
  0 siblings, 2 replies; 5+ messages in thread
From: David Edmondson @ 2021-12-16 12:34 UTC (permalink / raw)
  To: qemu-devel
  Cc: David Edmondson, Juan Quintela, Eric Blake, Markus Armbruster,
	Dr. David Alan Gilbert

When examining a report of poor migration behaviour, it would often be
useful to understand how much data was transferred in different phases
of the migration process.

For example, if the downtime limit is exceeded, to know how much data
was transferred during the downtime.

RFC because the name "ram_transferred_add" doesn't seem great, and I'm
unsure whether the tests to determine the phase in the second patch
are the most appropriate.

David Edmondson (2):
  migration: Introduce ram_transferred_add()
  migration: Tally pre-copy, downtime and post-copy bytes independently

 migration/migration.c |  3 +++
 migration/ram.c       | 30 +++++++++++++++++++++---------
 migration/ram.h       |  1 +
 monitor/hmp-cmds.c    | 12 ++++++++++++
 qapi/migration.json   |  4 +++-
 5 files changed, 40 insertions(+), 10 deletions(-)

-- 
2.33.0



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

end of thread, other threads:[~2021-12-20 17:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-16 12:34 [RFC 0/2] migration: Tally pre-copy, downtime and post-copy bytes independently David Edmondson
2021-12-16 12:34 ` [RFC 1/2] migration: Introduce ram_transferred_add() David Edmondson
2021-12-17 19:09   ` Philippe Mathieu-Daudé
2021-12-20  8:01     ` David Edmondson
2021-12-16 12:34 ` [RFC 2/2] migration: Tally pre-copy, downtime and post-copy bytes independently David Edmondson

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