lkml.org 
[lkml]   [2008]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectNot so fair group scheduling
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?



\
 
 \ /
  Last update: 2008-03-13 16:25    [W:0.040 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site