WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

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


On Jun 14, 2008, at 11:48 AM, Rudi Ahlers wrote:

Sandor W. Sklar 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?

   -s-
The "formula" would largely depend on what you're going to run on dom0, and is roughly the same as for a domU instance. On a VPS server, which only serves domU VPS, you probably won't need more than 512MB RAM. All our VPS servers run min. 512MB RAM, which is enough for SSH, FTP, exim, Squid, syslogd, etc to run. All the other services (MySQL, Apache, PostgreSQL, etc) are run from the domU VPShth

Well, of course, the amount of memory that a dom0 needs depends upon the service running within it. I guess I didn't word my question explicitly enough. Is there a formula for determine how much memory a dom0 might need, given a system with X amount of RAM, and X number of guests, assuming there are no other services running in the dom0?


Thanks,
        -s-

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users