[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


  • To: "Luciano Miguel Ferreira Rocha" <strange@xxxxxxxxxxxxx>
  • From: "Goldenhar, Josh" <goldenha@xxxxxxxxxx>
  • Date: Wed, 15 Dec 2004 12:00:51 -0800
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 15 Dec 2004 20:02:52 +0000
  • List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
  • Thread-index: AcTi3DCI4oPnL2fPRFyDF2Svx1azIgABHJyQ
  • Thread-topic: [Xen-devel] Can't get a VM to use more than ~900M

Thanks Luciano and Ian - I was just being a bonehead....

Working now... 3GB virtual machine.

Josh 

-----Original Message-----
From: Luciano Miguel Ferreira Rocha [mailto:strange@xxxxxxxxxxxxx] 
Sent: Wednesday, December 15, 2004 11:28 AM
To: Goldenhar, Josh
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: 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

Regards,
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.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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