All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2 v3] sched: improve spread of tasks during fork
@ 2016-12-08 16:56 Vincent Guittot
  2016-12-08 16:56 ` [PATCH 1/2 v3] sched: fix find_idlest_group for fork Vincent Guittot
  2016-12-08 16:56 ` [PATCH 2/2 v3] sched: use load_avg for selecting idlest group Vincent Guittot
  0 siblings, 2 replies; 9+ messages in thread
From: Vincent Guittot @ 2016-12-08 16:56 UTC (permalink / raw)
  To: peterz, mingo, linux-kernel, matt, Morten.Rasmussen
  Cc: dietmar.eggemann, kernellwp, yuyang.du, umgwanakikbuti,
	Vincent Guittot

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-12-12  6:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-08 16:56 [PATCH 0/2 v3] sched: improve spread of tasks during fork Vincent Guittot
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

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.