netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Maciej Fijalkowski <maciej.fijalkowski@intel.com>
To: Samiullah Khawaja <skhawaja@google.com>
Cc: Stanislav Fomichev <stfomichev@gmail.com>,
	Jakub Kicinski <kuba@kernel.org>,
	"David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, <almasrymina@google.com>,
	<willemb@google.com>, <jdamato@fastly.com>,
	<mkarsten@uwaterloo.ca>, <netdev@vger.kernel.org>
Subject: Re: [RFC PATCH net-next] Add xsk_rr an AF_XDP benchmark to measure latency
Date: Wed, 26 Mar 2025 23:19:35 +0100	[thread overview]
Message-ID: <Z+R9d55KFikYXGm0@boxer> (raw)
In-Reply-To: <CAAywjhTzmupd=ehmve=iDtK638=6_yKyi9WOM9L=tG2CM4n=oQ@mail.gmail.com>

On Wed, Mar 26, 2025 at 02:12:17PM -0700, Samiullah Khawaja wrote:
> On Mon, Mar 24, 2025 at 3:32 PM Stanislav Fomichev <stfomichev@gmail.com> wrote:
> >
> > On 03/20, Samiullah Khawaja wrote:
> > > Note: This is a benchmarking tool that is used for experiments in the
> > > upcoming v4 of Napi threaded busypoll series. Not intended to be merged.
> > >
> > > xsk_rr is a benchmarking tool to measure latency using AF_XDP between
> > > two nodes. The benchmark can be run with different arguments to simulate
> > > traffic:
> >
> > We might want to have something like this, but later, once we have NIPA
> > runners for vendor NICs. The test would have to live in
> > tools/testing/selftests/drivers/net/hw, have a python executor to run
> I agree. I can send another version of this for that directory later.
> > it on host/peer and expose the data in some ingestible/trackable format
> > (so we can mark it red/green depending on the range on the dashboard).
> >
> > But I might be wrong, having flaky (most of them are) perf tests might not
> > be super valuable.
> 

As you said it's benchmarking tool so I feel like it should land in
https://github.com/xdp-project/bpf-examples where we have xdpsock that
have been previously used for benchmarks.

  reply	other threads:[~2025-03-26 22:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-20 16:35 [RFC PATCH net-next] Add xsk_rr an AF_XDP benchmark to measure latency Samiullah Khawaja
2025-03-24 22:32 ` Stanislav Fomichev
2025-03-26 21:12   ` Samiullah Khawaja
2025-03-26 22:19     ` Maciej Fijalkowski [this message]
2025-03-26 22:32       ` Stanislav Fomichev
2025-03-27 17:08         ` Jakub Kicinski

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=Z+R9d55KFikYXGm0@boxer \
    --to=maciej.fijalkowski@intel.com \
    --cc=almasrymina@google.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jdamato@fastly.com \
    --cc=kuba@kernel.org \
    --cc=mkarsten@uwaterloo.ca \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=skhawaja@google.com \
    --cc=stfomichev@gmail.com \
    --cc=willemb@google.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;
as well as URLs for NNTP newsgroup(s).