qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] migration: Tally pre-copy, downtime and post-copy bytes independently
@ 2021-12-21  9:34 David Edmondson
  2021-12-21  9:34 ` [PATCH v3 1/2] migration: Introduce ram_transferred_add() David Edmondson
  2021-12-21  9:34 ` [PATCH v3 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-21  9:34 UTC (permalink / raw)
  To: qemu-devel
  Cc: David Edmondson, Eric Blake, Markus Armbruster,
	Dr. David Alan Gilbert, Juan Quintela

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.

v3:
- Add r-by (Philippe)
- Improve a commit message (Philippe)

v2:
- ram_transferred_add() should be static (Philippe)
- Document the new MigrationStats fields (dme)

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 +++++++++++++++++++++---------
 monitor/hmp-cmds.c    | 12 ++++++++++++
 qapi/migration.json   | 13 ++++++++++++-
 4 files changed, 48 insertions(+), 10 deletions(-)

-- 
2.33.0



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

end of thread, other threads:[~2022-01-27  9:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-21  9:34 [PATCH v3 0/2] migration: Tally pre-copy, downtime and post-copy bytes independently David Edmondson
2021-12-21  9:34 ` [PATCH v3 1/2] migration: Introduce ram_transferred_add() David Edmondson
2022-01-27  9:11   ` Juan Quintela
2021-12-21  9:34 ` [PATCH v3 2/2] migration: Tally pre-copy, downtime and post-copy bytes independently David Edmondson
2022-01-27  9:12   ` Juan Quintela

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