[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-users
Subject:    Re: [Xen-users] Memory Sizing Guidelines
From:       Paul Waldo <pwaldo () waldoware ! com>
Date:       2007-10-20 11:27:35
Message-ID: 4719E627.40807 () waldoware ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Christian Horn wrote:
> On Fri, Oct 19, 2007 at 09:46:36AM -0400, Paul Waldo wrote:
>   
>> I have searched in vain on google for tips on memory sizing but have had 
>> no luck.  What are the guidelines for allocating memory amongst the Dom0 
>> and the DomUs?
>>     
> dom0: advises range from reserving 128MB to 512MB if you arent running heavy 
> 	applications in dom0 (which should be moved into domUs).
> domU: The kernel and applications running there handle memory as they do
> 	on usual servers, so size as usual here, mainly depending on the
> 	applications you will run.
>
>   
>> As an example, I have a Xen server that has 2 GB memory.  I want to 
>> create 2 DomUs.  If these were standalone machines, 1GB each would be 
>> fine.  How would I partition this memory under Xen?
>>     
> 256MB for dom0, rest split up for the 2 domU would be my guess.
>
>
> Christian
>   
Thanks for the reply, Christian.  The only services I plan on running on 
dom0 are ones that support the domU, so it should be pretty light.  I 
guess the main issue is disk caching.  Linux uses free memory to cache 
disk, so where should that happen, the dom0 or the domU?

Paul

[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Christian Horn wrote:
<blockquote cite="mid20071019140929.GA9599@fluxcoil.net" type="cite">
  <pre wrap="">On Fri, Oct 19, 2007 at 09:46:36AM -0400, Paul Waldo wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have searched in vain on google for tips on memory sizing but have had 
no luck.  What are the guidelines for allocating memory amongst the Dom0 
and the DomUs?
    </pre>
  </blockquote>
  <pre wrap=""><!---->dom0: advises range from reserving 128MB to 512MB if you arent running heavy 
	applications in dom0 (which should be moved into domUs).
domU: The kernel and applications running there handle memory as they do
	on usual servers, so size as usual here, mainly depending on the
	applications you will run.

  </pre>
  <blockquote type="cite">
    <pre wrap="">As an example, I have a Xen server that has 2 GB memory.  I want to 
create 2 DomUs.  If these were standalone machines, 1GB each would be 
fine.  How would I partition this memory under Xen?
    </pre>
  </blockquote>
  <pre wrap=""><!---->256MB for dom0, rest split up for the 2 domU would be my guess.


Christian
  </pre>
</blockquote>
Thanks for the reply, Christian.&nbsp; The only services I plan on running
on dom0 are ones that support the domU, so it should be pretty light.&nbsp;
I guess the main issue is disk caching.&nbsp; Linux uses free memory to
cache disk, so where should that happen, the dom0 or the domU?<br>
<br>
Paul<br>
</body>
</html>


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic