Skip to content

RFC update to cpupri algorithm

Steven Rostedt linux-rt-users 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3cpupri: Add profilingkernel/sched_cpupri.c+223 -00 replies
2/3cpupri: Remove vector locks and read entire loopkernel/sched_cpupri.c kernel/sched_cpupri.h+14 -190 replies
3/3cpupri: Add atomic vector count to speed up loopkernel/sched_cpupri.c kernel/sched_cpupri.h+38 -180 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/3] update to cpupri algorithm

Hi Mike,

Could you try this patch set out. Add the first patch and then run your tests. The first patch only adds benchmarking, and does not modify the scheduler algorithm.

Do this:

1. apply first patch, build and boot
2. # mount -t debugfs nodev /sys/kernel/debug
3. # echo 0 > /sys/kernel/debug/cpupri; ./runtest; cat /sys/kernel/debug/cpupri > output

The output will give you the contention of the vector locks in the cpupri algorithm.

Then apply the second patch and do the same thing.

Then apply the third patch and do the same thing.

After that, could you send me the results of the output file for all three runs? The final patch should probably be the best overall results.

Thanks!

-- Steve