I specify in a group under cpu subsystem the cpu.rt_runtime_us and cpu.rt_period_us times with a certain ratio x between them ( x< 1) . Then when I later run a task in that group I get cpu usage (see top) of 2x% instead of x % . I am using 1 cpu in that group while the host has total of 2 cpus(0 and 1) .This is specified in cpuset subsystem/ by cpuset.cpus =0.
Any idea why this 2x% instead of x%
I am using fedora 14 and kernel 188.8.131.52-45.fc14.x86_64 my group tree is :/dev/cgroup/cpu/group1 and /dev/cgroup/cpuset/group1