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-devel

Re: [Xen-devel] memory size inside domU less than memory in domU config

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: Re: [Xen-devel] memory size inside domU less than memory in domU config
From: Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Date: Mon, 20 Jun 2011 18:55:04 +0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Mon, 20 Jun 2011 07:55:50 -0700
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=selfip.ru; s=dk; h=Content-Transfer-Encoding:Mime-Version:Message-ID:Date:Content-Type:References:In-Reply-To:Cc:To:Reply-To:From:Subject; bh=LruH9Urf4bTtWxQttbDblO4ioSWsyPfXL04FauriN00=; b=kb6VYiHIbr+EHRtwPNapFNsA139fQ3nYgnexjj+ikoxCFQEk+ChfGahzN+vEZ2fo5ZKwdjavlASrjiSkhF8Cr/FKzHzjgTlPkHHdr+g1PCCLc32BguF9byUxIYOnVoBG;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20110620143611.GA15251@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Selfip.Ru
References: <1308248350.28653.5.camel@mobile> <4DFB3FD50200007800047F63@xxxxxxxxxxxxxxxxxxxx> <1308304996.524.0.camel@vase> <20110620143611.GA15251@xxxxxxxxxxxx>
Reply-to: v.tolstov@xxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2011-06-20 at 10:36 -0400, Konrad Rzeszutek Wilk wrote:

> So I tried the same experiment - a physical machine with 'mem=1G' provided
> and an PV guest with 'mem=1G'. The same exact kernel in both cases and got:
> 
> Machine with 'mem=1G' on the command line.
> [    0.000000] Memory: 1022756k/1048576k available (5851k kernel code, 452k 
> absent, 25368k reserved, 2881k data, 688k init)
> 
> PV guest:
> [    0.000000] Memory: 1018888k/1048576k available (5851k kernel code, 448k 
> absent, 29240k reserved, 2881k data, 688k init)
> 
> So a DomU guest "eats" an extra 4MB compared to running it under baremetal.
> (Note, the DomU guest has no balloon space in this example).
> 
> The memblock=debug does provide the info of what the "other" reserved regions 
> are
> and it looks to be the matter of just going through the numbers to figure out 
> what
> it is.
> 

Can You provide pv kernel cmdline and config file ?

-- 
Vasiliy G Tolstov <v.tolstov@xxxxxxxxx>
Selfip.Ru


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