Re: [RFC] [PATCH 0/3] Add group fairness to CFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 23, 2007 at 08:12:12PM +0200, Guillaume Chazarain wrote:
> o Doing an infinite loop as root seems to badly affect interactivity
> much more than with a normal user. Note that this is subjective, so
> maybe I'm smocking crack here.

CPU hogs as a distinct user will end up entitled to a whole user's
share of CPU bandwidth. That's just what it implements.


On Wed, May 23, 2007 at 08:12:12PM +0200, Guillaume Chazarain wrote:
> o Nice values are not reflected across users. From my test, if user1
> has a single busy loop at nice 19, and user2 a single busy loop at
> nice 0, both process will have a 50% CPU share, this looks wrong. Note
> that I have no idea how to solve this one.

This depends on how nice levels nest with task group weighting. If
they nest within task group weightings, the shares of CPU bandwidth
for single tasks having their own dedicated task groups will not
vary with nice number. It's harder to do the other way around with
hierarchical scheduling, but easy if the task groups merely determine
task weights.


-- wli
_______________________________________________
Containers mailing list
Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux