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

Re: [Xen-users] Why limit dom0's memory?


  • To: "Gastón Keller" <gastonkeller@xxxxxxxxx>
  • From: "Todd Deshane" <deshantm@xxxxxxxxx>
  • Date: Sat, 14 Jun 2008 12:09:30 -0400
  • Cc: "Sandor W. Sklar" <ssklar@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Sat, 14 Jun 2008 09:10:05 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:references; b=jENVaPj5n86wrQKuFk52gZ+Yn2kMVXzWlldhaZtc0pe1V2+X61Z2jEvrmyiPBdJ95o bdAOSlyhRAadvljBx565+Cu7KFKWd1bHQXBmfjw0uZZBb4PctwAkZSEKuAw0FpGc3Uk+ pceXYB6DDPZIZiP526AvliGkdYkZ1cqHJh3aM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>



On Sat, Jun 14, 2008 at 11:58 AM, Gastón Keller <gastonkeller@xxxxxxxxx> wrote:
On Sat, Jun 14, 2008 at 11:47 AM, Sandor W. Sklar <ssklar@xxxxxxxxxxxx> wrote:
>
> On Jun 14, 2008, at 5:35 AM, Gastón Keller wrote:
>
>>>  I have this wrong, or am I not understanding something?
>>
>> AFAIK what some people is doing is setting a level of memory for Dom0
>> for it to never go down that level (giving memory to the guests). That
>> is, if you set the memory to 1 GB, Dom0 will allocate all your memory
>> except for that 1 GB. It's a way of ensuring that Dom0 will never run
>> out of memory.
>
> Ah, thanks!  That makes sense.  Is there some formula for determining how
> much memory a dom0 might need, given a system with X amount of RAM, and X
> number of guests?

I wouldn't know what to tell you. Sorry! =)

I don't think there is a magic formula like that anyway.

It will depend on what you are using the system for. You should try to minimize what
is run in dom0. You should make sure that your guests have sufficient memory so
that they are not thrashing the disk. All this depends on the load your system is
going to take on. Bottom line is that not running out of memory on Dom0 is first
priority, then guests. Always try to give some wiggle room if possible and do lots
of testing if you can.

For more information on Xen in book format, take a look at "Running Xen: A Hands-on
Guide to the Art of Virtualization" (http://runningxen.com)
 
Cheers,
Todd
_______________________________________________
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®.