DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] TX-dropped is high while sending custom packet via testpmd app
@ 2019-07-16  9:31 Nilesh
  2019-07-16  9:43 ` Bruce Richardson
  0 siblings, 1 reply; 2+ messages in thread
From: Nilesh @ 2019-07-16  9:31 UTC (permalink / raw)
  To: dev, users

Hello,
     we are trying to send packets from the testpmd to another machine 
with DPDK running.
     We are building custom packets before sending it on the wire.
     After running the application the TX-dropped is quite high (can be 
inferred from following logs : )


$ sudo ./testpmd -c f -w 01:00.1  --   --nb-cores=2 
--eth-peer=0,A4:BF:01:37:23:AB --rxq=1 --txq=1


Port statistics ====================================
  ######################## NIC statistics for port 0 
########################
  RX-packets: 1445150    RX-missed: 0          RX-bytes:  86709064
  RX-errors: 0
  RX-nombuf:  0
  TX-packets: 1602045    TX-errors: 0          TX-bytes:  134571780

  Throughput (since last show)
  Rx-pps:            0
  Tx-pps:            0
  ############################################################################

  ---------------------- Forward statistics for port 0 
----------------------
  RX-packets: 1445160        RX-dropped: 0             RX-total: 1445160
  TX-packets: 1602045        TX-dropped: 694971472     TX-total: 696573517
  ----------------------------------------------------------------------------

  +++++++++++++++ Accumulated forward statistics for all 
ports+++++++++++++++
  RX-packets: 1445160        RX-dropped: 0             RX-total: 1445160
  TX-packets: 1602045        TX-dropped: 694971472     TX-total: 696573517
  ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


What could be the reason for such packet drop? What tuning of 
buffer/queue size affects this ?

How to set optimal setting for high performance?


System specification :
2 machines with
Distributor ID:    Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:    16.04
Codename:    xenial

Kernel: 4.15.0-29-generic
DPDK: 19.05.0

Hardware:
CPU: Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz

NIC 1: Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ (i40e)
NIC 2: Intel Corporation I350 Gigabit Network Connection (igb)

Regards,
Nilesh



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-16  9:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16  9:31 [dpdk-dev] TX-dropped is high while sending custom packet via testpmd app Nilesh
2019-07-16  9:43 ` Bruce Richardson

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).