From: Ingo Molnar <mingo@elte.hu>
To: Peter Williams <pwil3058@bigpond.net.au>
Cc: Andrew Morton <akpm@osdl.org>,
"Siddha, Suresh B" <suresh.b.siddha@intel.com>,
Con Kolivas <kernel@kolivas.org>,
"Chen, Kenneth W" <kenneth.w.chen@intel.com>,
Mike Galbraith <efault@gmx.de>,
Nick Piggin <nickpiggin@yahoo.com.au>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] sched: improve smpnice load balancing when load per task imbalanced
Date: Tue, 4 Apr 2006 08:36:14 +0200 [thread overview]
Message-ID: <20060404063614.GA1796@elte.hu> (raw)
In-Reply-To: <44320FE5.5080309@bigpond.net.au>
* Peter Williams <pwil3058@bigpond.net.au> wrote:
> Problem:
>
> 2 CPU system: if the cpu-0 has two high priority and cpu-1 has one
> normal priority task, how can the current code detect this imbalance
> because imbalance will be always < busiest_load_per_task and max_load
> - this_load will be < 2 * busiest_load_per_task and pwr_move will be
> <= pwr_now.
>
> Solution:
>
> Modify the assessment of small imbalances to take into account the
> relative sizes of busiest_load_per_task and this_load_per_task. This
> is exploiting the fact that if the difference between the loads is
> greater than busiest_load_per_task and busiest_load_per_task is
> greater than this_load_per_task then moving busiest_load_per_task
> worth of load from busiest to this will be an improvement in the
> distribution of weighted load.
>
> Required patches:
>
> sched-prevent-high-load-weight-tasks-suppressing-balancing.patch
> sched-improve-stability-of-smpnice-load-balancing.patch
>
> Note: This patch makes no change to load balancing in the case where
> all tasks are nice==0.
>
> Signed-off-by: Peter Williams <pwil3058@bigpond.com.au>
Acked-by: Ingo Molnar <mingo@elte.hu>
Ingo
prev parent reply other threads:[~2006-04-04 6:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 6:19 [PATCH] sched: improve smpnice load balancing when load per task imbalanced Peter Williams
2006-04-04 6:36 ` Ingo Molnar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060404063614.GA1796@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@osdl.org \
--cc=efault@gmx.de \
--cc=kenneth.w.chen@intel.com \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nickpiggin@yahoo.com.au \
--cc=pwil3058@bigpond.net.au \
--cc=suresh.b.siddha@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.