From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f70.google.com (mail-pg0-f70.google.com [74.125.83.70]) by kanga.kvack.org (Postfix) with ESMTP id 7A7186B0005 for ; Sun, 25 Feb 2018 22:58:40 -0500 (EST) Received: by mail-pg0-f70.google.com with SMTP id m19so5097446pgv.5 for ; Sun, 25 Feb 2018 19:58:40 -0800 (PST) Received: from mga04.intel.com (mga04.intel.com. [192.55.52.120]) by mx.google.com with ESMTPS id l131si4987298pga.536.2018.02.25.19.58.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Feb 2018 19:58:39 -0800 (PST) Message-ID: <5A938699.8020804@intel.com> Date: Mon, 26 Feb 2018 12:01:29 +0800 From: Wei Wang MIME-Version: 1.0 Subject: Re: [PATCH v28 0/4] Virtio-balloon: support free page reporting References: <1518083420-11108-1-git-send-email-wei.w.wang@intel.com> <20180208215048-mutt-send-email-mst@kernel.org> <5A7D116B.9070502@intel.com> <20180209051212-mutt-send-email-mst@kernel.org> In-Reply-To: <20180209051212-mutt-send-email-mst@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: "Michael S. Tsirkin" Cc: "virtio-dev@lists.oasis-open.org" , "linux-kernel@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "kvm@vger.kernel.org" , "linux-mm@kvack.org" , "mhocko@kernel.org" , "akpm@linux-foundation.org" , "pbonzini@redhat.com" , "liliang.opensource@gmail.com" , "yang.zhang.wz@gmail.com" , "quan.xu0@gmail.com" , "nilal@redhat.com" , "riel@redhat.com" , "huangzhichao@huawei.com" , "dgilbert@redhat.com" On 02/09/2018 11:14 AM, Michael S. Tsirkin wrote: > On Fri, Feb 09, 2018 at 11:11:39AM +0800, Wei Wang wrote: >> On 02/09/2018 03:55 AM, Michael S. Tsirkin wrote: >>> On Thu, Feb 08, 2018 at 05:50:16PM +0800, Wei Wang wrote: >>> >>>> Details: >>>> Set up a Ping-Pong local live migration, where the guest ceaselessy >>>> migrates between the source and destination. Linux compilation, >>>> i.e. make bzImage -j4, is performed during the Ping-Pong migration. The >>>> legacy case takes 5min14s to finish the compilation. With this >>>> optimization patched, it takes 5min12s. >>> How is migration time affected in this case? >> >> When the linux compilation workload runs, the migration time (both the >> legacy and this optimization case) varies as the compilation goes on. It >> seems not easy to give a static speedup number, some times the migration >> time is reduced to 33%, sometimes to 50%, it varies, and depends on how much >> free memory the system has at that moment. For example, at the later stage >> of the compilation, I can observe 5GB memory being used as page cache. But >> overall, I can observe obvious improvement of the migration time. >> >> >> Best, >> Wei > You can run multiple tests and give a best, worst and median numbers. > Sorry for my late response (I was on leaves for some other responsibilities). Here are some more numbers of the live migration time comparison while linux compilation is in progress (probably the average time is more relevant) average: 52.4% reduction (optimization v.s. legacy = 1242ms v.s. 2611ms) best: 69.1% worst: 21.9% Best, Wei -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org