[PATCH] [kvm-autotest] tests.cgroup: Add CpuShare test

2011-11-28 Thread Lukas Doktor
* Adds base _TestCpuShare * Adds TestCpuShare10 - cpu.shares ratio is 1:10 * Adds TestCpuShare50 - cpu.shares ratio is 1:1 * cgroup_common - incorrect lookup for mounted cgroups * kvm cgroup - sort the executed tests (per expression) * minor bugfixies Tests the cpu.share cgroup capability. I

[kvm-autotest] tests.cgroup: Add CpuShare test

2011-11-28 Thread Lukas Doktor
Hi guys, I have a new kvm cgroup test for you. This time it's in cpu cgroup and it uses cpu.shares capability. It modifies the number of shares/time_slices which each process gets from the scheduler As the verification is kind of tricky I'm testing only three different scenerios and only symetric