Xen FAQ Dom0
- 1 Why cannot I see all my RAM on my Dom0?
- 2 Is there any way of checking DomU's I/O from Dom0?
- 3 Can I allocate one CPU to the Dom0 exclusively?
- 4 Running "xl info" I see the following memory available; what does the free memory mean?
- 5 Domain 0 Won't Shutdown and There Are ACPI Errors in the Boot Log
- 6 There are messages saying my IOMMU is disabled on my 55x0 chipset
- 7 Where do I find more Dom0 FAQs?
Why cannot I see all my RAM on my Dom0?
Domain 0 is a paravirt VM in reality, so the amount of ram you allocate to it is what you will see when using local tools like free, /proc/meminfo, top, etc.
To see the full system ram, you need to use the xl tools... and in this case, 'xl info' which will show you all the system resources, as opposed to the resources available to dom0.
Also, you have 16GB ram on the system... you probably already know this, but be aware that without a PAE enabled kernel (if you're using 32bit Xen) you'll only see 4GB of this. PAE will allow you to use up to 16, or maybe 32 (I don't remember what the upper limit for PAE enabled Xen is off the top of my head).
Is there any way of checking DomU's I/O from Dom0?
iostat (Debian: sysstat-package)
Can I allocate one CPU to the Dom0 exclusively?
Add this to the kernel boot line -
To force dom0 to also run on a single pcpu also add
To try on an active system without a Reboot, use the following commands -
# xl vcpu-set 0 1 # xl vcpu-pin 0 0 0
Running "xl info" I see the following memory available; what does the free memory mean?
total_memory : 2046 free_memory : 5
Free_memory from "xl info" shows memory not allocated to any domain (including dom0). "free", "top" (or whatever) shows free memory on that particular domain (in your case, dom0). You can adjust memory allocation per domain using "xl mem-set".
Domain 0 Won't Shutdown and There Are ACPI Errors in the Boot Log
If your ACPI is not functioning correctly, try adding "acpi=off" to the boot arguments in grub.conf.
There are messages saying my IOMMU is disabled on my 55x0 chipset
When booting, if you see:
(XEN) [VT-D]Disabling IOMMU due to Intel 5500/5520/X58 Chipset errata #47, #53 (XEN) I/O virtualisation disabled
consult this document for some workarounds.