From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8E7FCA034D; Fri, 28 Jan 2022 06:47:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2248542801; Fri, 28 Jan 2022 06:47:56 +0100 (CET) Received: from inbox.dpdk.org (inbox.dpdk.org [95.142.172.178]) by mails.dpdk.org (Postfix) with ESMTP id 85CBE40141 for ; Fri, 28 Jan 2022 06:47:54 +0100 (CET) Received: by inbox.dpdk.org (Postfix, from userid 33) id 488F8A034E; Fri, 28 Jan 2022 06:47:54 +0100 (CET) From: bugzilla@dpdk.org To: dev@dpdk.org Subject: [Bug 930] ConnectX6 DPDK dpdk-testpmd Receive tcp ,udp Mixed flow performance is very low! Date: Fri, 28 Jan 2022 05:47:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: ethdev X-Bugzilla-Version: 21.11 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: killerstemp@gmail.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org https://bugs.dpdk.org/show_bug.cgi?id=3D930 Bug ID: 930 Summary: ConnectX6 DPDK dpdk-testpmd Receive tcp ,udp Mixed flow performance is very low! Product: DPDK Version: 21.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: Normal Component: ethdev Assignee: dev@dpdk.org Reporter: killerstemp@gmail.com Target Milestone: --- I use Ixia to construct two streams Total 20Gbps 29760000 pps flow1 udp 64size small packet Send per second 10G bps 14880000 pps=20 flow2 tcp 64size small packet=20 Send per second 10G bps 14880000 pps ./dpdk-testpmd -l 4-22 -n 8 -- -i --rxq 19 --txq 19 --nb-cores 18 --rxd 2048 --txd 2048 --portmask 0xff set fwd rxonly start show port stats all testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 103906391 RX-missed: 369790696 RX-bytes: 6234383466 RX-errors: 0 RX-nombuf: 0=20=20=20=20=20=20=20=20=20 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 4205026 Rx-bps: 2018412608 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### Recive per second=20 2018412608 bps 2g bps 4205026 pps 4 million pps rx_discards_phy drop per second 10 million pps [root@localhost ~]# ethtool -S enp202s0f0 |grep dis rx_discards_phy: 35892329864 tx_discards_phy: 0 rx_prio0_discards: 35892164419 rx_prio1_discards: 0 rx_prio2_discards: 0 rx_prio3_discards: 0 rx_prio4_discards: 0 rx_prio5_discards: 0 rx_prio6_discards: 0 rx_prio7_discards: 0 If both flow become TCP, rx_discards_phy will not be drop. flow1 tcp 64size small packet flow2 tcp 64size small packet testpmd> show port stats all ######################## NIC statistics for port 0 #####################= ### RX-packets: 7177423122 RX-missed: 369790696 RX-bytes: 430645390083 RX-errors: 0 RX-nombuf: 0=20=20=20=20=20=20=20=20=20 TX-packets: 0 TX-errors: 0 TX-bytes: 0 Throughput (since last show) Rx-pps: 29779180 Rx-bps: 14294006816 Tx-pps: 0 Tx-bps: 0 #########################################################################= ### 29779180 pps 29 million pps=20=20 rx_discards_phy no drop [root@localhost ~]# ethtool -S enp202s0f0 |grep dis rx_discards_phy: 0 tx_discards_phy: 0 rx_prio0_discards: 0 rx_prio1_discards: 0 rx_prio2_discards: 0 rx_prio3_discards: 0 rx_prio4_discards: 0 rx_prio5_discards: 0 rx_prio6_discards: 0 rx_prio7_discards: 0 server=20 dell poweredge r750 [root@localhost proc]# lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 64 On-line CPU(s) list: 0-63 Thread(s) per core: 1 Core(s) per socket: 32 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 106 Model name: Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz Stepping: 6 CPU MHz: 2900.000 BogoMIPS: 5800.00 Virtualization: VT-x L1d cache: 48K L1i cache: 32K L2 cache: 1280K L3 cache: 55296K NUMA node0 CPU(s):=20=20=20=20 0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52= ,54,56,58,60,62 NUMA node1 CPU(s):=20=20=20=20 1,3,5,7,9,11,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53= ,55,57,59,61,63 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge= mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_c= pl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb cat_l3 invpcid_single intel_pt ssbd mba ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm rdt_a avx512f avx512dq rdseed adx s= map avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat p= ln pts avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq md_clear pconfig spec_ctrl intel_stibp flush= _l1d arch_capabilities MLX ConnectX6 100G PCIE4 x16 [root@localhost ~]# ofed_info -s MLNX_OFED_LINUX-5.5-1.0.3.2: [root@localhost ~]# mlxfwmanager Querying Mellanox devices firmware ... Device #1: ---------- Device Type: ConnectX6 Part Number: MCX653106A-ECA_Ax Description: ConnectX-6 VPI adapter card; H100Gb/s (HDR100; EDR IB a= nd 100GbE); dual-port QSFP56; PCIe3.0 x16; tall bracket; ROHS R6 PSID: MT_0000000224 PCI Device Name: 0000:ca:00.0 Base MAC: 08c0eb204e5a Versions: Current Available=20=20=20=20=20 FW 20.32.1010 20.32.1010=20=20=20=20 PXE 3.6.0502 3.6.0502=20=20=20=20=20=20 UEFI 14.25.0017 14.25.0017=20=20=20=20 Status: Up to date --=20 You are receiving this mail because: You are the assignee for the bug.=