Skip to content

Add read-side scalability tests for v5.9

Paul E. McKenney lkml rcu 1 version New

Get series with b4
b4 am 20200623002941.GA26089@paulmck-ThinkPad-P72

Versions newest first

  1. v1 Latest30 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/30rcuperf: Remove useless while loops around wait_eventkernel/rcu/rcuperf.c+4 -100 replies
2/30refperf: Add a test to measure performance of read-side synchronizationkernel/rcu/Kconfig.debug kernel/rcu/Makefile kernel/rcu/refperf.c+578 -00 replies
3/30rcuperf: Add comments explaining the high reader overheadkernel/rcu/rcuperf.c+9 -20 replies
4/30torture: Add refperf to the rcutorture scriptingtools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh tools/testing/selftests/rcutorture/bin/kvm.sh tools/testing/selftests/rcutorture/bin/parse-console.sh +5 more+130 -60 replies
5/30refperf: Add holdoff parameter to allow CPUs to come onlinekernel/rcu/refperf.c+10 -30 replies
6/30refperf: Hoist function-pointer calls out of the loopkernel/rcu/refperf.c+38 -540 replies
7/30refperf: Allow decimal nanosecondskernel/rcu/refperf.c+2 -20 replies
8/30refperf: Convert nreaders to a module parameterkernel/rcu/refperf.c+11 -50 replies
9/30refperf: Provide module parameter to specify number of experimentskernel/rcu/refperf.c+23 -200 replies
10/30refperf: Dynamically allocate experiment-summary output bufferkernel/rcu/refperf.c+11 -50 replies
11/30refperf: Dynamically allocate thread-summary output bufferkernel/rcu/refperf.c+5 -10 replies
12/30refperf: Make functions statickernel/rcu/refperf.c+2 -20 replies
13/30refperf: Tune reader measurement intervalkernel/rcu/refperf.c+5 -60 replies
14/30refperf: Convert reader_task structure's "start" field to intkernel/rcu/refperf.c+4 -50 replies
15/30refperf: More closely synchronize reader start timeskernel/rcu/refperf.c+5 -00 replies
16/30refperf: Add warmup and cooldown processing phaseskernel/rcu/refperf.c+18 -20 replies
17/30refperf: Label experiment-number column "Runs"kernel/rcu/refperf.c tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh+2 -20 replies
18/30refperf: Output per-experiment data pointstools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh+4 -00 replies
19/30refperf: Simplify initialization-time wakeup protocolkernel/rcu/refperf.c+5 -120 replies
20/30refperf: Add read-side delay module parameterkernel/rcu/refperf.c+89 -190 replies
21/30refperf: Adjust refperf.loop default valuekernel/rcu/refperf.c+1 -10 replies
22/30doc: Document rcuperf's module parametersDocumentation/admin-guide/kernel-parameters.txt+36 -00 replies
23/30refperf: Work around 64-bit divisionkernel/rcu/refperf.c+6 -20 replies
24/30refperf: Change readdelay module parameter to nanosecondskernel/rcu/refperf.c+22 -140 replies
25/30refperf: Add test for RCU Tasks Trace readers.kernel/rcu/refperf.c+31 -20 replies
26/30refperf: Add test for RCU Tasks readerskernel/rcu/refperf.c+27 -10 replies
27/30rcu-tasks: Fix synchronize_rcu_tasks_trace() header commentinclude/linux/rcupdate_trace.h kernel/rcu/tasks.h+6 -70 replies
28/30refperf: Rename RCU_REF_PERF_TEST to RCU_REF_SCALE_TESTkernel/rcu/Kconfig.debug kernel/rcu/Makefile kernel/rcu/refperf.c +1 more+7 -70 replies
29/30refperf: Rename refperf.c to refscale.c and change internal namesDocumentation/admin-guide/kernel-parameters.txt kernel/rcu/Makefile kernel/rcu/refscale.c +1 more+104 -1010 replies
30/30refscale: Change --torture type from refperf to refscaletools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh tools/testing/selftests/rcutorture/bin/kvm.sh tools/testing/selftests/rcutorture/bin/parse-console.sh +5 more+10 -100 replies

Reviews trailers per patch

1 of 30 patches has a Reviewed-by or Acked-by.

PatchRandy Dunlap
1/30
2/30
3/30
4/30
5/30
6/30
7/30
8/30
9/30
10/30
11/30
12/30
13/30
14/30
15/30
16/30
17/30
18/30
19/30
20/30
21/30
22/30
23/30A-b
24/30
25/30
26/30
27/30
28/30
29/30
30/30

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH tip/core/rcu 0/30] Add read-side scalability tests for v5.9

Hello!

This series adds a refscale set of read-side scalability tests for reference counting, reader-writer locking, and RCU.

1. Remove useless while loops around wait_event, courtesy of
Joel Fernandes.

2. Add a test to measure performance of read-side synchronization,
courtesy of Joel Fernandes.

3. Add comments explaining the high reader overhead.

4. Add refperf to the rcutorture scripting.

5. Add holdoff parameter to allow CPUs to come online.

6. Hoist function-pointer calls out of the loop.

7. Allow decimal nanoseconds.

8. Convert nreaders to a module parameter.

9. Provide module parameter to specify number of experiments.

10. Dynamically allocate experiment-summary output buffer.

11. Dynamically allocate thread-summary output buffer.

12. Make functions static.

13. Tune reader measurement interval.

14. Convert reader_task structure's "start" field to int.

15. More closely synchronize reader start times.

16. Add warmup and cooldown processing phases.

17. Label experiment-number column "Runs".

18. Output per-experiment data points.

19. Simplify initialization-time wakeup protocol.

20. Add read-side delay module parameter.

21. Adjust refperf.loop default value.

22. Document rcuperf's module parameters.

23. Work around 64-bit division, courtesy of Arnd Bergmann.

24. Change readdelay module parameter to nanoseconds.

25. Add test for RCU Tasks Trace readers..

26. Add test for RCU Tasks readers.

27. rcu-tasks: Fix synchronize_rcu_tasks_trace() header comment.

28. Rename RCU_REF_PERF_TEST to RCU_REF_SCALE_TEST.

29. Rename refperf.c to refscale.c and change internal names.

30. Change --torture type from refperf to refscale.

Thanx, Paul

------------------------------------------------------------------------

 Documentation/admin-guide/kernel-parameters.txt                      |   53 
 include/linux/rcupdate_trace.h                                       |    4 
 kernel/rcu/Kconfig.debug                                             |   23 
 kernel/rcu/Makefile                                                  |    5 
 kernel/rcu/rcuperf.c                                                 |   25 
 kernel/rcu/refperf.c                                                 | 1037 ++++++++--
 kernel/rcu/refscale.c                                                |  182 -
 kernel/rcu/tasks.h                                                   |    9 
 tools/testing/selftests/rcutorture/bin/kvm-recheck-refperf.sh        |   73 
 tools/testing/selftests/rcutorture/bin/kvm-recheck-refscale.sh       |    8 
 tools/testing/selftests/rcutorture/bin/kvm.sh                        |   17 
 tools/testing/selftests/rcutorture/bin/parse-console.sh              |    8 
 tools/testing/selftests/rcutorture/configs/refperf/CFLIST            |    2 
 tools/testing/selftests/rcutorture/configs/refperf/CFcommon          |    4 
 tools/testing/selftests/rcutorture/configs/refperf/NOPREEMPT         |   18 
 tools/testing/selftests/rcutorture/configs/refperf/PREEMPT           |   18 
 tools/testing/selftests/rcutorture/configs/refperf/ver_functions.sh  |   20 
 tools/testing/selftests/rcutorture/configs/refscale/ver_functions.sh |    1 
 18 files changed, 1205 insertions(+), 302 deletions(-)