Skip to contentSkip to conversation

how much memory does xen itself need?

DISCUSSION Kip Macy 3 participants 4 messages Apr 27, 2005 – Apr 28, 2005

lore
Share & tools
lore

Kip Macy

author
#0 lore raw

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

#1 lore raw
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

#2 lore raw
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?

#3 lore raw
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