Skip to content

test: fix test failures on high core count systems

Stephen Hemminger dpdk-dev 4 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest11 patches 1 replyApplied
  2. v314 patches 8 repliesSuperseded
  3. v26 patches 7 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches10 repliesSuperseded

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/11test: add pause to synchronization spinloopsapp/test/test_atomic.c app/test/test_threads.c+17 -150 replies
2/11test/atomic: scale test based on core countapp/test/test.h app/test/test_atomic.c+50 -200 replies
3/11test/mcslock: scale test based on number of coresapp/test/test_mcslock.c+7 -30 replies
4/11test/stack: scale test based on number of coresapp/test/test_stack.c+8 -30 replies
5/11test/timer: scale test based on number of coresapp/test/test_timer_secondary.c+11 -60 replies
6/11test/timer: replace volatile with C11 atomicsapp/test/test_timer_secondary.c+19 -90 replies
7/11test: add file-prefix for all fast-tests on Linuxapp/test/suites/meson.build+5 -10 replies
8/11test: fix trace_autotest_with_traces parallel executionapp/test/suites/meson.build+12 -90 replies
9/11test/bpf: fix error handling in ELF load testsapp/test/test_bpf.c+2 -10 replies
10/11test/bpf: fix unsupported BPF instructions in ELF load testapp/test/bpf/meson.build+2 -10 replies
11/11test/bpf: pass correct size for Rx/Tx load testsapp/test/test_bpf.c+2 -20 replies

Reviews trailers per patch

5 of 11 patches have a Reviewed-by or Acked-by.

PatchBruce RichardsonMarat Khalili
1/11A-b
2/11
3/11
4/11
5/11
6/11
7/11A-b A-b
8/11
9/11A-b
10/11A-b
11/11A-b

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

Read the v4 thread

Cover letter [PATCH v4 00/11] test: fix test failures on high core count systems

Fix several test infrastructure issues affecting high core count systems.

Add rte_pause() to synchronization spinloops that starve SMT sibling threads on AMD Zen systems. Scale iteration counts inversely with core count via a new test_scale_iterations() helper to prevent timeouts from lock contention (atomic, mcslock, stack, timer_secondary tests).

Replace volatile variables with C11 atomics in timer_secondary, fix parallel test execution by restoring unique file-prefix for fast-tests on Linux, and fix BPF ELF load test error handling and clang 20+ compatibility.

v4 - drop patches already covered elsewhere
- replace volatile with C11 atomics in timer secondary test
- add missing mempool_get error check in timer secondary test
- move iteration scaling out of worker function in stack test

Stephen Hemminger (11):
test: add pause to synchronization spinloops test/atomic: scale test based on core count test/mcslock: scale test based on number of cores test/stack: scale test based on number of cores test/timer: scale test based on number of cores test/timer: replace volatile with C11 atomics
test: add file-prefix for all fast-tests on Linux
test: fix trace_autotest_with_traces parallel execution test/bpf: fix error handling in ELF load tests test/bpf: fix unsupported BPF instructions in ELF load test test/bpf: pass correct size for Rx/Tx load tests

 app/test/bpf/meson.build        |  3 +-
 app/test/suites/meson.build     | 19 +++++++---
 app/test/test.h                 | 19 ++++++++++
 app/test/test_atomic.c          | 66 +++++++++++++++++++--------------
 app/test/test_bpf.c             |  7 ++--
 app/test/test_mcslock.c         | 10 +++--
 app/test/test_stack.c           | 11 ++++--
 app/test/test_threads.c         | 17 +++++----
 app/test/test_timer_secondary.c | 45 ++++++++++++++--------
 9 files changed, 131 insertions(+), 66 deletions(-)
Signature · 1 line
2.51.0