lkml.org 
[lkml]   [2016]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: sched: tweak select_idle_sibling to look for idle threads
From
Date
On Tue, 2016-05-10 at 07:26 +0800, Yuyang Du wrote:

> By cpu reservation, you mean the various averages in select_task_rq_fair?
> It does seem a lot of cleanup should be done.

Nah, I meant claiming an idle cpu with cmpxchg(). It's mostly the
average load business that leads to premature stacking though, the
reservation thingy more or less just wastes cycles. Only whacking
cfs_rq_runnable_load_avg() with a rock makes schbench -m <sockets> -t
<near socket size> -a work well. 'Course a rock in its gearbox also
rendered load balancing fairly busted for the general case :)

-Mike

\
 
 \ /
  Last update: 2016-05-10 10:01    [W:0.121 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site