From: Daniel Stodden Subject: RE: Rate adaption during live migration Date: Mon, 15 Oct 2007 00:23:07 +0200 Message-ID: <1192400588.14675.33.camel@thinkpad.localdomain> References: <1192230113.9700.8.camel@thinkpad.localdomain> <8A87A9A84C201449A0C56B728ACF491E34C2F6@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E34C2F6@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: Xen Developers List-Id: xen-devel@lists.xenproject.org Hi Ian. On Sun, 2007-10-14 at 21:54 +0100, Ian Pratt wrote: > > I always thought adaptive transmission rates in live migration were > > switched on by default. Now I notice this does not seem to even be th= e > > case. > >=20 > > Is there any specific reason? Just because I'm interested. Won't work= ? >=20 > It certainly used to work, and I can't think of any reason why it would= have bit rotted.=20 Well then why, forgive my perseverance, isn't ADAPTIVE_SAVE defined? > > More importantly: Regarding the behavior when turned off, this turns > > off > RATE_IS_MAX() as well. Have been playing with totally pathetic = cases > > and was surprised to learn that the present configuration would happi= ly > > exercise them through maximum number of iterations. Is this > > intentional? >=20 > Yep, it goes flat out if the rate limiting is disabled. Sorry, I do not understand this, perhaps due to may ignorance. There is (sent_this_iter > sent_last_iter) && RATE_IS_MAX() as one primary condition to leave the precopy loop. To me this reads as 'We're onverging the WWS'. But undef'd ADAPTIVE_SAVE states #define RATE_IS_MAX() 0 which unless I've been terribly missing something should rather be 1, since (a) it es indeed writing full speed in that mode and (b) this nullifies the whole check regarding the WWS (unless the latter is < 50 pages). Any help appreciated. Thanks for listening, daniel --=20 Daniel Stodden LRR - Lehrstuhl f=C3=BCr Rechnertechnik und Rechnerorganisation Institut f=C3=BCr Informatik der TU M=C3=BCnchen D-85748 Garc= hing http://www.lrr.in.tum.de/~stodden mailto:stodden@cs.tum.edu PGP Fingerprint: F5A4 1575 4C56 E26A 0B33 3D80 457E 82AE B0D8 735B