1

Why is my host OS swapping my KVM VMs out?

view story
linux-howto

http://serverfault.com – I have a desktop running Ubuntu Quantal using OpenStack Folsom on an Intel i5 with 32 GB RAM and 2 GB swap. I'm running 7 VMs each sized like a EC2 m1.small, so 1.7 GB RAM each. I'm using KVM. As I get up to running 5 or 6 concurrently, the host starts to swap them out: top - 23:45:42 up 3 days, 1:51, 10 users, load average: 0.37, 0.75, 1.15 Tasks: 418 total, 2 running, 413 sleeping, 3 stopped, 0 zombie %Cpu(s): 8.8 us, 2.1 sy, 0.0 ni, 88.8 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st KiB Mem: 32864580 total, 32586956 used, 277624 free, 574236 buffers KiB Swap: 1998844 total, 1 (HowTos)