Not so fair group scheduling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Dobriyan
Date: Thursday, March 13, 2008 - 8:21 am

Simple testcase:

a) 2 physical CPUs, not HT or something
b) root gets 1024 cpu_share according to /sys/kernel/uids/0/cpu-chare
c) user gets 1024 cpu_chare --//--

root runs 1 busy loop, user runs 2 busy loops
According to top they got 57% for root, and 66+77% for user. But they
should have 100%/50+50% division. Am I right?

If yes are there any patches to fix this available for testing?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Not so fair group scheduling, Alexey Dobriyan, (Thu Mar 13, 8:21 am)