From: Stanislav Fomichev <sdf.kernel@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com
Subject: [PATCH net-next 4/4] selftests: drv-net: remove the iperf performance test
Date: Mon, 23 Nov 2026 09:41:20 -0800 [thread overview]
Message-ID: <20261123174120.505808-5-sdf@fomichev.me> (raw)
In-Reply-To: <20261123174120.505808-1-sdf@fomichev.me>
The throughput of one iperf3 stream changes by about 10% between
back-to-back runs on the same hosts, e.g. from 90.7 to 99.6 Gbps over
four runs, as much as a regression would. stream.py measures one TCP
connection with kperf instead, remove iperf.py.
Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
---
.../selftests/drivers/net/perf/Makefile | 1 -
.../selftests/drivers/net/perf/iperf.py | 23 -------------------
2 files changed, 24 deletions(-)
delete mode 100755 tools/testing/selftests/drivers/net/perf/iperf.py
diff --git a/tools/testing/selftests/drivers/net/perf/Makefile b/tools/testing/selftests/drivers/net/perf/Makefile
index b3f9dcac700b..898236833c42 100644
--- a/tools/testing/selftests/drivers/net/perf/Makefile
+++ b/tools/testing/selftests/drivers/net/perf/Makefile
@@ -2,7 +2,6 @@
TEST_PROGS := \
devmem.py \
- iperf.py \
rr.py \
stream.py \
# end of TEST_PROGS
diff --git a/tools/testing/selftests/drivers/net/perf/iperf.py b/tools/testing/selftests/drivers/net/perf/iperf.py
deleted file mode 100755
index 5b6f0bce2a03..000000000000
--- a/tools/testing/selftests/drivers/net/perf/iperf.py
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env python3
-# SPDX-License-Identifier: GPL-2.0
-
-"""Measure TCP throughput with iperf3."""
-
-from lib.py import Iperf3Runner, NetDrvEpEnv, ksft_exit, ksft_metric, ksft_run
-
-
-def tcp(cfg):
- """Measure TCP throughput."""
- result = Iperf3Runner(cfg).measure()
- ksft_metric("throughput", result.throughput, goal="higher")
-
-
-def main():
- """Run the iperf performance test."""
- with NetDrvEpEnv(__file__, nsim_test=False) as cfg:
- ksft_run([tcp], args=(cfg,))
- ksft_exit()
-
-
-if __name__ == "__main__":
- main()
--
2.53.1-Meta
prev parent reply other threads:[~2026-11-23 17:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 17:41 [PATCH net-next 0/4] selftests: replace iperf with kperf and add RR Stanislav Fomichev
2026-11-23 17:41 ` [PATCH net-next 1/4] selftests: drv-net: kperf: support request-response tests Stanislav Fomichev
2026-11-23 17:41 ` [PATCH net-next 2/4] selftests: drv-net: add a closed-loop request-response test Stanislav Fomichev
2026-11-23 17:41 ` [PATCH net-next 3/4] selftests: drv-net: add a kperf stream test Stanislav Fomichev
2026-11-23 17:41 ` Stanislav Fomichev [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261123174120.505808-5-sdf@fomichev.me \
--to=sdf.kernel@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox