All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Stanislav Fomichev <sdf.kernel@gmail.com>
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
	pabeni@redhat.com
Subject: Re: [RFC net-next v2 4/5] selftests: drv-net: add a kperf runner
Date: Fri, 16 Oct 2026 10:05:01 -0700	[thread overview]
Message-ID: <20261016100501.42f71961@kernel.org> (raw)
In-Reply-To: <20261005201115.2690830-5-sdf@fomichev.me>

On Mon,  5 Oct 2026 13:11:13 -0700 Stanislav Fomichev wrote:
> Add a helper to manage kperf servers, run the client, and optionally report
> aggregate throughput and retransmits. Use a random control port and a
> unique PID file, and report server cleanup failures.
> 
> Signed-off-by: Stanislav Fomichev <sdf@fomichev.me>
> ---
>  .../testing/selftests/drivers/net/README.rst  |   8 +
>  .../drivers/net/hw/lib/py/__init__.py         |   6 +-
>  .../selftests/drivers/net/lib/py/__init__.py  |   4 +-
>  .../selftests/drivers/net/lib/py/kperf.py     | 161 ++++++++++++++++++
>  4 files changed, 176 insertions(+), 3 deletions(-)
>  create mode 100644 tools/testing/selftests/drivers/net/lib/py/kperf.py
> 
> diff --git a/tools/testing/selftests/drivers/net/README.rst b/tools/testing/selftests/drivers/net/README.rst
> index 1b7264d40b79..4355d5113ec8 100644
> --- a/tools/testing/selftests/drivers/net/README.rst
> +++ b/tools/testing/selftests/drivers/net/README.rst
> @@ -141,6 +141,14 @@ Arguments used to construct the communication channel.
>    for netns - name of the "remote" namespace
>    for ssh - name/address of the remote host
>  
> +kperf
> +~~~~~
> +
> +Performance tests which use kperf expect ``kperf-client`` in ``PATH`` on the
> +local host and ``kperf-server`` in ``PATH`` on both endpoints. Kperf is an
> +optional dependency; tests which require it are skipped when it is not
> +installed.

I don't think this belongs in the README.
README needs to be high signal, otherwise nobody will read.
People running perf tests will quickly figure out kperf by asking LLM



  reply	other threads:[~2026-10-16 17:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-05 20:11 [RFC net-next v2 0/5] selftests: net: add performance metric reporting Stanislav Fomichev
2026-10-05 20:11 ` [RFC net-next v2 1/5] selftests: net: py: add timestamped metric output Stanislav Fomichev
2026-10-16 16:52   ` Jakub Kicinski
2026-10-05 20:11 ` [RFC net-next v2 2/5] selftests: net: py: add metric policy output Stanislav Fomichev
2026-10-16 16:59   ` Jakub Kicinski
2026-10-05 20:11 ` [RFC net-next v2 3/5] selftests: drv-net: add an iperf performance test Stanislav Fomichev
2026-10-16 17:03   ` Jakub Kicinski
2026-10-05 20:11 ` [RFC net-next v2 4/5] selftests: drv-net: add a kperf runner Stanislav Fomichev
2026-10-16 17:05   ` Jakub Kicinski [this message]
2026-10-05 20:11 ` [RFC net-next v2 5/5] selftests: drv-net: measure devmem performance with kperf Stanislav Fomichev

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=20261016100501.42f71961@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --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.