User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

unix:linux:xen:dom0 [2019/12/05 16:56] (current)
rodolico created
Line 1: Line 1:
 +====== Xen DOM0 ======
 +===== Limit DOM0 memory =====
 +At times, the DOM0 will attempt to grab all RAM and make it where no virtuals can exist. There may be other reasons to limit the amount of memory available to the DOM0, though I generally like to give it a bunch so it can cache things.
 +However, you can limit the amount of memory the DOM0 can have by adding the following to /​etc/​default/​grub
 +<code bash default_grub>​
 +# Limit DOM0 memory to 4096M (4G) and allow to grow to 16384M (16G) if possible
 +After you have added this, you need to update your grub install with the following command.
 +<code bash>​update-grub2</​code>​
 +===== DOM0 and UEFI =====
 +I have run into some serious issues trying to get a DOM0 to boot with UEFI. A fresh Devuan (Debian) install works just fine, then when the Xen kernel is brought up, the boot fails. I don't remember the exact issue, but it has been around for several years.
 +The article at [[https://​​wiki/​Xen_EFI]] describes how to build a custom kernel.
 +However, I my fix is to simply set the server to boot into legacy BIOS mode. As long as that is an option, it appears to be better for the time being.
 +===== Links =====
 +  - https://​​wiki/​Xen_Project_Best_Practices
unix/linux/xen/dom0.txt ยท Last modified: 2019/12/05 16:56 by rodolico