From patchwork Thu Oct 5 11:16:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Perevalov X-Patchwork-Id: 821718 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3y79GQ2Nvhz9t1G for ; Thu, 5 Oct 2017 22:17:18 +1100 (AEDT) Received: from localhost ([::1]:39112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e049U-0003y4-CE for incoming@patchwork.ozlabs.org; Thu, 05 Oct 2017 07:17:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e048j-0003wY-96 for qemu-devel@nongnu.org; Thu, 05 Oct 2017 07:16:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e048h-0000Ho-Uw for qemu-devel@nongnu.org; Thu, 05 Oct 2017 07:16:29 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:56938) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e048h-0000H7-Nu for qemu-devel@nongnu.org; Thu, 05 Oct 2017 07:16:27 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20171005111626euoutp025d394aeb0512591dfb22b858e061ae00~qqGcogAZY2915929159euoutp02I; Thu, 5 Oct 2017 11:16:26 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20171005111625eucas1p2772bef15055ec5cfdd1a2aaa4bf11344~qqGcBf9uJ2665326653eucas1p27; Thu, 5 Oct 2017 11:16:25 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 57.19.12944.98416D95; Thu, 5 Oct 2017 12:16:25 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20171005111624eucas1p193bfeb0e428c8eee6180a1f7b96c0713~qqGbTPw5H1496414964eucas1p1t; Thu, 5 Oct 2017 11:16:24 +0000 (GMT) X-AuditID: cbfec7f4-f79ab6d000003290-b7-59d61489d92e Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id A1.93.20118.88416D95; Thu, 5 Oct 2017 12:16:24 +0100 (BST) Received: from aperevalov-ubuntu.rnd.samsung.ru ([106.109.129.199]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OXC00M4YKN1XNA0@eusync4.samsung.com>; Thu, 05 Oct 2017 12:16:24 +0100 (BST) From: Alexey Perevalov To: qemu-devel@nongnu.org Date: Thu, 05 Oct 2017 14:16:08 +0300 Message-id: <1507202170-22619-5-git-send-email-a.perevalov@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1507202170-22619-1-git-send-email-a.perevalov@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCIsWRmVeSWpSXmKPExsWy7djPc7qdItciDZa9kLCYe/c8i0Xvtnvs FtM+32a3uNL+k91iy/5v7BbHe3ewWNzZ0sfkwO7x5NpmJo/3+66yefRtWcUYwBzFZZOSmpNZ llqkb5fAldF6eBZbwRzuivsNM1gbGDdxdjFyckgIm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kdTS4tz03GIjveLE3OLSvHS95PzcTYzA8Nl27OeWHYxd74IPMQpwMCrx8DI8uBIpxJpY VlyZe4hRgoNZSYRX6f/VSCHelMTKqtSi/Pii0pzU4kOM0hwsSuK8vXtWRwoJpCeWpGanphak FsFkmTg4pRoYkxtk17pkLhWdk7X70ar/0msYV65OncM0O2O53HM3XYYJcTKyewIL0srSBYwZ 7Vc3NUpKLPCsVcuacVb23vwFK9YqrOOodk65bMf4lf9sdctdHa1U8a33rerb3qYeUGisthN9 ldr4rtC9eG2i9uSQDS8islMCZm08dPRNTK26s/WRpX+OcMUqsRRnJBpqMRcVJwIAkGztqBsC AAA= X-CMS-MailID: 20171005111624eucas1p193bfeb0e428c8eee6180a1f7b96c0713 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 X-Local-Sender: =?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Alexey_Perevalov=1BSRR-Virtualization_Lab=1BSa?= =?utf-8?q?msung_Electronics=1BSenior_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BCISHQ=1BC10GD01GD010154?= CMS-TYPE: 201P X-CMS-RootMailID: 20171005111624eucas1p193bfeb0e428c8eee6180a1f7b96c0713 X-RootMTR: 20171005111624eucas1p193bfeb0e428c8eee6180a1f7b96c0713 References: <1507202170-22619-1-git-send-email-a.perevalov@samsung.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 210.118.77.12 Subject: [Qemu-devel] [PATCH v11 4/6] migration: postcopy_blocktime documentation X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: heetae82.ahn@samsung.com, quintela@redhat.com, Alexey Perevalov , peterx@redhat.com, dgilbert@redhat.com, i.maximets@samsung.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Reviewed-by: Dr. David Alan Gilbert Signed-off-by: Alexey Perevalov --- docs/devel/migration.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/devel/migration.txt b/docs/devel/migration.txt index 4030703..cebfe7a 100644 --- a/docs/devel/migration.txt +++ b/docs/devel/migration.txt @@ -402,6 +402,19 @@ 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 the destination is waiting for).