DPDK patches and discussions
 help / color / mirror / Atom feed
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
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


  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

DPDK patches and discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ https://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git