[PATCH 0/3] sched: Idle balance patches

From: Jason Low
Date: Wed Apr 23 2014 - 21:31:03 EST


This patchset includes a few modifications related to idle_balance().

Patch #1 addresses an issue introduced by commit e5fc6611 which potentially
can cause rq->max_idle_balance_cost to not get updated when it should.

Patch #2 initializes the per domain newidle balance stats in sd_numa_init().

Patch #3 is a performance related patch. It stops searching for more tasks
to pull while traversing the domains in idle balance if we find that there
are runnable tasks. This patch resulted in approximately a 6% performance
improvement to a Java server workload on an 8 socket machine.

Jason Low (3):
sched, balancing: Update rq->max_idle_balance_cost whenever newidle
balance is attempted
sched: Initialize newidle balance stats in sd_numa_init()
sched, fair: Stop searching for tasks in newidle balance if there are
runnable tasks

kernel/sched/core.c | 2 ++
kernel/sched/fair.c | 17 +++++++++++------
2 files changed, 13 insertions(+), 6 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/