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-users

Re: [Xen-users] strange xen memory calculations?

To: "Sebastian Reitenbach" <sebastia@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] strange xen memory calculations?
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Fri, 25 Jan 2008 18:30:48 +0530
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 25 Jan 2008 05:01:53 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=CTBB7bXUIILCkie+wQWcptpUwYHSElWK8peTYhx8hRc=; b=fAWZbwbIi8tglF9j1kA66JTQ1S6NZsj6DMwuvHk44yjeeDqV9AqTxYiusG8gIfW8TD7F5pzI9mMuicydIltGkLtM4UBrxZUmKqtWvYp7Ccdc7WHBlb9LinREBopci2lMyWG/L99xvIG1y790ITRm+BSKxDbhUq4PYkJoH9MLfD8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ivHHHiabrDH+edEYDGX6EFD5iIx6gwng7mNapavm7WwFfgIPHqJlGhzRruegvbRd4Ecct2zfuDLpnVzYdluzrbs9n5d0tK1HQnp7/YpmguOF9xVzkcU+JsGofQgTkCvdzoQ+l/J8cqeBwGATRmwIx3/KC1CcAvFULT9opws8pvA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080125123215.058223DE42@xxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20080125123215.058223DE42@xxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It looks like memory balooning issue.
You should assigning the memory in the multiple of 256MB instead of any random no.
It could be useful.

Thanks,
Trilok

On Jan 25, 2008 6:02 PM, Sebastian Reitenbach < sebastia@xxxxxxxxxxxxxxxxxxxx> wrote:
Hi,

I have started the xen kernel with parameter dom0_mem=300M.

xm info | grep total
total_memory           : 2045

Name      ID   Mem VCPUs      State   Time(s)
Domain-0   0   300     2     r-----     292.1
FTP            822     1                56.7
LDAP       1   822     1     r-----    541.3
NFS1           822     1                14.8
NFS2           822     1                 1.4

For the domU's I have 822 mb configured, the first runs, when I want to
start a second domU, then xend bails out because of missing memory:

xm create /etc/xen/vm/NFSPUBLIC
Using config file "/etc/xen/vm/NFSPUBLIC".
Error: I need 841728 KiB, but dom0_min_mem is 65536 and shrinking to 65536
KiB would leave only 302336 KiB free.

I know for all four domU's I do not have enough memory, but for two, it
should work:

300 + 2*822 = 1944 < 2045
I don't understand why xend thinks it needs the memory, how is this
calculated? I also set dom0_min_mem to 0 to stop ballooning at all, but that
did not helped either.

I am on sles10sp1 x86_64, using xen-3.0.4, the version that comes with the
system.

any hint is highly appreciated.
Sebastian


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

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>