Skip to content

RFC sched/eevdf: Rate limit task migration

Mathieu Desnoyers lkml llvm oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched: Rate limit migrations to 1 per 2ms per taskinclude/linux/sched.h kernel/sched/core.c kernel/sched/fair.c +1 more+19 -013 replies
2/2sched: Implement adaptative rate limiting of task migrationsinclude/linux/sched.h kernel/sched/core.c kernel/sched/fair.c +1 more+37 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] sched/eevdf: Rate limit task migration

Implement task migration rate limiting to speed up workload patterns such as hackbench which trigger frequent migrations.

The first patch implements a simple rate limiting of 1 migration per 2ms. The second patch implements adaptative task migration rate limiting.

I would be interested to hear feedback on this approach, especially about how it behaves on various workloads.

Thanks,

Mathieu

Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Valentin Schneider <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Ben Segall <[email protected]>
Cc Mel Gorman <[email protected]>
Cc Daniel Bristot de Oliveira <[email protected]>
Cc Vincent Guittot <[email protected]>
Cc Juri Lelli <[email protected]>
Cc Swapnil Sapkal <[email protected]>
Cc Aaron Lu <[email protected]>
Cc Julien Desfossez <[email protected]>

Mathieu Desnoyers (2):
sched: rate limit migrations to 1 per 2ms per task
sched: Implement adaptative rate limiting of task migrations

 include/linux/sched.h |  4 ++++
 kernel/sched/core.c   |  3 +++
 kernel/sched/fair.c   | 40 ++++++++++++++++++++++++++++++++++++++++
 kernel/sched/sched.h  |  4 ++++
 4 files changed, 51 insertions(+)
Signature · 1 line
2.39.2