From: Keir Fraser Subject: Re: how much memory does xen itself need? Date: Thu, 28 Apr 2005 09:24:38 +0100 Message-ID: <3b06298164e7ed233d82bfa378fff078@cl.cam.ac.uk> References: <2f020aebea83e4b83ede7a8e57921275@cl.cam.ac.uk> <20050427235046.GB21340@taniwha.stupidest.org> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050427235046.GB21340@taniwha.stupidest.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chris Wedgwood Cc: Kip Macy , xen-devel List-Id: xen-devel@lists.xenproject.org On 28 Apr 2005, at 00:50, Chris Wedgwood wrote: > On Wed, Apr 27, 2005 at 04:30:58PM +0100, Keir Fraser wrote: > >> Xen will take 40MB. The rest is available for domains >> (inc. domain0). > > Hmm... this has increased over time. Is there a breakdown of what the > 40MB is used for? This is only for a 4GB system. The breakdown is: 4MB: machine_to_phys table 12MB: Xen heap 24MB: frame_info for 4GB RAM If you have x gigabytes RAM, 32-bit non-PAE Xen will require (16+6x)MB. I think you can also reduce Xen's heap size -- I added a boot-time option but it isn't very tested. -- Keir