Skip to content

Add HRTICK support to Core Scheduling

Alexander Graf lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3sched: Allow hrticks to work with core schedulingkernel/sched/core.c kernel/sched/fair.c kernel/sched/sched.h+26 -00 replies
2/3sched: Trigger new hrtick if timer expires too fastkernel/sched/fair.c+5 -10 replies
3/3sched: Use hrticks even with >sched_nr_latency taskskernel/sched/fair.c+2 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] Add HRTICK support to Core Scheduling

CFS supports a feature called "HRTICK" which allows scheduling decisions to be made independent of the HZ tick. That means that we can achieve much more fine grained time slices and thus be more fair in distributing time to different workloads.

Unfortunately, HRTICK currently does not work with the Core Scheduling patch set. This patch set adds support for it. Feel free to squash bits in where it makes sense.

Alex

Alexander Graf (3):
sched: Allow hrticks to work with core scheduling
sched: Trigger new hrtick if timer expires too fast
sched: Use hrticks even with >sched_nr_latency tasks

 kernel/sched/core.c  | 13 +++++++++++++
 kernel/sched/fair.c  | 18 ++++++++++++++++--
 kernel/sched/sched.h |  4 ++++
 3 files changed, 33 insertions(+), 2 deletions(-)
Signature · 12 lines
2.26.2




Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879