Wednesday, June 29, 2011

How to increase the memory size of Domain-0 or Dom0

Advertisements

You can increase the size of the xen domain-0 or Dom0 by editing the grub.conf file as fowllows.

Here in this example we have given the size as 2Gb thats 2048Mb. You can change it according to your requirement. dom0_mem=2048M

And the save the file and restart the system.

default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu

title CentOS (2.6.18-238.12.1.el5xen)
root (hd0,0)
kernel /xen.gz-2.6.18-238.12.1.el5 dom0_mem=2048M
module /vmlinuz-2.6.18-238.12.1.el5xen ro root=LABEL=/
module /initrd-2.6.18-238.12.1.el5xen.img
title CentOS (2.6.18-238.12.1.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.12.1.el5 ro root=LABEL=/
initrd /initrd-2.6.18-238.12.1.el5.img
title CentOS (2.6.18-238.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-238.el5 ro root=LABEL=/
initrd /initrd-2.6.18-238.el5.img

No comments:

Post a Comment

Be nice. That's all.