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] [PATCH] Fix free() in balloon.py for shortening response tim

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Fix free() in balloon.py for shortening response time
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: 2007年9月25日 11:52:49 +0900
Delivery-date: 2007年9月24日 19:53:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
My machine has only 1024MB physical memories. When I required domain 
memory sizes larger than the physical memory size for creating a guest 
domain, the response time of xm create command was as follows. 
# xm create /xen/vm1.conf memory=1025
Using config file "/xen/vm1.conf".
 << wait 23 seconds >>
Error: I need 1049600 KiB, but dom0_min_mem is 262144 and shrinking to 262144 
KiB would leave only 765888 KiB free.
# xm create /xen/vm1.conf memory=10000
Using config file "/xen/vm1.conf".
 << wait 6 minutes 20 seconds >>
Error: I need 10240000 KiB, but dom0_min_mem is 262144 and shrinking to 262144 
KiB would leave only 765888 KiB free.
# xm create /xen/vm1.conf memory=100000
Using config file "/xen/vm1.conf".
 << wait 1 hour 8 minutes >>
Error: I need 102400000 KiB, but dom0_min_mem is 262144 and shrinking to 262144 
KiB would leave only 765888 KiB free.
If users require domain memory size larger than a physical memory size, 
I think that we do not need waiting for ballooning, and should cause 
xm create command error right away.
This patch fixes free() in balloon.py. It does not wait ballooning 
if users require domain memory size larger than a physical memory size. 
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Best regards,
 Kan

Attachment: balloon.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix free() in balloon.py for shortening response time, Masaki Kanno <=
Previous by Date: Re: [Xen-devel] Confused about start of day setup , Goswin von Brederlow
Next by Date: [Xen-devel] [XSM:ACM] When cw is used, dom0 reboots. , Syunsuke HAYASHI
Previous by Thread: [Xen-devel] update_va_mapping() question , Goswin von Brederlow
Next by Thread: [Xen-devel] [XSM:ACM] When cw is used, dom0 reboots. , Syunsuke HAYASHI
Indexes: [Date] [Thread] [Top] [All Lists]

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

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