From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NUiLA-0003oW-Dc for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:07:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NUiL5-0003nq-OG for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:07:28 -0500 Received: from [199.232.76.173] (port=57425 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NUiL5-0003nm-DP for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:07:23 -0500 Received: from mail-qy0-f189.google.com ([209.85.221.189]:47736) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NUiL5-0007N7-1y for qemu-devel@nongnu.org; Tue, 12 Jan 2010 10:07:23 -0500 Received: by qyk27 with SMTP id 27so10046389qyk.20 for ; Tue, 12 Jan 2010 07:07:21 -0800 (PST) Message-ID: <4B4C9025.10409@codemonkey.ws> Date: Tue, 12 Jan 2010 09:07:17 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH 4/4] Try not to exceed max downtime on stage3 References: <1263284833297-git-send-email-lirans@il.ibm.com> <12632848342235-git-send-email-lirans@il.ibm.com> <12632848343008-git-send-email-lirans@il.ibm.com> <12632848351489-git-send-email-lirans@il.ibm.com> <12632848353279-git-send-email-lirans@il.ibm.com> <4B4C622D.5040800@siemens.com> In-Reply-To: <4B4C622D.5040800@siemens.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: qemu-devel@nongnu.org, Liran Schour On 01/12/2010 05:51 AM, Jan Kiszka wrote: > Liran Schour wrote: > >> Move to stage3 only when remaining work can be done below max downtime. >> To make sure the process will converge we will try only MAX_DIRTY_ITERATIONS. >> > OK, that explains now patch 2. But do we have such barrier for memory > migration as well? No, we explicitly don't because making that decision is a management tool job. A management tool can force convergence by explicitly stopping the guest. Iterations is a bad metric because there's no real useful meaning to a user. Time is probably the best metric and it's easy for a management tool to set a timer to stop the guest if it hasn't completed by a certain time period. Regards, Anthony Liguori