cgroup problem

If you want to talk about your personal paperweight, you've found the right place!

Moderator: Moderators

cgroup problem

Postby zvidubi » Fri Feb 18, 2011 10:02

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 2.6.35.6-45.fc14.x86_64
my group tree is :/dev/cgroup/cpu/group1 and /dev/cgroup/cpuset/group1
zvidubi
Baby Hen
 
Posts: 1
Joined: Fri Feb 18, 2011 9:41

Re: cgroup problem

Postby micia » Fri Feb 18, 2011 15:40

Hi!

zvidubi wrote:I am using fedora 14 and kernel 2.6.35.6-45.fc14.x86_64
my group tree is :/dev/cgroup/cpu/group1 and /dev/cgroup/cpuset/group1

If you are using Fedora 14 and a Fedora Kernel, why do you ask your questions here?
User avatar
micia
Sagely Hen
 
Posts: 2710
Joined: Wed Nov 26, 2008 16:41


Return to Off Topic

Who is online

Users browsing this forum: No registered users and 0 guests