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

Re: [Xen-users] memory issue on paravirtualized xen kernel

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] memory issue on paravirtualized xen kernel
From: Steve Allison <xen-users@xxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Jun 2011 08:22:15 +0100
Delivery-date: Mon, 27 Jun 2011 00:23:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTinm8dyFSXcMdnpxCLGLsfyvF3Wzag@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <BANLkTinm8dyFSXcMdnpxCLGLsfyvF3Wzag@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11
On 27/06/2011 01:20, Jingyun He wrote:
Hi, All
Today I downloaded the 2.6.37 Paravirtualized Kernel 32-bit for Xen
from http://www.stacklet.com, and installed it into domU,
After booting up the domU, I noticed the the memory inside the domU is
less than allocated memory.
e.g. I assigned 256M memory to the domU, but inside the domU, it only
has 244MB memory
[root@localhost ~]# free -m
              total       used       free     shared    buffers     cached
Mem:           244         35        209          0          2         19
-/+ buffers/cache:         13        231
Swap:            0          0          0

Any idea?

Thanks.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
I also noticed this change going from Debian Lenny (2.6.26) to Debian Squeeze (2.6.32) ...

It is affected by whether I used PyGrub or not. Without PyGrub the memory in the domU was correct, at 256M.

After some investigation however it seems that some reserved memory moves from the "used" column and instead diminishes the "total" column.

For example.....
2.6.32 with PyGrub gave me 244M total RAM, with 15M used, 229M available. 2.6.32 without PyGrub gave me 256M total RAM, with 27M used, 229M available.

.....so it didn't make any difference in the end.

I guess some reserved memory gets allocated differently?

--
May the ping be with you ..


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

<Prev in Thread] Current Thread [Next in Thread>