From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp9GS-00065r-Qm for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:35:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fp9GR-0002Mc-UH for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:35:52 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54596 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fp9GR-0002MM-OH for qemu-devel@nongnu.org; Mon, 13 Aug 2018 05:35:51 -0400 Date: Mon, 13 Aug 2018 10:35:46 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20180813093545.GB2488@work-vm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] Question about dirty page statistics for live migration List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Li Qiang Cc: Juan Quintela , Qemu Developers , liqiang02@corp.netease.com * Li Qiang (liq3ea@gmail.com) wrote: > Hello Dave, Juan and all, > > It is useful to get the dirty page rates in guest to evaluate the guest > loads > so that we can make a decide to live migrate it or not. So I think we can > add a on-demand qmp for showing the dirty page rates. > > I found someone has done this work in here: > -->https://github.com/grivon/yabusame-qemu-dpt > and here: > https://github.com/btrplace/qemu-patch > > But seems not go to the upstream. > > I want to know your opinions about adding this qmp. Something like that could be good; one easy idea we had was a 'migrate null:' uri and then you would use most of the existing migration code to do the measurement; you would only have to add a dummy file backend, and something to stop the migration ever terminating (maybe just set the downtime very low). Dave > Thanks, > Li Qiang -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK