[RFC] sched/fair: Align vruntime to last_se when curr_se's timeslice run out

2018-12-05 Thread weiqi (C)
Hello, I measuring the cfs scheduling delay, and found that when a cfs_rq contains multiple tasks, it does not guarantee every se of this cfs_rq can get a changce to run within one sched_latency period. Assume that there are three se A, B, and C in cfs_rq, and the default sched_latency=24ms. In

Re: [Question] load balance move tasks not suitable ?

2018-07-30 Thread weiqi (C)
;env->imbalance", and after move, "src_rq" and "dst_rq" is balanced. Am I right? 在 2018/7/30 20:56, Peter Zijlstra 写道: On Mon, Jul 30, 2018 at 08:08:55PM +0800, weiqi (C) wrote: Hi Peter, After Commits 5d6523ebd(sched: Fix load-balance wreckage), That's a

[Question] load balance move tasks not suitable ?

2018-07-30 Thread weiqi (C)
Hi Peter, After Commits 5d6523ebd(sched: Fix load-balance wreckage), The jugement whether imbalance reached changed from twice to one-half. from (1) if((load * 2)> rem_load_move) goto next; to (2) if((load / 2)> env-> load_move) goto next; I'm confused about this change. "l