All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/4] Reduce worst-case scanning of runqueues in select_idle_sibling
@ 2020-12-07  9:15 ` Mel Gorman
  0 siblings, 0 replies; 42+ messages in thread
From: Mel Gorman @ 2020-12-07  9:15 UTC (permalink / raw)
  To: LKML
  Cc: Aubrey Li, Barry Song, Ingo Molnar, Peter Ziljstra, Juri Lelli,
	Vincent Guittot, Valentin Schneider, Linux-ARM, Mel Gorman

This is a minimal series to reduce the amount of runqueue scanning in
select_idle_sibling in the worst case.

Patch 1 removes SIS_AVG_CPU because it's unused.

Patch 2 improves the hit rate of p->recent_used_cpu to reduce the amount
	of scanning. It should be relatively uncontroversial

Patch 3-4 scans the runqueues in a single pass for select_idle_core()
	and select_idle_cpu() so runqueues are not scanned twice. It's
	a tradeoff because it benefits deep scans but introduces overhead
	for shallow scans.

Even if patch 3-4 is rejected to allow more time for Aubrey's idle cpu mask
approach to stand on its own, patches 1-2 should be fine. The main decision
with patch 4 is whether select_idle_core() should do a full scan when searching
for an idle core, whether it should be throttled in some other fashion or
whether it should be just left alone.

-- 
2.26.2


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

end of thread, other threads:[~2020-12-08 15:21 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07  9:15 [RFC PATCH 0/4] Reduce worst-case scanning of runqueues in select_idle_sibling Mel Gorman
2020-12-07  9:15 ` Mel Gorman
2020-12-07  9:15 ` [PATCH 1/4] sched/fair: Remove SIS_AVG_CPU Mel Gorman
2020-12-07  9:15   ` Mel Gorman
2020-12-07 15:05   ` Vincent Guittot
2020-12-07 15:05     ` Vincent Guittot
2020-12-08 10:07   ` Dietmar Eggemann
2020-12-08 10:07     ` Dietmar Eggemann
2020-12-08 10:59     ` Mel Gorman
2020-12-08 10:59       ` Mel Gorman
2020-12-08 13:24       ` Vincent Guittot
2020-12-08 13:24         ` Vincent Guittot
2020-12-08 13:36         ` Mel Gorman
2020-12-08 13:36           ` Mel Gorman
2020-12-08 13:43           ` Vincent Guittot
2020-12-08 13:43             ` Vincent Guittot
2020-12-08 13:53             ` Mel Gorman
2020-12-08 13:53               ` Mel Gorman
2020-12-08 14:47               ` Vincent Guittot
2020-12-08 14:47                 ` Vincent Guittot
2020-12-08 15:12                 ` Mel Gorman
2020-12-08 15:12                   ` Mel Gorman
2020-12-08 15:19                   ` Vincent Guittot
2020-12-08 15:19                     ` Vincent Guittot
2020-12-07  9:15 ` [PATCH 2/4] sched/fair: Do not replace recent_used_cpu with the new target Mel Gorman
2020-12-07  9:15   ` Mel Gorman
2020-12-08  9:57   ` Dietmar Eggemann
2020-12-08  9:57     ` Dietmar Eggemann
2020-12-08 11:02     ` Mel Gorman
2020-12-08 11:02       ` Mel Gorman
2020-12-07  9:15 ` [PATCH 3/4] sched/fair: Return an idle cpu if one is found after a failed search for an idle core Mel Gorman
2020-12-07  9:15   ` Mel Gorman
2020-12-07 15:06   ` Vincent Guittot
2020-12-07 15:06     ` Vincent Guittot
2020-12-07  9:15 ` [PATCH 4/4] sched/fair: Avoid revisiting CPUs multiple times during select_idle_sibling Mel Gorman
2020-12-07  9:15   ` Mel Gorman
2020-12-07 15:04 ` [RFC PATCH 0/4] Reduce worst-case scanning of runqueues in select_idle_sibling Vincent Guittot
2020-12-07 15:04   ` Vincent Guittot
2020-12-07 15:42   ` Mel Gorman
2020-12-07 15:42     ` Mel Gorman
2020-12-08  2:06     ` Li, Aubrey
2020-12-08  2:06       ` Li, Aubrey

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.