[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Odd Behavior....


  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.