[{"id":1772776,"web_url":"http://patchwork.ozlabs.org/comment/1772776/","msgid":"<20170921123326.GD2717@work-vm>","list_archive_url":null,"date":"2017-09-21T12:33:27","subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","submitter":{"id":48102,"url":"http://patchwork.ozlabs.org/api/people/48102/","name":"Dr. David Alan Gilbert","email":"dgilbert@redhat.com"},"content":"* Alexey Perevalov (a.perevalov@samsung.com) wrote:\n> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>\n> Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>\n\nAlthough it does have my R-b it might be worth adding some clarification\nthat it's a measure of when *all* cpus are blocked and so isn't a \ntotal measure of impact of postcopy (when blocking some of them).\n\nDave\n\n> ---\n>  docs/devel/migration.txt | 10 ++++++++++\n>  1 file changed, 10 insertions(+)\n> \n> diff --git a/docs/devel/migration.txt b/docs/devel/migration.txt\n> index 1b940a8..4b625ca 100644\n> --- a/docs/devel/migration.txt\n> +++ b/docs/devel/migration.txt\n> @@ -402,6 +402,16 @@ will now cause the transition from precopy to postcopy.\n>  It can be issued immediately after migration is started or any\n>  time later on.  Issuing it after the end of a migration is harmless.\n>  \n> +Blocktime is a postcopy live migration metric, intended to show\n> +how long the vCPU was in state of interruptable sleep due to pagefault.\n> +This value is calculated on destination side.\n> +To enable postcopy blocktime calculation, enter following command on destination\n> +monitor:\n> +\n> +migrate_set_capability postcopy-blocktime on\n> +\n> +Postcopy blocktime can be retrieved by query-migrate qmp command.\n> +\n>  Note: During the postcopy phase, the bandwidth limits set using\n>  migrate_set_speed is ignored (to avoid delaying requested pages that\n>  the destination is waiting for).\n> -- \n> 1.9.1\n> \n--\nDr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx08.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=dgilbert@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xybdh5fN9z9sP1\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 22:34:16 +1000 (AEST)","from localhost ([::1]:53464 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dv0gI-0005bj-Sd\n\tfor incoming@patchwork.ozlabs.org; Thu, 21 Sep 2017 08:34:14 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:45130)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <dgilbert@redhat.com>) id 1dv0fi-0005aR-7z\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:33:39 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <dgilbert@redhat.com>) id 1dv0ff-0001sC-2O\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:33:38 -0400","from mx1.redhat.com ([209.132.183.28]:51484)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <dgilbert@redhat.com>) id 1dv0fe-0001rY-Sh\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 08:33:35 -0400","from smtp.corp.redhat.com\n\t(int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id 9E3E9C0587E0;\n\tThu, 21 Sep 2017 12:33:33 +0000 (UTC)","from work-vm (ovpn-117-186.ams2.redhat.com [10.36.117.186])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id 24F725C541;\n\tThu, 21 Sep 2017 12:33:29 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com 9E3E9C0587E0","Date":"Thu, 21 Sep 2017 13:33:27 +0100","From":"\"Dr. David Alan Gilbert\" <dgilbert@redhat.com>","To":"Alexey Perevalov <a.perevalov@samsung.com>","Message-ID":"<20170921123326.GD2717@work-vm>","References":"<1505839684-10046-1-git-send-email-a.perevalov@samsung.com>\n\t<CGME20170919164825eucas1p21fd133a55091e4a09fdeee05d130260d@eucas1p2.samsung.com>\n\t<1505839684-10046-9-git-send-email-a.perevalov@samsung.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<1505839684-10046-9-git-send-email-a.perevalov@samsung.com>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.16","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.32]);\n\tThu, 21 Sep 2017 12:33:33 +0000 (UTC)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"heetae82.ahn@samsung.com, quintela@redhat.com, qemu-devel@nongnu.org,\n\tpeterx@redhat.com, i.maximets@samsung.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1772796,"web_url":"http://patchwork.ozlabs.org/comment/1772796/","msgid":"<0c0baef1-fbad-e6d2-8d8b-07f54d084ee9@samsung.com>","list_archive_url":null,"date":"2017-09-21T13:26:27","subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","submitter":{"id":18164,"url":"http://patchwork.ozlabs.org/api/people/18164/","name":"Alexey Perevalov","email":"a.perevalov@samsung.com"},"content":"On 09/21/2017 03:33 PM, Dr. David Alan Gilbert wrote:\n> * Alexey Perevalov (a.perevalov@samsung.com) wrote:\n>> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>\n>> Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>\n> Although it does have my R-b it might be worth adding some clarification\n> that it's a measure of when *all* cpus are blocked and so isn't a\n> total measure of impact of postcopy (when blocking some of them).\nyes, maybe additional clarification is necessary.\nnow we have both values:\n{\"return\": {\"postcopy-blocktime\": 5691, \"status\": \"completed\", \n\"postcopy-vcpu-blocktime\": [7671, 6388]}}\nwhere postcopy-blocktime is for *all* and postcopy-vcpu-blocktime is per \nvCPU,\nit's really worth to describe it, like:\n\nBlocktime is a postcopy live migration metric, intended to show\nhow long the vCPU was in state of interruptible sleep due to pagefault.\nThat metric is calculated both for all vCPUs as overlapped value, and\nseparately for each vCPU. These values are calculated on destination side.\nTo enable postcopy blocktime calculation, enter following command on destination\nmonitor:\n\nmigrate_set_capability postcopy-blocktime on\n\nPostcopy blocktime can be retrieved by query-migrate qmp command.\npostcopy-blocktime value of qmp command will show overlapped blocking time for all vCPU,\npostcopy-vcpu-blocktime will show list of blocking time per vCPU.","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xycpj0Y2Tz9t3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 21 Sep 2017 23:27:06 +1000 (AEST)","from localhost ([::1]:53700 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dv1VQ-0000g5-N0\n\tfor incoming@patchwork.ozlabs.org; Thu, 21 Sep 2017 09:27:04 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:58417)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <a.perevalov@samsung.com>) id 1dv1V0-0000eo-EC\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:26:44 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <a.perevalov@samsung.com>) id 1dv1Uw-0008Dg-8C\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:26:38 -0400","from mailout2.w1.samsung.com ([210.118.77.12]:40236)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <a.perevalov@samsung.com>)\n\tid 1dv1Uv-0008D6-V5\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 09:26:34 -0400","from eucas1p1.samsung.com (unknown [182.198.249.206])\n\tby mailout2.w1.samsung.com (KnoxPortal) with ESMTP id\n\t20170921132631euoutp026028037de237e15d786c688df4d12f76~mY2Bo7OVg0411904119euoutp020;\n\tThu, 21 Sep 2017 13:26:31 +0000 (GMT)","from eusmges5.samsung.com (unknown [203.254.199.245]) by\n\teucas1p1.samsung.com (KnoxPortal) with ESMTP id\n\t20170921132630eucas1p1070127876afa5bd33f37228606cd5d58~mY2A9576Q2199221992eucas1p1j;\n\tThu, 21 Sep 2017 13:26:30 +0000 (GMT)","from eucas1p1.samsung.com ( [182.198.249.206]) by\n\teusmges5.samsung.com (EUCPMTA) with SMTP id 1C.C7.12743.60EB3C95;\n\tThu, 21 Sep 2017 14:26:30 +0100 (BST)","from eusmgms2.samsung.com (unknown [182.198.249.180]) by\n\teucas1p1.samsung.com (KnoxPortal) with ESMTP id\n\t20170921132629eucas1p130fa05e6ab7bd2d7db5f67b3f276a4d1~mY2AIscl62463724637eucas1p1p;\n\tThu, 21 Sep 2017 13:26:29 +0000 (GMT)","from eusync3.samsung.com ( [203.254.199.213]) by\n\teusmgms2.samsung.com (EUCPMTA) with SMTP id 64.0F.20118.50EB3C95;\n\tThu, 21 Sep 2017 14:26:29 +0100 (BST)","from [106.109.129.199] by eusync3.samsung.com (Oracle\n\tCommunications Messaging Server 7.0.5.31.0 64bit (built May 5 2014))\n\twith ESMTPA id <0OWM00H1ZTC4YB50@eusync3.samsung.com>;\n\tThu, 21 Sep 2017 14:26:29 +0100 (BST)"],"X-AuditID":"cbfec7f5-f79d06d0000031c7-bf-59c3be06ec47","To":"\"Dr. David Alan Gilbert\" <dgilbert@redhat.com>","From":"Alexey Perevalov <a.perevalov@samsung.com>","Message-id":"<0c0baef1-fbad-e6d2-8d8b-07f54d084ee9@samsung.com>","Date":"Thu, 21 Sep 2017 16:26:27 +0300","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101\n\tThunderbird/52.2.1","MIME-version":"1.0","In-reply-to":"<20170921123326.GD2717@work-vm>","Content-type":"text/plain; charset=\"utf-8\"; format=\"flowed\"","Content-transfer-encoding":"7bit","Content-language":"en-GB","X-Brightmail-Tracker":["H4sIAAAAAAAAA+NgFprKKsWRmVeSWpSXmKPExsWy7djPc7ps+w5HGvy5wGnRu+0eu8XEt+tZ\n\tLaZ9vs1ucaX9J7vFlv3f2C2O9+5gsbizpY/Jgd3jybXNTB7v911l8+jbsooxgDmKyyYlNSez\n\tLLVI3y6BK+N8dxtrQYdoxcoHp5gbGBcIdjFyckgImEhs6f3MDmGLSVy4t56ti5GLQ0hgKaNE\n\t87ZNLBDOZ0aJuys2M8J0tDd/ZIdILGOU2H3vLVTVC0aJlc8vsoJUCQt4SVzYso65i5GDQ0TA\n\tSOLYTwWQGmaBDkaJzbP6WUHibAIGEvvu2YKU8wrYSay/8xtsAYuAqsSZ57OYQGxRgQiJbd9n\n\tsEHUCEr8mHyPBcTmFNCRWDz7NdjZzAJWEs/+tbJC2PISm9e8ZYawxSWO3b/JCLJXQuAIm8Sj\n\ttl42iA9cJN7cPMUEYQtLvDq+Bep/GYnLk7tZIBraGSW6d3ayQjgTGCXOTP8LVWUvcermVSaI\n\tFXwSk7ZNB/tSQoBXoqNNCML0kJj41AKi2lFi2sb70ND6zSjR2TaPfQKj/CwkD81C8sQsJE/M\n\tQvLEAkaWVYwiqaXFuempxaZ6xYm5xaV56XrJ+bmbGIGJ5fS/4193MC49ZnWIUYCDUYmHd4LJ\n\t4Ugh1sSy4srcQ4wSHMxKIrw3dgKFeFMSK6tSi/Lji0pzUosPMUpzsCiJ89pGtUUKCaQnlqRm\n\tp6YWpBbBZJk4OKUaGKv0DAKD/Q8xmT0/GZblFdNsX3f06o9nc1O7p56cHLFQ+n5M9fkbrwpm\n\tPv+s6/pt9lM+9vIb1sXJyzYKRHzliaqYrDlji998mSnnhCP2SWZzXJjG5WY6XffwvW9/tm0q\n\t7rcuZlj706deNVzY23RDhXKrkDbvn4ev/i28o3fv155croY2zf3Nj5RYijMSDbWYi4oTAbJf\n\t0hEoAwAA","H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsVy+t/xq7qs+w5HGtzulLPo3XaP3WLi2/Ws\n\tFtM+32a3uNL+k91iy/5v7BbHe3ewWNzZ0sfkwO7x5NpmJo/3+66yefRtWcUYwBzFZZOSmpNZ\n\tllqkb5fAlXG+u421oEO0YuWDU8wNjAsEuxg5OSQETCTamz+yQ9hiEhfurWfrYuTiEBJYwihx\n\t/EM3M4TzglFi1rzPYFXCAl4SF7asA0pwcIgIGEkc+6kAUsMs0MEo8f3SHrAaIYHfjBLbz9uB\n\t1LAJGEjsu2cLEuYVsJNYf+c3I4jNIqAqceb5LCYQW1QgQqLv7WV2iBpBiR+T77GA2JwCOhKL\n\tZ78GizMLmEl8eXmYFcKWl9i85i0zhC0ucez+TcYJjIKzkLTPQtIyC0nLLCQtCxhZVjGKpJYW\n\t56bnFhvpFSfmFpfmpesl5+duYgRGwLZjP7fsYOx6F3yIUYCDUYmHd4LJ4Ugh1sSy4srcQ4wS\n\tHMxKIrw3dgKFeFMSK6tSi/Lji0pzUosPMUpzsCiJ8/buWR0pJJCeWJKanZpakFoEk2Xi4JRq\n\tYDS04r7Gw+HdKDLPQ9Zqo61487Wj1zosAwWEllzdPe/3iwUylvYpR8oOX3p3KL3de8l1i6xt\n\tnlr/9vDYX3x/t0jpwTKeKwW74wr6O1yORV9n+OKgor7z8B6xxJd6c+sffwx/IX8zqNfDwqz7\n\tsFjGuqMJIs9d8hRutv7h3dNuKvVNMFRey2C3lxJLcUaioRZzUXEiAPzSY9R8AgAA"],"X-CMS-MailID":"20170921132629eucas1p130fa05e6ab7bd2d7db5f67b3f276a4d1","X-Msg-Generator":"CA","X-Sender-IP":"182.198.249.180","X-Local-Sender":"=?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1B?=\n\t=?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBFbmdpbmVlcg==?=","X-Global-Sender":"=?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1BSa?=\n\t=?utf-8?q?msung_Electronics=1BSenior_Engineer?=","X-Sender-Code":"=?utf-8?q?C10=1BCISHQ=1BC10GD01GD010154?=","CMS-TYPE":"201P","X-CMS-RootMailID":"20170919164825eucas1p21fd133a55091e4a09fdeee05d130260d","X-RootMTR":"20170919164825eucas1p21fd133a55091e4a09fdeee05d130260d","References":"<1505839684-10046-1-git-send-email-a.perevalov@samsung.com>\n\t<CGME20170919164825eucas1p21fd133a55091e4a09fdeee05d130260d@eucas1p2.samsung.com>\n\t<1505839684-10046-9-git-send-email-a.perevalov@samsung.com>\n\t<20170921123326.GD2717@work-vm>","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 3.x [fuzzy]","X-Received-From":"210.118.77.12","Subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"heetae82.ahn@samsung.com, quintela@redhat.com, qemu-devel@nongnu.org,\n\tpeterx@redhat.com, i.maximets@samsung.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}},{"id":1772873,"web_url":"http://patchwork.ozlabs.org/comment/1772873/","msgid":"<20170921144026.GJ2717@work-vm>","list_archive_url":null,"date":"2017-09-21T14:40:27","subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","submitter":{"id":48102,"url":"http://patchwork.ozlabs.org/api/people/48102/","name":"Dr. David Alan Gilbert","email":"dgilbert@redhat.com"},"content":"* Alexey Perevalov (a.perevalov@samsung.com) wrote:\n> On 09/21/2017 03:33 PM, Dr. David Alan Gilbert wrote:\n> > * Alexey Perevalov (a.perevalov@samsung.com) wrote:\n> > > Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>\n> > > Signed-off-by: Alexey Perevalov <a.perevalov@samsung.com>\n> > Although it does have my R-b it might be worth adding some clarification\n> > that it's a measure of when *all* cpus are blocked and so isn't a\n> > total measure of impact of postcopy (when blocking some of them).\n> yes, maybe additional clarification is necessary.\n> now we have both values:\n> {\"return\": {\"postcopy-blocktime\": 5691, \"status\": \"completed\",\n> \"postcopy-vcpu-blocktime\": [7671, 6388]}}\n> where postcopy-blocktime is for *all* and postcopy-vcpu-blocktime is per\n> vCPU,\n> it's really worth to describe it, like:\n> \n> Blocktime is a postcopy live migration metric, intended to show\n> how long the vCPU was in state of interruptible sleep due to pagefault.\n> That metric is calculated both for all vCPUs as overlapped value, and\n> separately for each vCPU. These values are calculated on destination side.\n> To enable postcopy blocktime calculation, enter following command on destination\n> monitor:\n> \n> migrate_set_capability postcopy-blocktime on\n> \n> Postcopy blocktime can be retrieved by query-migrate qmp command.\n> postcopy-blocktime value of qmp command will show overlapped blocking time for all vCPU,\n> postcopy-vcpu-blocktime will show list of blocking time per vCPU.\n\n\nYep that seems OK.\n\nDave\n\n> -- \n> Best regards,\n> Alexey Perevalov\n> \n> > \n> > Dave\n> > \n> > > ---\n> > >   docs/devel/migration.txt | 10 ++++++++++\n> > >   1 file changed, 10 insertions(+)\n> > > \n> > > diff --git a/docs/devel/migration.txt b/docs/devel/migration.txt\n> > > index 1b940a8..4b625ca 100644\n> > > --- a/docs/devel/migration.txt\n> > > +++ b/docs/devel/migration.txt\n> > > @@ -402,6 +402,16 @@ will now cause the transition from precopy to postcopy.\n> > >   It can be issued immediately after migration is started or any\n> > >   time later on.  Issuing it after the end of a migration is harmless.\n> > > +Blocktime is a postcopy live migration metric, intended to show\n> > > +how long the vCPU was in state of interruptable sleep due to pagefault.\n> > > +This value is calculated on destination side.\n> > > +To enable postcopy blocktime calculation, enter following command on destination\n> > > +monitor:\n> > > +\n> > > +migrate_set_capability postcopy-blocktime on\n> > > +\n> > > +Postcopy blocktime can be retrieved by query-migrate qmp command.\n> > > +\n> > >   Note: During the postcopy phase, the bandwidth limits set using\n> > >   migrate_set_speed is ignored (to avoid delaying requested pages that\n> > >   the destination is waiting for).\n> > > -- \n> > > 1.9.1\n> > > \n> > --\n> > Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK\n> > \n> > \n> > \n> \n> \n--\nDr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)","ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tdmarc=none (p=none dis=none) header.from=redhat.com","ext-mx03.extmail.prod.ext.phx2.redhat.com;\n\tspf=fail smtp.mailfrom=dgilbert@redhat.com"],"Received":["from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xyfRz10L6z9t3C\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 22 Sep 2017 00:41:02 +1000 (AEST)","from localhost ([::1]:54037 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dv2ex-0007dx-Pa\n\tfor incoming@patchwork.ozlabs.org; Thu, 21 Sep 2017 10:40:59 -0400","from eggs.gnu.org ([2001:4830:134:3::10]:51370)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <dgilbert@redhat.com>) id 1dv2ee-0007dh-09\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 10:40:41 -0400","from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <dgilbert@redhat.com>) id 1dv2eb-00083M-0J\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 10:40:40 -0400","from mx1.redhat.com ([209.132.183.28]:33078)\n\tby eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)\n\t(Exim 4.71) (envelope-from <dgilbert@redhat.com>) id 1dv2ea-00082Z-NK\n\tfor qemu-devel@nongnu.org; Thu, 21 Sep 2017 10:40:36 -0400","from smtp.corp.redhat.com\n\t(int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby mx1.redhat.com (Postfix) with ESMTPS id A75207C842;\n\tThu, 21 Sep 2017 14:40:35 +0000 (UTC)","from work-vm (ovpn-117-186.ams2.redhat.com [10.36.117.186])\n\tby smtp.corp.redhat.com (Postfix) with ESMTPS id C2F406BF72;\n\tThu, 21 Sep 2017 14:40:29 +0000 (UTC)"],"DMARC-Filter":"OpenDMARC Filter v1.3.2 mx1.redhat.com A75207C842","Date":"Thu, 21 Sep 2017 15:40:27 +0100","From":"\"Dr. David Alan Gilbert\" <dgilbert@redhat.com>","To":"Alexey Perevalov <a.perevalov@samsung.com>","Message-ID":"<20170921144026.GJ2717@work-vm>","References":"<1505839684-10046-1-git-send-email-a.perevalov@samsung.com>\n\t<CGME20170919164825eucas1p21fd133a55091e4a09fdeee05d130260d@eucas1p2.samsung.com>\n\t<1505839684-10046-9-git-send-email-a.perevalov@samsung.com>\n\t<20170921123326.GD2717@work-vm>\n\t<0c0baef1-fbad-e6d2-8d8b-07f54d084ee9@samsung.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<0c0baef1-fbad-e6d2-8d8b-07f54d084ee9@samsung.com>","User-Agent":"Mutt/1.8.3 (2017-05-23)","X-Scanned-By":"MIMEDefang 2.79 on 10.5.11.13","X-Greylist":"Sender IP whitelisted, not delayed by milter-greylist-4.5.16\n\t(mx1.redhat.com [10.5.110.27]);\n\tThu, 21 Sep 2017 14:40:35 +0000 (UTC)","X-detected-operating-system":"by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]\n\t[fuzzy]","X-Received-From":"209.132.183.28","Subject":"Re: [Qemu-devel] [PATCH v10 08/10] migration: postcopy_blocktime\n\tdocumentation","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<http://lists.nongnu.org/archive/html/qemu-devel/>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Cc":"heetae82.ahn@samsung.com, quintela@redhat.com, qemu-devel@nongnu.org,\n\tpeterx@redhat.com, i.maximets@samsung.com","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>"}}]