WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 08/16] xenpaging: reduce MINIMUM_RESTART_TIME

To: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 08/16] xenpaging: reduce MINIMUM_RESTART_TIME
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Wed, 3 Nov 2010 15:13:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 03 Nov 2010 07:14:34 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1288793625; l=1377; s=domk; d=aepfle.de; h=In-Reply-To:Content-Type:MIME-Version:References:Subject:Cc:To:From: Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=1Gureyry1rDaMcEKjmILVwLbCqk=; b=QpDRo+mV+GzG9ZpJvkGLhVB54JoD93UVprfB4gK4UW9frlQ8lvoBfz3cH0fFe4dGqEZ lR1lrdlLFjs5F9+L8GT+v82UcJ4LsXkzxSh3P1CpHBIJVAlXBAtvGxA56WH/vOeHOsDmQ BlRV/ojvk6Oeu+S2iLze4tIIrfF3rQxW938=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <19665.22758.814027.988061@xxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20101102223010.603002116@xxxxxxxxx> <20101102223013.593723006@xxxxxxxxx> <19665.22758.814027.988061@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
On Wed, Nov 03, Ian Jackson wrote:

> Olaf Hering writes ("[Xen-devel] [PATCH 08/16] xenpaging: reduce 
> MINIMUM_RESTART_TIME"):
> > Allow runlevel 6 as default runlevel.
> ...
> > -MINIMUM_RESTART_TIME = 60
> > +MINIMUM_RESTART_TIME = 5
> 
> I don't understand what this change is doing in your xenpaging series;
> nor does setting runlevel 6 as the default runlevel seem very
> sensible other than perhaps for some kind of stress testing.
> 
> Perhaps this patch snuck into the series by mistake ?

Its there intentional in my series, just to get the startup code tested
automatically. The runtime code seems to work ok now that the granttable
part got fixed.

Last time I tried to get this variable into the vm config file, it did
not work as expected. Appearently its a global variable, not per guest.


And its value was changed from 20 (I think) to 60 without a good
changelog entry, not too long ago. For my testing, even 20 would have
been to long. If I use 'reboot' quickly in grub, guest runtime is around
7 seconds I think.


Too bad, this variable is only a bandaid because it doesnt know any
context of the guest. And it cant know any context. When is a guest in a
good or bad state? Should it panic, or crash? Its not easy to detect
a bad condition.

A better change would be to allow an override in the guest config file.


Olaf


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>