selftests: mptcp: get counters from nstat history
Get series with b4
b4 am [email protected] change-id 20251101-slft-nstat-cache-db4d2962c5ceVersions newest first
- v1 Latest5 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | selftests: mptcp: lib: introduce 'nstat_{init,get}'tools/ tools/ tools/ +2 more | +30 | 0 replies | |
| 2/5 | selftests: mptcp: lib: remove stats files argstools/ tools/ tools/ +2 more | +14 | 0 replies | |
| 3/5 | selftests: mptcp: lib: stats: remove nstat rate columnstools/ | +2 | 0 replies | |
| 4/5 | selftests: mptcp: join: dump stats from historytools/ tools/ | +17 | 0 replies | |
| 5/5 | selftests: mptcp: lib: get counters from nstat historytools/ tools/ | +46 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH mptcp-next 0/5] selftests: mptcp: get counters from nstat history
When debugging MPTCP Join selftest with a "debug" kernel config, I noticed checking all the different counters was sometimes slower than the test itself. Fetching the counters once, then reading them from the history file that was already there seems to save more than 5 minutes when running the whole MPTCP Join selftest.
- Patch 1: move code to mptcp_lib.sh to prepare the new features.
- Patch 2: simplify mptcp_lib_pr_err_stats helper use.
- Patch 3: remove unused last column from nstat output.
- Patch 4: improve stats dump in mptcp_join.sh.
- Patch 5: get counters from nstat history.
Based-on: <[email protected]>
---
Matthieu Baerts (NGI0) (5):
selftests: mptcp: lib: introduce 'nstat_{init,get}'
selftests: mptcp: lib: remove stats files args
selftests: mptcp: lib: stats: remove nstat rate columns
selftests: mptcp: join: dump stats from history
selftests: mptcp: lib: get counters from nstat history
tools/testing/selftests/net/mptcp/mptcp_connect.sh | 100 ++++++++------------- tools/testing/selftests/net/mptcp/mptcp_join.sh | 31 ++++--- tools/testing/selftests/net/mptcp/mptcp_lib.sh | 45 ++++++++-- tools/testing/selftests/net/mptcp/mptcp_sockopt.sh | 15 ++-- tools/testing/selftests/net/mptcp/simult_flows.sh | 15 ++-- 5 files changed, 104 insertions(+), 102 deletions(-)
---
base-commit: 1b41f9e417a8db60baf3686b81346131d2d81f30
change-id: 20251101-slft-nstat-cache-db4d2962c5ce
Best regards,
Signature · 1 line
Matthieu Baerts (NGI0) <[email protected]>