DPDK usage discussions
 help / color / mirror / Atom feed
From: "Yan, Xiaoping (NSB - CN/Hangzhou)" <xiaoping.yan@nokia-sbell.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: using dpdk-testpmd as traffic generator for dpdk application performance test
Date: Tue, 6 Sep 2022 10:46:08 +0000	[thread overview]
Message-ID: <000cbcc0b8074fdba1d203463065b941@nokia-sbell.com> (raw)

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

Hi,

I'm trying to use dpdk-testpmd TX-ONLY mode as traffic generator for performance test.
With command like below, the testpmd is sending traffic in quit high rate.
Is there some way to configure the generated packet rate?
I tried to set txtimes (set txtimes 1000,1000), but it seems no effect on packet rate.
Also do we have some way to show current packet rate in testpmd?
Thank you.

I'm using dpdk 21.11, and using Mellanox CX-6 SRIOV VF for testing.

Testpmd command used:
dpdk-testpmd -l "32,33" --legacy-mem --socket-mem "1000,4000" -a 0000:b1:04.7 -- -i --nb-cores=1 --portmask=0x1 --rxd=2048 --txd=2048
testpmd> port stop 0
testpmd> vlan set filter on 0
testpmd> rx_vlan add 1111 0
testpmd> port start 0
testpmd> set fwd txonly
testpmd> set txpkts 64
testpmd> set eth-peer 0 4A:8F:F1:22:C8:F3
testpmd> start







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

             reply	other threads:[~2022-09-06 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-06 10:46 Yan, Xiaoping (NSB - CN/Hangzhou) [this message]
2022-09-06 15:26 ` 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=000cbcc0b8074fdba1d203463065b941@nokia-sbell.com \
    --to=xiaoping.yan@nokia-sbell.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).