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

Re: [Xen-devel] Can't get a VM to use more than ~900M

On Wed, Dec 15, 2004 at 10:47:44AM -0800, Goldenhar, Josh wrote:
> Hey all - sorry for any formatting errors, I'm using MS Outlook
> In a new job here - I'm as ashamed as you are shocked... ;-)
> I've looked through the archive and haven't spotted an answer to
> this, it's driving me a little buggy.
> I have an HP DL360 G3 - 2x 2.8GHz Xeons with 4.5GB of RAM.
> I'm running the precompiled 2.0.1 Xen you can download. I'm
> Aware I can only make use of up to 4GB total.
> The dom0 kernel, or the domU kernel only seems to address about
> 900MB (per top, /proc/meminfo: MemTotal:       904312 kB)
> Regardless of what I set it to. I have one instance of a VM set up
> With 2GB or RAM:
> Name              Id  Mem(MB)  CPU  State  Time(s)  Console
> Domain-0           0      507    0  r----     91.4
> ObidosTest         1     2047    1  r----    978.2    9601
> Were you can see that ObidosTest has been started with 2048MB
> But cat /proc/xen/memory_target reveals 939524096
> When I've modified grub.conf mem_dom0= line to anything over 900MB
> It also tops out at 900MB.
> Xm baloon commands don't seem to make a difference either...
> Help?

The dom-U kernel may not have been compiled with support for > 1GB of memory.

Get the xen source, compile, and run:
make -C linux-2.6.9-xenU ARCH=xen menuconfig

Go to:
X86 Processor Configuration
 --> High Memory Support
     and choose 4GB

Recompile, and the kernel and its modules should be in dist/install

Luciano Rocha

SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
Xen-devel mailing list



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