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: PoD issue

To: "George Dunlap" <george.dunlap@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: PoD issue
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: 2010年1月29日 16:59:30 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2010年1月29日 09:03:41 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B630643.2000904@xxxxxxxxxxxxx>
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: <4B630C63020000780002CC11@xxxxxxxxxxxxxxxxxx> <4B630643.2000904@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> George Dunlap <george.dunlap@xxxxxxxxxxxxx> 29.01.10 17:01 >>>
>What seems likely to me is that Xen (setting the PoD target) and the 
>balloon driver (allocating memory) have a different way of calculating 
>the amount of guest memory. So the balloon driver thinks it's done 
>handing memory back to Xen when there are still more outstanding PoD 
>entries than there are entries in the PoD memory pool. What balloon 
>driver are you using?
The one from our forward ported 2.6.32.x tree. I would suppose there
are no significant differences here to the one in 2.6.18, but I wonder
how precise the totalram_pages value is that the driver (also in 2.6.18)
uses to initialize bs.current_pages. Given that with PoD it is now crucial
for the guest to balloon out enough memory, using an imprecise start
value is not acceptable anymore. The question however is what more
reliable data source one could use (given that any non-exported
kernel object is out of question). And I wonder how this works reliably
for others...
>Can you let me know max_mem, target, and what the 
>balloon driver has reached before calling it quits? (Although 13,000 
>pages is an awful lot to be off by: 54 MB...)
The balloon driver reports the expected state: target and allocation
are 1G. But yes - how did I not pay attention to this - the balloon is
*far* from being 1G in size (and in fact the difference is probably
matching quite closely those 54M).
Thanks a lot!
Jan
_______________________________________________
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-community] Xen.org Weekly Newsletter Vol 10 No 4 , Stephen Spector
Next by Date: RE: [Xen-devel] profiling active RHEL 4 PV domains with xenoprof , Santos, Jose Renato G
Previous by Thread: [Xen-devel] Re: PoD issue , George Dunlap
Next by Thread: [Xen-devel] Re: PoD issue , George Dunlap
Indexes: [Date] [Thread] [Top] [All Lists]

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

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