how much memory does xen itself need?
On a 4GB machine how much memory should I expect to be able to alot to guests? Assume for the sake of the discussion that I'm trying to run 5 domUs.
-Kip
Quoted 3 lines · Kip Macy
On a 4GB machine how much memory should I expect to be able to alot to guests? Assume for the sake of the discussion that I'm trying to run 5 domUs.
Xen will take 40MB. The rest is available for domains (inc. domain0).
-- Keir
Quoted 2 lines · Keir Fraser
Xen will take 40MB. The rest is available for domains (inc. domain0).
Hmm... this has increased over time. Is there a breakdown of what the 40MB is used for?
Quoted 7 lines · Chris Wedgwood
Quoted 2 lines · Keir Fraser
Xen will take 40MB. The rest is available for domains (inc. domain0).
Hmm... this has increased over time. Is there a breakdown of what the 40MB is used for?
This is only for a 4GB system. The breakdown is:
4MB: machine_to_phys table
12MB: Xen heap
24MB: frame_info for 4GB RAM
If you have x gigabytes RAM, 32-bit non-PAE Xen will require (16+6x)MB.
I think you can also reduce Xen's heap size -- I added a boot-time option but it isn't very tested.
-- Keir