lkml.org 
[lkml]   [2019]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] sched/fair: Make sched-idle cpu selection consistent throughout
On Wed, 30 Oct 2019 at 22:17, Mel Gorman <mgorman@suse.de> wrote:

> As the patch stands, I think a fork-intensive workload where each
> process is doing small amounts of work will suffer from overloading
> domains and have variable performance depending on how quickly the load
> balancer reacts.

Just wanted to clarify this slightly in case it is confusing. Once a
newly forked
(non SCHED_IDLE) task gets placed on a sched-idle CPU, it won't remain
sched-idle anymore and we will again start looking for a fully idle CPU. So,
we won't put everything on a small set of CPUs, but just one SCHED_NORMAL
task on a CPU unless we are out of idle CPUs.

Do you have some specific test in mind which I can run to test this ?

--
Viresh

\
 
 \ /
  Last update: 2019-10-31 10:13    [W:0.140 / U:0.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site