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] Re: [PATCH] balloon bugfix on -TESTING

To: aq <aquynh@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH] balloon bugfix on -TESTING
From: xuehai zhang <hai@xxxxxxxxxxxxxxx>
Date: Tue, 19 Jul 2005 02:17:18 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 19 Jul 2005 07:16:49 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9cde8bff050718005248622ca@xxxxxxxxxxxxxx>
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: <9cde8bff05071723241e6f944b@xxxxxxxxxxxxxx> <9cde8bff050718005248622ca@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Hi aq,
I tested the -testing tree by applying your patch and i can successfully balloon the domain's memory above the initial allocation now. BTW, you can give either bytes, or m (mega bytes), or k (kilo bytes) to the "mem=" kernel command line parameter in the "extra" option of the domain's config file.
Thanks!
Xuehai

aq wrote:
On 7/18/05, aq <aquynh@xxxxxxxxx> wrote:

This patch is for -testing, to fix some wrong calculates of max_pages
and max_memkb. Now balloon problem goes away (on *testing*).

Unfortunately i cannot confirm the similar fix to -unstable yesterday
is able to fix balloon problem, since i got some troubles creating
domU with the latest -unstable.

Demonstration:

$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     44.3
tty                1       40    0  -b---      0.9    9601

$ xm balloon tty 45
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     45.3
tty                1       45    0  -b---      0.9    9601

bun@dewey2:~/projects/myxen$ xm balloon tty 35
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0       92    0  r----     46.1
tty                1       35    0  -b---      0.9    9601



i can confirm that now (on -testing) "xm maxmem" also works :-)

bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0 0 92 0 r---- 101.4 tty 3 40 0 -b--- 0.7 9603

bun@dewey2:~/projects/myxen$ xm balloon tty 62
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0 0 92 0 r---- 102.1 tty 3 60 0 -b--- 0.7 9603

bun@dewey2:~/projects/myxen$ xm maxmem tty 62
bun@dewey2:~/projects/myxen$ xm balloon tty 62
bun@dewey2:~/projects/myxen$ xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0 0 92 0 r---- 103.2 tty 3 62 0 -b--- 0.7 9603



regards,
aq

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



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

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