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

Re: [Xen-users] set Domain-0 default memory allocation


  • To: W D <ditwal001@xxxxxxxxxxx>
  • From: Ilya Kozlov <unicast.ru@xxxxxxxxx>
  • Date: Mon, 11 Oct 2010 21:00:58 +0400
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 11 Oct 2010 10:03:38 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=Mor+qEanqrsP9YIPzYd2SiY9LPhDpNq6Ca8WLsZKKW3C1TbIWfYm05IBqzhbMt7p/V wmTnhLuxSN/T8OA1EZPeiNOTubI/A0PSF+ggUMSRqpagod+yyUlyXxThu0aQelfDul4P 6ku5pzTIKQjCpfVI6DZ27Thm2S5KczzAxGIJU=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi.

You can addÂGRUB_CMDLINE_XEN="iommu=off dom0_mem=4096M" toÂ/etc/default/grub

2010/10/11 W D <ditwal001@xxxxxxxxxxx>
hi folks,
Â
anyone around who knows how to setup grub2 to allow at boot time a static memory allocation for the Domain-0. I use debain squeeze, lates update's and my actual grub2 config doesn't work automaticlly at boot time. i configured the arg "dom0_mem=4096M" in theÂgrub.cfg section multibootÂas shownÂbellow:
Â
***
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-xen-amd64 and XEN 4.0-amd64' --class debian --class gnu-linux --class gnu --class os --class xen {
ÂÂÂÂÂÂÂ insmod raid
ÂÂÂÂÂÂÂ insmod mdraid
ÂÂÂÂÂÂÂ insmod part_msdos
ÂÂÂÂÂÂÂ insmod part_msdos
ÂÂÂÂÂÂÂ insmod ext2
ÂÂÂÂÂÂÂ set root='(md1)'
ÂÂÂÂÂÂÂ search --no-floppy --fs-uuid --set 577b749a-2133-4fd7-8c11-cd6bdbe54077
ÂÂÂÂÂÂÂ echoÂÂÂ 'Loading Linux 2.6.32-5-xen-amd64 ...'
ÂÂÂÂÂÂÂ multibootÂÂÂÂÂÂ /boot/xen-4.0-amd64.gz placeholder iommu=off dom0_mem=4096M
 module /boot/vmlinuz-2.6.32-5-xen-amd64 placeholder root=UUID=577b749a-2133-4fd7-8c11-cd6bdbe54077 ro quiet
ÂÂÂÂÂÂÂ echoÂÂÂ 'Loading initial ramdisk ...'
 module /boot/initrd.img-2.6.32-5-xen-amd64
}
***
thanks a lot :-)Â

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



--
WBR, Kozlov Ilya AKA unicast AKA Lin

_______________________________________________
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®.