Mailing List Archive

Dom 0 Memory
Hi everybody,
I have a problem defining the domain 0 memory. I add these lines in the
/boot/grub/menu.lst:


title Xen 2.0 / XenLinux 2.6.11
root (hd0,0)
kernel /xen.gz dom0_mem=64000
module /vmlinuz-2.6.11-xen0 root=/dev/hda3 ro console=tty0

My computer has 128 Mb of RAM, but if I use that value my machine crashes
when I reboot it.

When I reboot my computer with dom0_mem=64000, boot with Xen, and execute
top, I get that
I only have 59132k:

Tasks: 50 total, 3 running, 47 sleeping, 0 stopped, 0 zombie
Cpu(s): 76.3% us, 23.3% sy, 0.0% ni, 0.0% id, 0.0% wa, 0.0% hi, 0.3% si
Mem: 59132k total, 54920k used, 4212k free, 5136k buffers
Swap: 498004k total, 2564k used, 495440k free, 13548k cached

So I don't really know if I have to set dom0_mem value to the total amount
of memory that I
have on my system or It has to be only the memory that dom0_mem is gonna use
and it's independient of the rest
of the domains memory.
Re: Dom 0 Memory [ In reply to ]
The parameter is how much memory to initially reserve for dom0 (and thus
determines how much spare memory is available for other domains).

Xen itself needs some memory, so you can't give the whole 128Meg to dom0.
Your 64Meg scenario should be fine, although you'll want a RAM upgrade to
do anything serious.

Cheers,
Mark

On Jun 8 2005, Miguel Gómez wrote:

> (Message body was not text: suppressed)


_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Re: Dom 0 Memory [ In reply to ]
Thank you for your help, Mark. I'm really thinking in a RAM upgrade.

Regards,
Miguel.