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] Odd Behavior....

To: "Samir Faci" <samir.list@xxxxxxxxx>
Subject: Re: [Xen-users] Odd Behavior....
From: "trilok nuwal" <tc.nuwal@xxxxxxxxx>
Date: Mon, 20 Aug 2007 13:20:31 +0530
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 20 Aug 2007 00:51:12 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ncwZY5sNmYIMAvNFcPWAf0nZ0Z4ailkKj0sSZHzU4cC8htm7LWC6uvIfNc5rp50W83k9htdJqppqCSuS5iCYtj+5IQs35Q2mE6XgdFhJXX1CYlkhE83nWnxAQU7lHYBhh4odCMAxPl0LnGXjAn+9sYuRaASckqlExvLZrN/xhS0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=R4nTMvBzl8WKNNdXRkcvymQBe65ziQdUHTabWpF2PzSycEN0lFitgChlsfOKUY7V6wtOaaD3+NhHYGwdJjMwuN3o1mo94HCekuVOV7/OASCE3fTxkO2raQZhQfhJCfXa5XQgeFIuHvak6dkrRFI93vtUDUUaqh44XCTm7DP5ZNQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1e6142750708171217x726ed14aqd69bc98f23c1f5f0@xxxxxxxxxxxxxx>
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: <1e6142750708171217x726ed14aqd69bc98f23c1f5f0@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
This looks like a memory baolloning problem. It has some problem in continuous memory allocation for the domain. You could try one thing , set dom0 memory to 1024M using dom0_mem=1024M then try to create the domains then it could not be in memory allocation problem.

You have to pass to dom0_mem=1024M to dom0 kernel command line arguments and reboot the machine.

Mostly this will resolve the probelm

Thanks,
Trilok


On 8/18/07, Samir Faci <samir.list@xxxxxxxxx> wrote:
I have several winxp machines defined, and they all seem to be working fine. 

My main server has 4GB of ram, and each of the client is allocated 384 MB.

For some reason once I have 4 machines up, it runs out of memory.

#free -m

             total       used       free     shared    buffers     cached
Mem:          3896        210       3685          0          3         19
-/+ buffers/cache:        187       3708
Swap:         7624          0       7624


#xm list
Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0  3896     2     r-----     11.2


#xm info

host                   : xen-testbed
release                : 2.6.16.52-xen
version                : #7 SMP Thu Aug 16 19:41:09 CDT 2007
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2812
hw_caps                : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory           : 4094
free_memory            : 127
xen_major              : 3
xen_minor              : 0
xen_extra              : .4-1
xen_caps               : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5 , ssp-3.4.6-1.0
cc_compile_by          : root
cc_compile_domain      : (none)
cc_compile_date        : Thu Aug  9 16:21:48 CDT 2007
xend_config_format     : 3

then I create 4 winxp machines with the same specs...

#xm list

Name                                      ID   Mem VCPUs      State   Time(s)
Domain-0                                   0  2423     2     r-----    30.8
winxp                                      1   392     1     -b----      5.5
winxp2                                     2   392     1     ------      4.2
winxp3                                     3   392     1     ------      3.8
winxp4                                     4   392     1     r-----      1.5

now when I run

#free -m             total       used       free     shared    buffers     cached
Mem:          2423        314       2108          0          6         97
-/+ buffers/cache:        210       2212
Swap:         7624          0       7624


and when I try to create a 5th machine, I get an out of memory error.

Now, am I not understanding something, but why is my system memory dropping to 2423 in this case, should the total memory be constance at 4gb, it also claimes to have 2108 free (which makes sense if the system had 4gb) but then it claims it doesn't have enough memory to allocate the 384 for the 5th machine.

Xm info on the other hand, still sees 4g, and has 401 Ram free.  I'm not sure why starting 4 machines with 384 mb, would drop the memory so much.  Am I not understanding something, or missing something obvious?  Please help.


#xm info
host                   : xen-testbed
release                : 2.6.16.52-xen
version                : #7 SMP Thu Aug 16 19:41:09 CDT 2007
machine                : x86_64
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 1
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 2812
hw_caps                : 178bfbff:ebd3fbff:00000000:00000010:00002001:00000000:0000001f
total_memory           : 4094
free_memory            : 401
xen_major              : 3
xen_minor              : 0
xen_extra              : .4-1
xen_caps               : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
cc_compiler            : gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5 , ssp-3.4.6-1.0
cc_compile_by          : root
cc_compile_domain      : (none)
cc_compile_date        : Thu Aug  9 16:21:48 CDT 2007
xend_config_format     : 3







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