linux-kselftest.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: willemdebruijn.kernel@gmail.com (Willem de Bruijn)
Subject: [PATCH net-next v2 2/3] net/udpgso_bench.sh add UDP GSO audit tests
Date: Tue, 28 May 2019 16:09:07 -0400	[thread overview]
Message-ID: <CAF=yD-KozDxhwf1Arkbz5X_dYfZ5M40xr9hcxKGDRmeg1BOE=Q@mail.gmail.com> (raw)
Message-ID: <20190528200907.ru6ieLK1A9r-J0N7PM6PAfuRsuTYJIEo4VNI4uNB-MA@z> (raw)
In-Reply-To: <20190528184708.16516-3-fklassen@appneta.com>

On Tue, May 28, 2019@3:24 PM Fred Klassen <fklassen@appneta.com> wrote:
>
> Audit tests count the total number of messages sent and compares
> with total number of CMSG received on error queue. Example:
>
>     udp gso zerocopy timestamp audit
>     udp rx:   1599 MB/s  1166414 calls/s
>     udp tx:   1615 MB/s    27395 calls/s  27395 msg/s
>     udp rx:   1634 MB/s  1192261 calls/s
>     udp tx:   1633 MB/s    27699 calls/s  27699 msg/s
>     udp rx:   1633 MB/s  1191358 calls/s
>     udp tx:   1631 MB/s    27678 calls/s  27678 msg/s
>     Summary over 4.000 seconds...
>     sum udp tx:   1665 MB/s      82772 calls (27590/s)      82772 msgs (27590/s)
>     Tx Timestamps:               82772 received                 0 errors
>     Zerocopy acks:               82772 received                 0 errors
>
> Errors are thrown if CMSG count does not equal send count,
> example:
>
>     Summary over 4.000 seconds...
>     sum tcp tx:   7451 MB/s     493706 calls (123426/s)     493706 msgs (123426/s)
>     ./udpgso_bench_tx: Unexpected number of Zerocopy completions:    493706 expected    493704 received
>
> Also reduce individual test time from 4 to 3 seconds so that
> overall test time does not increase significantly.
>
> Signed-off-by: Fred Klassen <fklassen at appneta.com>

Acked-by: Willem de Bruijn <willemb at google.com>

If respinning the series, please add a comment about adding -P to the
tcp zerocopy test.

  parent reply	other threads:[~2019-05-28 20:09 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-28 18:47 [PATCH net-next v2 0/3] UDP GSO audit tests fklassen
2019-05-28 18:47 ` Fred Klassen
2019-05-28 18:47 ` [PATCH net-next v2 1/3] net/udpgso_bench_tx: options to exercise TX CMSG fklassen
2019-05-28 18:47   ` Fred Klassen
2019-05-28 21:35   ` willemdebruijn.kernel
2019-05-28 21:35     ` Willem de Bruijn
2019-06-13 23:17     ` Fred Klassen
2019-05-28 21:36   ` willemdebruijn.kernel
2019-05-28 21:36     ` Willem de Bruijn
2019-05-28 18:47 ` [PATCH net-next v2 2/3] net/udpgso_bench.sh add UDP GSO audit tests fklassen
2019-05-28 18:47   ` Fred Klassen
2019-05-28 20:09   ` willemdebruijn.kernel [this message]
2019-05-28 20:09     ` Willem de Bruijn
2019-05-28 18:47 ` [PATCH net-next v2 3/3] net/udpgso_bench.sh test fails on error fklassen
2019-05-28 18:47   ` Fred Klassen
2019-05-28 20:08   ` willemdebruijn.kernel
2019-05-28 20:08     ` Willem de Bruijn

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='CAF=yD-KozDxhwf1Arkbz5X_dYfZ5M40xr9hcxKGDRmeg1BOE=Q@mail.gmail.com' \
    --to=willemdebruijn.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 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).