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

[Xen-users] RHEL5 Xen can't allocate more then about 1.7GB RAM to HVM guest


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: "Kriz, Mike" <Mike_Kriz@xxxxxxx>
  • Date: Thu, 2 Aug 2007 14:29:16 -0500
  • Delivery-date: Thu, 02 Aug 2007 12:27:16 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • Thread-index: Ace45BNH+w4K9gbcTkWaaEhFmAJ6QwcVrXGQ
  • Thread-topic: RHEL5 Xen can't allocate more then about 1.7GB RAM to HVM guest

I'm trying to create guests on a 32 bit system that has 12GB of RAM
running RHEL5.  I want to give each guest 2GB, however I am running into
the following error upon creating the guests:

malloc returned error 12

Based on some searching, I've tried setting the dom0_mem at boot
manually to 1GB, as it seems this may be caused by not being able to
find enough continuous address space.  Not sure if the current RHEL5 xen
kernel has implemented the patch for that or not.

Here is my xm info:

release                : 2.6.18-8.1.8.el5xen
version                : #1 SMP Mon Jun 25 17:33:42 EDT 2007
machine                : i686
nr_cpus                : 4
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 2
threads_per_core       : 1
cpu_mhz                : 1995
hw_caps                :
bfebfbff:20100000:00000000:00000140:0004e33d:00000000:00000001
total_memory           : 12287
free_memory            : 4060
xen_major              : 3
xen_minor              : 0
xen_extra              : .3-rc5-8.1.8.el
xen_caps               : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p
xen_pagesize           : 4096
platform_params        : virt_start=0xf5800000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.1 20070105 (Red Hat 4.1.1-52)
cc_compile_by          : brewbuilder
cc_compile_domain      : build.redhat.com
cc_compile_date        : Mon Jun 25 17:03:19 EDT 2007
xend_config_format     : 2

I can give each guest up to about 1750MB, but once I approach the 1800MB
mark I run into that error.  Anyone have any ideas?  Thanks!


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

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