DPDK usage discussions
 help / color / mirror / Atom feed
From: Antonio Di Bacco <a.dibacco.ks@gmail.com>
To: users@dpdk.org
Subject: DPDK performances surprise
Date: Wed, 18 May 2022 18:40:37 +0200	[thread overview]
Message-ID: <CAO8pfFnSf070rr3n5LXwY9cSB0jFYF_3ENmVRH8q_AaBBKoJ=w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 814 bytes --]

I recently read a performance test where l2fwd was able to receive packets
(8000B) from a 100 Gbps card, swap the L2 addresses and send them back to
the same port to be received by an ethernet analyzer. The throughput
achieved was close to 100 Gbps on a XEON machine (Intel(R) Xeon(R) Platinum
8176 CPU @ 2.10GHz) . This is the same processor I have and I know that, if
I try to write around 8000B to the attached DDR4 (2666MT/s) on an allocated
1GB hugepage, I get a maximum throughput of around 20GB/s.

Now, a 100 Gbps can generate a flow of around 12 GB/s, these packets have
to be written to the DDR and then read back to swap L2 addresses and this
leads to a cumulative bandwidth on the DDR that is around 2x12 GB/s and is
more than the 20GB/s of available bandwidth on the DDR4.

How can this be possible ?

[-- Attachment #2: Type: text/html, Size: 891 bytes --]

             reply	other threads:[~2022-05-18 16:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 16:40 Antonio Di Bacco [this message]
2022-05-18 16:53 ` Sanford, Robert
2022-05-18 17:04   ` Stephen Hemminger
2022-05-19  9:03     ` Antonio Di Bacco
2022-05-19  8:29   ` Kinsella, Ray
2022-05-19  9:04     ` Antonio Di Bacco
2022-05-19  9:07       ` Kinsella, Ray
2022-05-19 15:05         ` Stephen Hemminger

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='CAO8pfFnSf070rr3n5LXwY9cSB0jFYF_3ENmVRH8q_AaBBKoJ=w@mail.gmail.com' \
    --to=a.dibacco.ks@gmail.com \
    --cc=users@dpdk.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;
as well as URLs for NNTP newsgroup(s).