Find the answer to your Linux question:
Results 1 to 1 of 1
Using the kernel cgroups option: I specify group1 under cpu subsystem with cpu.rt_runtime_us and cpu.rt_period_us times that have a certain ratio x between them ( x< 1) . I later ...
  1. #1
    Just Joined!
    Join Date
    Feb 2011
    Posts
    10

    Exclamation cgroups under fedora

    Using the kernel cgroups option:
    I specify group1 under cpu subsystem with cpu.rt_runtime_us and cpu.rt_period_us times that have a certain ratio x between them ( x< 1) .
    I later run a task in that group and get cpu usage (using Linux top utility)
    of 2*100x% instead of 100*x % .
    I am using 1 cpu in group1 while the host has total of 2 cpus(denoted 0 and 1) .This is specified in cpuset subsystem by cpuset.cpus =0.

    Any idea why this 2*100x% instead of 100*x% ?

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

    Posts: 1
    Joined: Fri Feb 18, 2011 10:41
    Private message Posts: 1
    Joined: Fri Feb 18, 2011 10:41
    Private message
    Last edited by dubi; 02-18-2011 at 03:53 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...