From: Dan Magenheimer Subject: RE: memory size inside domU less than memory in domU config Date: Thu, 16 Jun 2011 12:12:58 -0700 (PDT) Message-ID: References: <1308248350.28653.5.camel@mobile> <20110616184026.GA27795@dumpdata.com 1308249917.28653.6.camel@mobile> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1308249917.28653.6.camel@mobile> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: v.tolstov@selfip.ru, Konrad Wilk Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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 =3D 2097152KB; - 2016564KB =3D 80588KB =3D 78MB 4096MB =3D 4194304KB; - 4113716KB =3D 80588KB =3D 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@selfip.ru] > Sent: Thursday, June 16, 2011 12:45 PM > To: Konrad Rzeszutek Wilk > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] memory size inside domU less than memory in domU= config >=20 > 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=3D2048 and maxmemory=3D4096. 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 4096 ? > > > cat /proc/meminfo | grep MemTotal > MemTotal: 4113716 kB >=20 >=20 >=20 > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel