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

xen-devel

[Top] [All Lists]

[Xen-devel] Re: [Xen-users] (xen) Possible bug: Memory squeeze in netbac

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: [Xen-devel] Re: [Xen-users] (xen) Possible bug: Memory squeeze in netback driver.
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 8 Jun 2006 08:30:34 +0100
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Erik Hensema <erik@xxxxxxxxxxx>
Delivery-date: 2006年6月08日 08:43:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44873A5C.8050700@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200606062047.44746.erik@xxxxxxxxxxx> <4485F70E.4020602@xxxxxxxxxx> <200606071752.26963.erik@xxxxxxxxxxx> <44873A5C.8050700@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On 7 Jun 2006, at 21:43, Anthony Liguori wrote:
I suspected it would but I was hoping it wouldn't. Do this mean that the netback driver needs to be able to increase it's reservation? If so, should we be enforcing (in the tools) that memory < maxmem? Any thoughts Keir?
The kernel should be able to do it for itself. Drivers inform how much 'headroom' they need via balloon_update_driver_allowance(). Balloon driver then strives to keep its memory allocation below maxmem by that amount. Possibly the balloon driver needs a kick when allocation fails in teh driver, to expand the balloon a little. Another alternative is for drivers to incr/decr reservation via another balloon driver interface, giving another hook point for the balloon driver to do something sensible. So, in short, tools may be able to screw things for a short while (and maybe crash things entirely, if maxmem is reduced drastically with no prior warning (update of memory target)). But the balloon driver is expected to recover except in that kind of unreasonable circumstance.
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Anybody got a tool to peer into a guest domain? , Randy Thelen
Next by Date: Re: [Xen-devel] access shared_info? , Keir Fraser
Previous by Thread: [Xen-devel] Re: [Xen-users] (xen) Possible bug: Memory squeeze in netback driver. , Anthony Liguori
Next by Thread: [Xen-devel] FreeBSD 6.0 on VT-x causes Qemu SEG fault , Randy Thelen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /