From: David Marchand <david.marchand@redhat.com>
To: Igor Russkikh <irusskikh@marvell.com>
Cc: dev <dev@dpdk.org>, Rasesh Mody <rmody@marvell.com>,
Devendra Singh Rawat <dsinghrawat@marvell.com>,
Ferruh Yigit <ferruh.yigit@intel.com>,
Wenzhuo Lu <wenzhuo.lu@intel.com>,
Beilei Xing <beilei.xing@intel.com>,
Bernard Iremonger <bernard.iremonger@intel.com>
Subject: Re: [dpdk-dev] [PATCH] app/testpmd: tx pkt clones parameter in flowgen
Date: Mon, 18 Jan 2021 09:32:07 +0100 [thread overview]
Message-ID: <CAJFAV8z1dhPk8B2oEREYSp8duwGLW3JyL-ZBdD4iEjOzfW1nGw@mail.gmail.com> (raw)
In-Reply-To: <20210116093859.3025-1-irusskikh@marvell.com>
On Sat, Jan 16, 2021 at 10:39 AM Igor Russkikh <irusskikh@marvell.com> wrote:
>
> When testing high performance numbers, it is often that CPU performance
> limits the max values device can reach (both in pps and in gbps)
>
> Here instead of recreating each packet separately, we use clones counter
> to resend the same mbuf to the line multiple times.
>
> PMDs handle that transparently due to reference counting inside of mbuf.
>
> Reaching max PPS on small packet sizes helps here:
> Some data from our 2 port x 50G device. Using 2*6 tx queues, 64b packets,
> PowerEdge R7525, AMD EPYC 7452:
>
> ./build/app/dpdk-testpmd -l 32-63 -- --forward-mode=flowgen \
> --rxq=6 --txq=6 --disable-crc-strip --burst=512 \
> --flowgen-clones=0 --txd=4096 --stats-period=1 --txpkts=64
>
> Gives ~46MPPS TX output:
>
> Tx-pps: 22926849 Tx-bps: 11738590176
> Tx-pps: 23642629 Tx-bps: 12105024112
>
> Setting flowgen-clones to 512 pushes TX almost to our device
> physical limit (68MPPS) using same 2*6 queues(cores):
>
> Tx-pps: 34357556 Tx-bps: 17591073696
> Tx-pps: 34353211 Tx-bps: 17588802640
>
> Doing similar measurements per core, I see one core can do
> 6.9MPPS (without clones) vs 11MPPS (with clones)
>
> Verified on Marvell qede and atlantic PMDs.
Ubuntu 18.04 gcc complains:
https://github.com/ovsrobot/dpdk/runs/1713302522?check_suite_focus=true#step:14:3097
Can you have a look?
--
David Marchand
next prev parent reply other threads:[~2021-01-18 8:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-16 9:38 Igor Russkikh
2021-01-18 8:32 ` David Marchand [this message]
2021-01-19 11:58 ` [dpdk-dev] [EXT] " Igor Russkikh
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=CAJFAV8z1dhPk8B2oEREYSp8duwGLW3JyL-ZBdD4iEjOzfW1nGw@mail.gmail.com \
--to=david.marchand@redhat.com \
--cc=beilei.xing@intel.com \
--cc=bernard.iremonger@intel.com \
--cc=dev@dpdk.org \
--cc=dsinghrawat@marvell.com \
--cc=ferruh.yigit@intel.com \
--cc=irusskikh@marvell.com \
--cc=rmody@marvell.com \
--cc=wenzhuo.lu@intel.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).