Parallelize verif_scale selftests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests/bpf: normalize selftest entry pointstools/ tools/ tools/ +3 more | +13 | 0 replies | |
| 2/4 | selftests/bpf: support multiple tests per filetools/ | +3 | 4 replies | |
| 3/4 | selftests/bpf: mark tc_redirect selftest as serialtools/ | +1 | 0 replies | |
| 4/4 | selftests/bpf: split out bpf_verif_scale selftests into multiple teststools/ | +152 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Yucong Sun |
|---|---|
| Series | A-b |
| 1/4 | |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/4] Parallelize verif_scale selftests
Reduce amount of waiting time when running test_progs in parallel mode (-j) by splitting bpf_verif_scale selftests into multiple tests. Previously it was structured as a test with multiple subtests, but subtests are not easily parallelizable with test_progs' infra. Also in practice each scale subtest is really an independent test with nothing shared across all substest.
This patch set changes how test_progs test discovery works. Now it is possible to define multiple tests within a single source code file. One of the patches also marks tc_redirect selftests as serial, because it's extremely harmful to the test system when run in parallel mode.
Andrii Nakryiko (4):
selftests/bpf: normalize selftest entry points selftests/bpf: support multiple tests per file selftests/bpf: mark tc_redirect selftest as serial selftests/bpf: split out bpf_verif_scale selftests into multiple tests
tools/testing/selftests/bpf/Makefile | 7 +- .../bpf/prog_tests/bpf_verif_scale.c | 220 ++++++++++++------ .../selftests/bpf/prog_tests/btf_dump.c | 2 +- .../selftests/bpf/prog_tests/resolve_btfids.c | 10 +- .../selftests/bpf/prog_tests/signal_pending.c | 2 +- .../selftests/bpf/prog_tests/snprintf.c | 4 +- .../selftests/bpf/prog_tests/tc_redirect.c | 2 +- .../bpf/prog_tests/xdp_adjust_tail.c | 6 +- .../bpf/prog_tests/xdp_devmap_attach.c | 4 +- 9 files changed, 169 insertions(+), 88 deletions(-)
Signature · 1 line
2.30.2