mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stanislav Fomichev <sdf.kernel@gmail.com>
To: "Björn Töpel" <bjorn@kernel.org>
Cc: netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
	 kuba@kernel.org, pabeni@redhat.com, andrew+netdev@lunn.ch,
	edumazet@kernel.org,  shuah@kernel.org, sdf@fomichev.me,
	linux-kernel@vger.kernel.org,  linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next v2 0/4] selftests: replace iperf with kperf and add RR
Date: Wed, 2 Dec 2026 10:32:37 -0800	[thread overview]
Message-ID: <axBjnrzbdiNAjumX@devvm16445.scu0.facebook.com> (raw)
In-Reply-To: <87bj75zanl.fsf@all.your.base.are.belong.to.us>

On 12/01, Björn Töpel wrote:
> Stanislav Fomichev <sdf.kernel@gmail.com> writes:
> 
> > From: Stanislav Fomichev <sdf@fomichev.me>
> >
> > 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}
> 
> 
> Nice getting RR stats in! Curious; the kperf copy runs, are they as
> stable as the devmem runs now?
> 
> For the series:
> Reviewed-by: Björn Töpel <bjorn@kernel.org>

Thanks for the review! For the last 3 runs (936648 936169 935688),
the copy runs look more stable:

# # ktap-metric-json: {"goal":"higher","name":"throughput","value":83.663}
# # ktap-metric-json: {"goal":"higher","name":"throughput","value":84.432}
# # ktap-metric-json: {"goal":"higher","name":"throughput","value":83.966}

Zerocopy not so much:
# # ktap-metric-json: {"goal":"higher","name":"throughput","value":66.633}
# # ktap-metric-json: {"goal":"higher","name":"throughput","value":66.293}
# # ktap-metric-json: {"goal":"higher","name":"throughput","value":78.66}

And zerocopy being slower than the copy is something that needs to
be fixed anyway. Zerocopy needs a kernel fix
(https://github.com/facebookexperimental/kperf/pull/46) and a host
setup (which I'm gonna follow up separately).

      reply	other threads:[~2026-12-02 18:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 17:46 Stanislav Fomichev
2026-11-30 17:46 ` [PATCH net-next v2 1/4] selftests: drv-net: kperf: support request-response tests Stanislav Fomichev
2026-12-01 18:10   ` netdev-bot+sashiko
2026-11-30 17:46 ` [PATCH net-next v2 2/4] selftests: drv-net: add a closed-loop request-response test Stanislav Fomichev
2026-12-01 18:10   ` netdev-bot+sashiko
2026-11-30 17:46 ` [PATCH net-next v2 3/4] selftests: drv-net: add a kperf stream test Stanislav Fomichev
2026-12-01 18:10   ` netdev-bot+sashiko
2026-11-30 17:46 ` [PATCH net-next v2 4/4] selftests: drv-net: remove the iperf performance test Stanislav Fomichev
2026-12-01  8:07 ` [PATCH net-next v2 0/4] selftests: replace iperf with kperf and add RR Björn Töpel
2026-12-02 18:32   ` 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=axBjnrzbdiNAjumX@devvm16445.scu0.facebook.com \
    --to=sdf.kernel@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=bjorn@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=edumazet@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=sdf@fomichev.me \
    --cc=shuah@kernel.org \
    /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

all inboxes | Powered by JetHome®