Messages in this thread | | | Subject | Re: [PATCH v2] sched: Fast idling of CPU when system is partially loaded | From | Jason Low <> | Date | Sun, 22 Jun 2014 21:33:08 -0700 |
| |
On Mon, 2014-06-16 at 12:48 -0700, Tim Chen wrote:
> Thanks to the review from Jason and Peter. I've moved the check > of whether load balance is required into fair.c's idle_balance. > > When a system is lightly loaded (i.e. no more than 1 job per cpu), > attempt to pull job to a cpu before putting it to idle is unnecessary and > can be skipped. This patch adds an indicator so the scheduler can know > when there's no more than 1 active job is on any CPU in the system to > skip needless job pulls.
> Signed-off-by: Tim Chen <tim.c.chen@linux.intel.com>
Acked-by: Jason Low <jason.low2@hp.com>
This change would address one of the main issues I've also been seeing on my test machines with idle_balance where most of the find_busiest_group overhead is not useful due to that issue with no tasks to move.
| |