XEN Best Practices and Tweaks

I know this will be more than a little cryptic but it is mostly for my future benefit.

Disable powersaved
Grub Additional Xen Hypervisor Params: dom0_mem=2G

Multi Vlan Config: setup ip on eth0 and leave eth1 for vlan tagging and modify config settings for eth1 bridged nic

# sysctl Optimizations for XEN
vm.swappiness = 0
vm.overcommit_memory = 1
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_expire_centisecs = 1000
dev.rtc.max-user-freq = 1024

aoe init script with /usr/sbin/ symlink

NIC: tcp offload engine (reduce cpu load and number of interrupts as well)
ethtool -K ethx tso of

Change /boot to ext2

Leave a Reply