You need to sign in or sign up before continuing.
  • M
    sched: Check for an idle shared cache in select_task_rq_fair() · a1f84a3a
    Mike Galbraith 提交于
    When waking affine, check for an idle shared cache, and if
    found, wake to that CPU/sibling instead of the waker's CPU.
    
    This improves pgsql+oltp ramp up by roughly 8%. Possibly more
    for other loads, depending on overlap. The trade-off is a
    roughly 1% peak downturn if tasks are truly synchronous.
    Signed-off-by: NMike Galbraith <efault@gmx.de>
    Cc: Arjan van de Ven <arjan@infradead.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: <stable@kernel.org>
    LKML-Reference: <1256654138.17752.7.camel@marge.simson.net>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    a1f84a3a
sched_fair.c 48.0 KB