autotest/autotest — pull request #120 by ldoktor (2011-12-23 14:37:25+00:00)
Title: [KVM-autotest] tests.cgroup: Add cpu_cfs test and bugfixes

Hi guys,

Please find the cpu_cfs_util test which tests the usage of CFS scheduler when cpu.cfs_quota_us is set. It start-ups enough VMs to overcome twice all host's CPUs and sets 50% quota for each process. In theory the utilisation should be exactly 100%. We measure the difference between all host-times and guest times (/proc/stat). The utilisation should be over 95%. (turn off your Firefox, movie players and Thunderbirds if you are running it directly on your box ;-) )

The second patch contains minor changes and bugfixes.

Best regards and merry Christmas,
Lukáš Doktor