From: Vincent Guittot <vincent.guittot@linaro.org>
To: peterz@infradead.org, mingo@kernel.org,
linux-kernel@vger.kernel.org, matt@codeblueprint.co.uk,
Morten.Rasmussen@arm.com
Cc: dietmar.eggemann@arm.com, kernellwp@gmail.com,
yuyang.du@intel.comc, umgwanakikbuti@gmail.com,
Vincent Guittot <vincent.guittot@linaro.org>
Subject: [PATCH 0/2 v3] sched: improve spread of tasks during fork
Date: Thu, 8 Dec 2016 17:56:52 +0100 [thread overview]
Message-ID: <1481216215-24651-1-git-send-email-vincent.guittot@linaro.org> (raw)
Performance regression has been raised by Matt Fleming for fork intensive
bench like hackbench [1]
The patch 1/2 skips the spare_capacity test for fork task because the
utilization has not beed init yet.
The patch 2/2 takes into account load_avg for selecting CPU when
runnable_load of CPUs are close
Tests done by Matt Fleming show perf improvements with the patchset : [2] [3]
Changes since v2:
- renamed no_spare label to skip_spare
- changed load_avg test condition to prefer local cpu when load are similar
- added explanation for using absoluate margin instead of scale factor when
comparing runnable_load
[1] https://lkml.org/lkml/2016/10/18/206
[2] https://lkml.org/lkml/2016/12/8/260
[3] https://lkml.org/lkml/2016/12/8/260
Vincent Guittot (2):
sched: fix find_idlest_group for fork
sched: use load_avg for selecting idlest group
kernel/sched/fair.c | 54 +++++++++++++++++++++++++++++++++++++++++++----------
1 file changed, 44 insertions(+), 10 deletions(-)
--
2.7.4
next reply other threads:[~2016-12-08 16:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-08 16:56 Vincent Guittot [this message]
2016-12-08 16:56 ` [PATCH 1/2 v3] sched: fix find_idlest_group for fork Vincent Guittot
2016-12-09 13:18 ` Matt Fleming
2016-12-12 6:50 ` [tip:sched/core] sched/core: Fix find_idlest_group() " tip-bot for Vincent Guittot
2016-12-08 16:56 ` [PATCH 2/2 v3] sched: use load_avg for selecting idlest group Vincent Guittot
2016-12-09 13:22 ` Matt Fleming
2016-12-09 15:22 ` Peter Zijlstra
2016-12-09 16:28 ` Vincent Guittot
2016-12-12 6:51 ` [tip:sched/core] sched/core: Use " tip-bot for Vincent Guittot
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=1481216215-24651-1-git-send-email-vincent.guittot@linaro.org \
--to=vincent.guittot@linaro.org \
--cc=Morten.Rasmussen@arm.com \
--cc=dietmar.eggemann@arm.com \
--cc=kernellwp@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=matt@codeblueprint.co.uk \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
--cc=umgwanakikbuti@gmail.com \
--cc=yuyang.du@intel.comc \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).