Yes, i know KSM is enabled by default, i just didn't know i can configure it through /etc/default/qemu-kvm . After running the script for around 10 days i didn't notice any huge improvement ( the vm's were already running ). I also didn't notice any increase in CPU usage with KSM_MONITOR_INTERVAL=60 ( loadavg stays around ~1 ). The host machine is a 2xXeon5520 with 12G ram, running 6 VM's with total of 12G ram assigned to them ( yea i know it's pushing it ). I have a scheduled downtime in two weeks and i'll see if i can get some tweaking going then.
----- Original Message ----- > Further to this.... > > 1. KSM is enabled and running by default in Ubuntu 10.04 > 2. The default polling scan frequency is left at the (perhaps > egregious) upstream Linux kernel default of 20ms. > 3. As Serge mentions, several people have complained about that being > to frequent. Other people have complained about higher values being > not frequent enough to be useful > 4. In any case, this is totally and trivially configurable in your > /etc/default/qemu-kvm file. Edit that to your heart's content and > then 'sudo restart qemu-kvm'. > > Cheers, > :-Dustin -- Nikolai K. Bochev System Administrator -- ubuntu-server mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
