test: fix test failures on high core count systems
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest11 patches 1 replyApplied
- v314 patches 8 repliesSuperseded
- v26 patches 7 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 10 replies | Superseded |
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | test: add pause to synchronization spinloopsapp/ app/ | +17 | 0 replies | |
| 2/11 | test/atomic: scale test based on core countapp/ app/ | +50 | 0 replies | |
| 3/11 | test/mcslock: scale test based on number of coresapp/ | +7 | 0 replies | |
| 4/11 | test/stack: scale test based on number of coresapp/ | +8 | 0 replies | |
| 5/11 | test/timer: scale test based on number of coresapp/ | +11 | 0 replies | |
| 6/11 | test/timer: replace volatile with C11 atomicsapp/ | +19 | 0 replies | |
| 7/11 | test: add file-prefix for all fast-tests on Linuxapp/ | +5 | 0 replies | |
| 8/11 | test: fix trace_autotest_with_traces parallel executionapp/ | +12 | 0 replies | |
| 9/11 | test/bpf: fix error handling in ELF load testsapp/ | +2 | 0 replies | |
| 10/11 | test/bpf: fix unsupported BPF instructions in ELF load testapp/ | +2 | 0 replies | |
| 11/11 | test/bpf: pass correct size for Rx/Tx load testsapp/ | +2 | 0 replies |
Reviews trailers per patch
5 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Bruce Richardson | Marat Khalili |
|---|---|---|
| 1/11 | A-b | |
| 2/11 | ||
| 3/11 | ||
| 4/11 | ||
| 5/11 | ||
| 6/11 | ||
| 7/11 | A-b | A-b |
| 8/11 | ||
| 9/11 | A-b | |
| 10/11 | A-b | |
| 11/11 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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