From: David Edmondson <david.edmondson@oracle.com>
To: qemu-devel@nongnu.org
Cc: David Edmondson <david.edmondson@oracle.com>,
Eric Blake <eblake@redhat.com>,
Markus Armbruster <armbru@redhat.com>,
"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
Juan Quintela <quintela@redhat.com>
Subject: [PATCH v3 0/2] migration: Tally pre-copy, downtime and post-copy bytes independently
Date: Tue, 21 Dec 2021 09:34:39 +0000 [thread overview]
Message-ID: <20211221093441.1445590-1-david.edmondson@oracle.com> (raw)
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
next reply other threads:[~2021-12-21 9:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-21 9:34 David Edmondson [this message]
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
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=20211221093441.1445590-1-david.edmondson@oracle.com \
--to=david.edmondson@oracle.com \
--cc=armbru@redhat.com \
--cc=dgilbert@redhat.com \
--cc=eblake@redhat.com \
--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).