|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Kernel memory initialisation
Hi,
I have a small problem on small (128Mo) PV DomU : the kernel use too
much memory.
By default if I start my DomU kernel (2.6.39.3) with "memory = 128" in
the xmdomain cfg, I obtain only 54MB of usable memory :
# head -n 1 /proc/meminfo
MemTotal: 54844 kB
While searching, I found that Xen (I guess) annouce 4GB of ram to the
kernel, so in logs I have :
# grep Memory /var/log/kern.log | tail -n1
Jul 18 12:40:10 roy kernel: [ 0.000000] Memory: 46492k/4202496k
available (2894k kernel code, 4063680k absent, 92324k reserved, 1826k
data, 444k init)
Then I add mem=128M in "extra" area of my xmdomain cfg, and now I have a
descent amount of usable memory (119MB) :
# head -n 1 /proc/meminfo
MemTotal: 122708 kB
# grep Memory /var/log/kern.log | tail -n1
Jul 18 13:14:10 roy kernel: [ 0.000000] Memory: 114356k/131072k
available (2894k kernel code, 448k absent, 16268k reserved, 1826k data,
444k init)
But adding this parameter is not a "good" solution for me, so : is there
a way to adjust the ratio of memory between the current memory usage and
the amount of memory announced to the kernel ? (I only use 64bits systems)
Thanks,
Olivier
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] Kernel memory initialisation,
Olivier B. <=
|
|
|
|
|