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

[Xen-users] Odd Behavior....

To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Odd Behavior....
From: "Samir Faci" <samir.list@xxxxxxxxx>
Date: Fri, 17 Aug 2007 14:17:56 -0500
Delivery-date: Fri, 17 Aug 2007 12:18:35 -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:mime-version:content-type; b=ZIgT5A6zJ1hrV893JFMgepv4vez/RdAb9Ve6WEp0UhJax40zmiiXYD17ttNQhHy/0p8O+OYWFNxGuHnWxj0PGRgIkRX8JhMJILOiWGfi7C4Kh/4JFg3gCsBpu4vCQ4zGzuS6v0AH/cPsG4GRZgNBwHDlp5yDdZFUcYTpcNmRepE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=fLqbnGFy7pu5oB6+XcyzRYEVEvxgzOU3rl+4RcU+6YVgrcPD061MG/SsMTqZm5Pg/DO24Qquu3GFfj0f7/EJmVr/zixySlKd/RjynSTLBNUkXl50sPtpO5+DESevZacpApP5+8MN/IkJIrljGOl9aIERqzLjxXdFlT0jaJe55FI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>