From mboxrd@z Thu Jan 1 00:00:00 1970 From: Glauber Costa Subject: Re: migrate_set_downtime bug Date: Tue, 6 Oct 2009 14:33:25 -0300 Message-ID: <20091006173325.GG8092@mothafucka.localdomain> References: <20090930112328.GB5149@mothafucka.localdomain> <90D306BE6EBC8D428A824FBBA7A3113DFDCDF18D@ronja.maurer-it.com> <20090930163951.GD5149@mothafucka.localdomain> <90D306BE6EBC8D428A824FBBA7A3113DFDCDF18E@ronja.maurer-it.com> <4AC9E3DA.6000607@redhat.com> <20091005130409.GD8092@mothafucka.localdomain> <4AC9F1E4.4070101@redhat.com> <90D306BE6EBC8D428A824FBBA7A3113D010EFFE8EB@ronja.maurer-it.com> <20091005153206.GE8092@mothafucka.localdomain> <90D306BE6EBC8D428A824FBBA7A3113D010EFFE8F5@ronja.maurer-it.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , Anthony Liguori , kvm To: Dietmar Maurer Return-path: Received: from mx1.redhat.com ([209.132.183.28]:47020 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932718AbZJFRd6 (ORCPT ); Tue, 6 Oct 2009 13:33:58 -0400 Content-Disposition: inline In-Reply-To: <90D306BE6EBC8D428A824FBBA7A3113D010EFFE8F5@ronja.maurer-it.com> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Oct 06, 2009 at 10:30:14AM +0200, Dietmar Maurer wrote: > > > 'bandwidth' is something that changes dynamically (or by user > > settings), so why don't we simply abort after some amount of > > transferred memory (constant * memory size). This can be implemented by > > the management application without problems, although it's much easier > > inside kvm. > > > > > Easier, yes. > > > > But then once it is done, people wanting a different behaviour for some > > valid reason are stuck with that. > > This is the very reason we expose information about migration in the > > monitor to begin with. > > No problem. Maybe you can just commit the first part of my patch then? Anthony should do it. Given the circumnstances: your method and the current method are both approximations. Your works where current fails, and none of us can come up with a better solution, I ack it. > > > Again, I believe the fix for this convergence problem does not belong > > here. > > The default downtime is set to 30ms. This value triggers the convergence problem quite often. Maybe a longer default is more reasonable. What do you feel about 100 ms?