[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.