]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
migration: postcopy_blocktime documentation
authorAlexey Perevalov <a.perevalov@samsung.com>
Mon, 30 Oct 2017 13:16:28 +0000 (16:16 +0300)
committerJuan Quintela <quintela@redhat.com>
Mon, 15 Jan 2018 11:48:02 +0000 (12:48 +0100)
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
docs/devel/migration.rst

index bf97080dac2f7c8f4e01dcb8458946f5ff86aaa2..015a9ebdf7bb353f963077484c42f50ce026dc4f 100644 (file)
@@ -401,6 +401,20 @@ will now cause the transition from precopy to postcopy.
 It can be issued immediately after migration is started or any
 time later on.  Issuing it after the end of a migration is harmless.
 
+Blocktime is a postcopy live migration metric, intended to show how
+long the vCPU was in state of interruptable sleep due to pagefault.
+That metric is calculated both for all vCPUs as overlapped value, and
+separately for each vCPU. These values are calculated on destination
+side.  To enable postcopy blocktime calculation, enter following
+command on destination monitor:
+
+``migrate_set_capability postcopy-blocktime on``
+
+Postcopy blocktime can be retrieved by query-migrate qmp command.
+postcopy-blocktime value of qmp command will show overlapped blocking
+time for all vCPU, postcopy-vcpu-blocktime will show list of blocking
+time per vCPU.
+
 .. note::
   During the postcopy phase, the bandwidth limits set using
   ``migrate_set_speed`` is ignored (to avoid delaying requested pages that