<html>
<head>
<base href="https://bugs.dpdk.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8" class="bz_new_table">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - [dpdk-25.07] virtio_pvp_regression: perf drop"
href="https://bugs.dpdk.org/show_bug.cgi?id=1747">1747</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[dpdk-25.07] virtio_pvp_regression: perf drop
</td>
</tr>
<tr>
<th>Product</th>
<td>DPDK
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>vhost/virtio
</td>
</tr>
<tr>
<th>Assignee</th>
<td>dev@dpdk.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yux.jiang@intel.com
</td>
</tr>
<tr>
<th>Target Milestone</th>
<td>---
</td>
</tr></table>
<p>
<div class="bz_comment_block">
<pre class="bz_comment_text">[Environment]
DPDK version:
commit 20460dcffd08a4680f881c39916ae783ee830374 (HEAD -> main, tag: v25.07-rc2,
origin/main, origin/HEAD)
Author: Thomas Monjalon <<a href="mailto:thomas@monjalon.net">thomas@monjalon.net</a>>
Date: Mon Jun 30 00:23:49 2025 +0200
version: 25.07-rc2
Signed-off-by: Thomas Monjalon <<a href="mailto:thomas@monjalon.net">thomas@monjalon.net</a>>
OS: Ubuntu 24.04.2 LTS (Noble Numbat); 6.8.0-62-generic
Compiler: gcc version 13.3.0 (Ubuntu 13.3.0-6ubuntu2~24.04)
Hardware platform: Intel(R) Xeon(R) Platinum 8380 CPU @ 2.30GHz CPU @ 2.3GHz
QEMU: qemu-10.0.2
NIC: Ethernet Controller E810-C for QSFP 1592
[Bad commit Debug Info]:
3e3c7f3fa5 net/virtio: fix check of threshold for Tx freeing
[Test Setup]
Steps to reproduce
List the steps to reproduce the issue.
1, Build dpdk
rm -rf x86_64-native-linuxapp-gcc
CC=gcc meson -Denable_kmods=True -Dlibdir=lib --default-library=static
x86_64-native-linuxapp-gcc
ninja -C x86_64-native-linuxapp-gcc
2, Bind one NIC port and launch vhost-user
usertools/dpdk-devbind.py --force --bind=vfio-pci 0000:4b:00.0
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -l 5-7 -n 8 -a 0000:4b:00.0
--file-prefix=vhost_343434_20250703181552 --vdev
'eth_vhost0,iface=/root/dpdk/vhost-net,queues=2,client=1' -- -i --nb-cores=2
--rxq=2 --txq=2 --txd=1024 --rxd=1024
set fwd mac
start
3, Launch qemu and start testpmd
lsof -n -i:6000
taskset -c 20,21,22,23,24,25,26,27
/home/QEMU/qemu-10.0.2/bin/qemu-system-x86_64 -name vm0 -enable-kvm -pidfile
/tmp/.vm0.pid -daemonize -monitor unix:/tmp/vm0_monitor.sock,server,nowait
-netdev user,id=nttsip1,hostfwd=tcp:10.239.252.245:6000-:22 -device
e1000,netdev=nttsip1 -chardev socket,id=char0,path=/root/dpdk/vhost-net,server
-netdev type=vhost-user,id=netdev0,chardev=char0,vhostforce,queues=2 -device
virtio-net-pci,netdev=netdev0,mac=52:54:00:00:00:01,disable-modern=true,mrg_rxbuf=off,rx_queue_size=1024,tx_queue_size=1024,mq=on,vectors=15
-cpu host -smp 8 -m 8192 -object
memory-backend-file,id=mem,size=8192M,mem-path=/dev/hugepages,share=on -numa
node,memdev=mem -mem-prealloc -chardev
socket,path=/tmp/vm0_qga0.sock,server,nowait,id=vm0_qga0 -device virtio-serial
-device virtserialport,chardev=vm0_qga0,name=org.qemu.guest_agent.0 -vnc :4
-drive file=/home/image/ubuntu2004.img
IN VM:
echo 0 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
echo 1024 >
/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
modprobe vfio
modprobe vfio-pci
echo 1 > /sys/module/vfio/parameters/enable_unsafe_noiommu_mode
usertools/dpdk-devbind.py --force --bind=vfio-pci --noiommu-mode 0000:00:04.0
x86_64-native-linuxapp-gcc/app/dpdk-testpmd -c 0x7 -n 4 -- -i
--enable-hw-vlan-strip --nb-cores=2 --rxq=2 --txq=2 --txd=1024 --rxd=1024
set fwd mac
start
4, Use trex to send pkgs
Ether(dst="40:a6:b7:96:e4:00")/IP(src="192.168.4.1")/("X"*26)
5, on Vhost side check NIC statistics:
testpmd> show port stats all
[Actual Result]
testpmd> show port stats all
######################## NIC statistics for port 0 ########################
RX-packets: 1335228256 RX-missed: 3852467168 RX-bytes: 1257101091618
RX-errors: 0
RX-nombuf: 0
TX-packets: 1335227072 TX-errors: 0 TX-bytes: 922022159232
Throughput (since last show)
Rx-pps: 2082875 Rx-bps: 8546636528
Tx-pps: 2082875 Tx-bps: 10284137360
############################################################################
######################## NIC statistics for port 1 ########################
RX-packets: 1335227200 RX-missed: 0 RX-bytes: 2021533980800
RX-errors: 0
RX-nombuf: 0
TX-packets: 1335227392 TX-errors: 0 TX-bytes: 2021534271488
Throughput (since last show)
Rx-pps: 2082875 Rx-bps: 25227789696
Tx-pps: 2082875 Tx-bps: 25227789696
############################################################################
testpmd>
[Expect Result]
testpmd> show port stats all
######################## NIC statistics for port 0 ########################
RX-packets: 161121824 RX-missed: 290949041 RX-bytes: 684435274430
RX-errors: 0
RX-nombuf: 0
TX-packets: 161069126 TX-errors: 0 TX-bytes: 243858650692
Throughput (since last show)
Rx-pps: 2880720 Rx-bps: 98209559280
Tx-pps: 2880658 Tx-bps: 34890425968
############################################################################
######################## NIC statistics for port 1 ########################
RX-packets: 161069346 RX-missed: 0 RX-bytes: 243858989844
RX-errors: 0
RX-nombuf: 0
TX-packets: 161070988 TX-errors: 50004 TX-bytes: 243861475832
Throughput (since last show)
Rx-pps: 2880737 Rx-bps: 34891493424
Tx-pps: 2880737 Tx-bps: 34891493424
########
</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://bugs.dpdk.org/show_bug.cgi?id=1747">
<meta itemprop="name" content="View bug">
</div>
<meta itemprop="description" content="Bugzilla bug update notification">
</div>
</body>
</html>