All of lore.kernel.org
 help / color / mirror / Atom feed
From: willemb@google.com
To: Stanislav Fomichev <sdf.kernel@gmail.com>, netdev@vger.kernel.org
Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	 pabeni@redhat.com
Subject: Re: [PATCH net-next 0/4] selftests: replace iperf with kperf and add RR
Date: Sun, 29 Nov 2026 09:18:47 -0500	[thread overview]
Message-ID: <willemb.17e91dd72a646@google.com> (raw)
In-Reply-To: <20261123174120.505808-1-sdf@fomichev.me>

Stanislav Fomichev wrote:
> Recently added iperf throughput runs (918696-924166) have not been stable:

>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":99.60508305201279}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":90.65816851430006}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":92.02795621872379}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":98.78863365714747}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":103.38157195808748}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":93.64137239021106}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":101.73578035463773}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":78.15304223077422}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":103.79536587818043}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":91.48843017237692}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":75.27885187718259}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":103.5323033205535}
>    ktap-metric-json:  
> {"goal":"higher","name":"throughput","value":92.04284599832805}

> Compared to kperf devmem:

>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.588}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.63}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.606}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.594}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.54}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.594}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.552}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.561}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.616}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.63}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.532}
>    ktap-metric-json: {"goal":"higher","name":"throughput","value":185.62}

> This is most likely due to --pin-off we are doing with kperf. So replace
> iperf with kperf (add regular and zerocopy variants).

> At the same time, add closed loop RR stats to estimate the amount PPS
> we can take (so I can follow up with open loop RR).

> Stanislav Fomichev (4):
>    selftests: drv-net: kperf: support request-response tests
>    selftests: drv-net: add a closed-loop request-response test
>    selftests: drv-net: add a kperf stream test
>    selftests: drv-net: remove the iperf performance test

>   .../selftests/drivers/net/lib/py/kperf.py     | 31 +++++++++++-
>   .../selftests/drivers/net/perf/Makefile       |  3 +-
>   .../selftests/drivers/net/perf/iperf.py       | 23 ---------
>   .../testing/selftests/drivers/net/perf/rr.py  | 47 +++++++++++++++++++
>   .../selftests/drivers/net/perf/stream.py      | 40 ++++++++++++++++
>   5 files changed, 118 insertions(+), 26 deletions(-)
>   delete mode 100755 tools/testing/selftests/drivers/net/perf/iperf.py
>   create mode 100755 tools/testing/selftests/drivers/net/perf/rr.py
>   create mode 100755 tools/testing/selftests/drivers/net/perf/stream.py

Please fix the 8 new ruff UP045 type-annotation errors in  
tools/testing/selftests/drivers/net/lib/py/kperf.py and align the From and  
Signed-off-by email addresses before respinning.

--

pw-bot: cr


      parent reply	other threads:[~2026-11-29 14:18 UTC|newest]

Thread overview: 13+ 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-24 17:43   ` netdev-bot+sashiko
2026-11-25 17:10     ` 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-24 17:43   ` netdev-bot+sashiko
2026-11-25 17:12     ` Stanislav Fomichev
2026-11-23 17:41 ` [PATCH net-next 3/4] selftests: drv-net: add a kperf stream test Stanislav Fomichev
2026-11-24 17:43   ` netdev-bot+sashiko
2026-11-25 17:12     ` Stanislav Fomichev
2026-11-23 17:41 ` [PATCH net-next 4/4] selftests: drv-net: remove the iperf performance test Stanislav Fomichev
2026-11-24 17:43   ` netdev-bot+sashiko
2026-11-29 14:18 ` willemb [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=willemb.17e91dd72a646@google.com \
    --to=willemb@google.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf.kernel@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.