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: v.tolstov@xxxxxxxxx, Konrad Wilk <konrad.wilk@xxxxxxxxxx>
Subject: RE: [Xen-devel] memory size inside domU less than memory in domU config
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Thu, 16 Jun 2011 12:12:58 -0700 (PDT)
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 16 Jun 2011 12:13:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1308249917.28653.6.camel@mobile>
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>
References: <1308248350.28653.5.camel@mobile> <20110616184026.GA27795@xxxxxxxxxxxx 1308249917.28653.6.camel@mobile>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'm not sure, but I think Vasiliy's question is:

Why/where is 78MB of memory being "wasted"?  If one specifies
2048MB (4096MB) of memory for the guest, why doesn't the guest
kernel report 2048MB (4096MB)?

Using Vasiliy's /proc/meminfo output from below:
2048MB = 2097152KB; - 2016564KB = 80588KB = 78MB
4096MB = 4194304KB; - 4113716KB = 80588KB = 78MB

Dan

Thanks... for the memory!
I really could use more / my throughput's on the floor
The balloon is flat / my swap disk's fat / I've OOM's in store
Overcommitted so much
(with apologies to Bob Hope)


> -----Original Message-----
> From: Vasiliy G Tolstov [mailto:v.tolstov@xxxxxxxxx]
> Sent: Thursday, June 16, 2011 12:45 PM
> To: Konrad Rzeszutek Wilk
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] memory size inside domU less than memory in domU 
> config
> 
> On Thu, 2011-06-16 at 14:40 -0400, Konrad Rzeszutek Wilk wrote:
> > On Thu, Jun 16, 2011 at 10:19:10PM +0400, Vasiliy G Tolstov wrote:
> > > Hello. I'm try to use linux-3.0.0-rc1 in domU.
> > > Domain created with memory=2048 and maxmemory=4096. Inside domU i have
> > > cat /proc/meminfo  | grep MemTotal
> > > MemTotal:        2016564 kB
> > >
> > > Why. Kernel boot log and config in attached files. How can i minimize
> > > memory difference with config value and inside domU?
> >
> > Well, ballon it up? xl mem-set <domain id> 4096 ?
> >
> cat /proc/meminfo  | grep MemTotal
> MemTotal:        4113716 kB
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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