Tuning Xen for Performance: Difference between revisions

From Xen
Jump to navigationJump to search
(Created page with "== Tuning your Xen installation: recommended settings == === Storage options === See Storage_options === Memory === If the dom0 Host-to-be has more memory than a typical l…")
 
No edit summary
Line 2: Line 2:


=== Storage options ===
=== Storage options ===
See [[Storage_options]]
See [[Storage_options]].




=== Memory ===
=== Memory ===
If the dom0 Host-to-be has more memory than a typical laptop/desktop system has, then do not rely on dom0 ballooning.
If the dom0 Host-to-be has more memory than a typical laptop/desktop system has, then do not rely on dom0 ballooning.
Instead set the dom0 ram to something between 1 and 4GB using dom0_mem=1024M
Instead set the dom0 ram to something between 1 and 4GB adding dom0_mem=1024M to the Xen command line.


1GB is enough for a pretty large host, more will be needed if you expect your users to use advanced storage types as ZFS or distributed filesystems.
1GB is enough for a pretty large host, more will be needed if you expect your users to use advanced storage types as ZFS or distributed filesystems.


The reason to not give all ram to dom0 is that it takes time to re-purpose it went domUs are started. On a host with 128GB Ram you're getting things stuck for minutes while dom0 is ballooning down to make space.
The reason to not give all ram to dom0 is that it takes time to re-purpose it went domUs are started. On a host with 128GB Ram you're getting things stuck for minutes while dom0 is ballooning down to make space.


=== HAP vs. shadow ===

=== PV vs PV on HVM ===-

Revision as of 14:18, 25 June 2012

Tuning your Xen installation: recommended settings

Storage options

See Storage_options.


Memory

If the dom0 Host-to-be has more memory than a typical laptop/desktop system has, then do not rely on dom0 ballooning. Instead set the dom0 ram to something between 1 and 4GB adding dom0_mem=1024M to the Xen command line.

1GB is enough for a pretty large host, more will be needed if you expect your users to use advanced storage types as ZFS or distributed filesystems.

The reason to not give all ram to dom0 is that it takes time to re-purpose it went domUs are started. On a host with 128GB Ram you're getting things stuck for minutes while dom0 is ballooning down to make space.


HAP vs. shadow

=== PV vs PV on HVM ===-