All of lore.kernel.org
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: Srivats P <pstavirs@gmail.com>
Cc: Xdp <xdp-newbies@vger.kernel.org>
Subject: Re: Full 40Gbps with i40e for large packets?
Date: Fri, 24 Jun 2022 19:20:37 +0200	[thread overview]
Message-ID: <20220624172037.GA11878@1wt.eu> (raw)
In-Reply-To: <CANzUK59xb1mOTCCzpXN5M50JN1zzviVgJeJ+f0psccGvSHR0Yw@mail.gmail.com>

On Fri, Jun 24, 2022 at 09:23:51PM +0530, Srivats P wrote:
> Yes, I'm using 40G copper. 1518 byte is including FCS and no VLANs, so
> the pps expected to fully fill the pipe as you calculate rightly is
> 3250975 or 3.25 Mpps.

OK.

> The rate I get varies continuously between 3.19 and 3.22 Mpps and very
> rarely goes up to 3.24 Mpps. The few times I've seen 3.24 Mpps is at
> the immediate start of a run, but not afterwards - a behaviour I'm not
> able to explain.
> 
> I'm trying to understand why I get a lower rate than 3.250975 Mpps and
> what I need to do to get the full pps rate.

In other contexts I've faced causes such as too large tx_irq delay,
causing the tx ring to be empty when the code was able to deliver
more, and too small PCIe payload sizes (I remember having had to
change it to 4096 in a machine's BIOS years ago for a 100G test).

Beyond this I have no idea :-)

Willy

  reply	other threads:[~2022-06-24 17:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-24 13:21 Full 40Gbps with i40e for large packets? Srivats P
2022-06-24 13:47 ` Willy Tarreau
2022-06-24 15:53   ` Srivats P
2022-06-24 17:20     ` Willy Tarreau [this message]
     [not found]   ` <CAH57y_QcP9a1j0BpZcf7y+ENFXEnjh9TBYNFUNM40nNVPg8how@mail.gmail.com>
2022-06-24 18:35     ` Willy Tarreau

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=20220624172037.GA11878@1wt.eu \
    --to=w@1wt.eu \
    --cc=pstavirs@gmail.com \
    --cc=xdp-newbies@vger.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 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.