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

Re: [Xen-users] Xen not seeing all the memory in the box


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jan Hejl <jh@xxxxxxxxxx>
  • Date: Sat, 13 Apr 2013 00:54:02 +0200
  • Delivery-date: Fri, 12 Apr 2013 22:55:10 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=excello.cz; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type; q=dns; s=default; b=KNoo+/aTMAIbcWqmumCX4Vtm/wxHU B3Ncvy2k3QXg8WsSi2kQvNRflg0UVQ8CHjS9bVDHC3lPAed9JTwYI0bBH9rvUptX NajoPfckcz/c+I0/1cETQ71fKJWaNchusEx
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Try to add dom0_mem=16G,max:16G to your xen kernel line in GRUB config.

Dne 13.4.2013 00:26, Rich Wales napsal(a):
I'm running Xen 4.1 (4.1.3-3ubuntu1.3) on an Ubuntu 12.10 server with
an AMD FX-8150 processor (8 cores) and 16 GB of RAM.

When I boot the server, Xen sees only 3 GB of RAM (instead of 16 GB).
If I try to create a domU with more than about 1.5 GB of RAM, the create
fails with messages saying it "could not allocate memory for HVM guest".

Here's the output when I do "xl info" with no domU's running.  Note the
"total_memory" line.

host                   : panda
release                : 3.5.0-27-generic
version                : #46-Ubuntu SMP Mon Mar 25 19:58:17 UTC 2013
machine                : x86_64
nr_cpus                : 8
nr_nodes               : 1
cores_per_socket       : 4
threads_per_core       : 2
cpu_mhz                : 3612
hw_caps                :
178bf3ff:2fd3fbff:00000000:00001710:12982203:00000000:01c9bfff:00000000
virt_caps              : hvm
total_memory           : 3010
free_memory            : 1949
free_cpus              : 0
xen_major              : 4
xen_minor              : 1
xen_extra              : .3
xen_caps               : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32
hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler          : credit
xen_pagesize           : 4096
platform_params        : virt_start=0xffff800000000000
xen_changeset          : unavailable
xen_commandline        : placeholder dom0_mem=1G,max:1G dom0_max_vcpus=2
cc_compiler            : gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
cc_compile_by          : stefan.bader
cc_compile_domain      : canonical.com
cc_compile_date        : Mon Feb  4 16:43:33 UTC 2013
xend_config_format     : 4

If I boot a regular Ubuntu kernel, it sees all 16 GB of RAM.  And I ran a
memory test overnight, and the memory is all good.

Any suggestions for how to make Xen able to use all the RAM on the machine?

Rich Wales
richw@xxxxxxxxx

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


Attachment: smime.p7s
Description: Elektronicky podpis S/MIME

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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