Bug 1254 - [dpdk-23.07] iavf performance drop 8%
Summary: [dpdk-23.07] iavf performance drop 8%
Status: UNCONFIRMED
Alias: None
Product: DPDK
Classification: Unclassified
Component: testpmd (show other bugs)
Version: 23.07
Hardware: x86 Linux
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2023-06-20 11:38 CEST by Han Yingya
Modified: 2023-06-26 09:25 CEST (History)
1 user (show)



Attachments

Description Han Yingya 2023-06-20 11:38:52 CEST
Steps to reproduce

1.create vfs and bind to vfio-pci
echo 1 > /sys/bus/pci/devices/0000\:31\:00.0/sriov_numvfs
echo 1 > /sys/bus/pci/devices/0000\:4b\:00.0/sriov_numvfs
ip link set ens85f0 vf 0 spoofchk off
ip link set ens85f0 vf 0 trust on
ip link set ens93f0 vf 0 spoofchk off
ip link set ens93f0 vf 0 trust on

./usertools/dpdk-devbind.py -b vfio-pci 31:01.0 4b:01.0 

2.start testpmd with io fwd
dpdk-testpmd -l 5,6,7 -n 8 --force-max-simd-bitwidth=512 -- -i --txq=2 --rxq=2 --nb-cores=2
EAL: Detected CPU lcores: 128
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:31:01.0 (socket 0)
EAL: Probe PCI driver: net_iavf (8086:1889) device: 0000:4b:01.0 (socket 0)
TELEMETRY: No legacy callbacks, legacy socket not created
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=163456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]Port 0: link state change eventPort 0: link state change eventPort 0: link state change eventPort 0: link state change event
Port 0: 6A:CF:11:53:D5:96
Configuring Port 1 (socket 0)
iavf_configure_queues(): request RXDID[22] in Queue[0]
iavf_configure_queues(): request RXDID[22] in Queue[1]Port 1: link state change eventPort 1: link state change eventPort 1: link state change eventPort 1: link state change event
Port 1: 7E:4B:A0:11:25:5B
Checking link statuses...
Done
testpmd> start

3.Start transmit traffic from ixia.
transmit rate: 100%
frame size: 64
IP/fixed dst, ramdom src

4.Actual Result.
| Fwd_core | Frame Size | Throughput
| 2C/2T    | 64         | 80.7 Mpps 

5.Expected Result.
| Fwd_core | Frame Size | Throughput
| 2C/2T    | 64         | 87.9 Mpps 

6. DPDK Bad commit.
commit ed090599c8bdcf5788d3459a752f1bbac0cef176
Author: Tyler Retzlaff <roretzla@linux.microsoft.com>
Date:   Mon Mar 20 12:00:21 2023 -0700     

rework atomic intrinsics fetch operations
Comment 1 Xu,Hailin 2023-06-26 09:25:05 CEST
@Tyler Retzlaff Can you take a look at this issue

Note You need to log in before you can comment on or make changes to this bug.