[Bug 290773] vtnet: Severe performance regression since D51686
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Nov 2025 08:32:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290773
--- Comment #4 from lg@efficientip.com ---
Created attachment 265143
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=265143&action=edit
vtnet0 pcap during SCP test
Hello
Please find bellow the requested information
* For reproducing the issue you copy a file from the VM to some other host?
For the test you can copy a file from the VM to your PC.
* Is the other host another VM running in parallel to the FreeBSD VM?
Yes but their is plenty of resources available on the host.
* Is the other host a physical host?
Physical this one does not matter, I have the issue with a VM on the same host
or using my PC as a client.
* Are you running any sort of NAT/Firewall on the FreeBSD VM?
Not in the FreeBSD VM and not on the path between the FreeBSD VM and the
"client"
* Could you provide the output of ifconfig vtnet0?
# ifconfig vtnet0
vtnet0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
options=ec07b9<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS>
ether 92:93:c8:6e:95:77
inet 12.0.251.19 netmask 0xffff0000 broadcast 12.0.255.255
inet6 fe80::9093:c8ff:fe6e:9577%vtnet0 prefixlen 64 scopeid 0x2
media: Ethernet autoselect (10Gbase-T <full-duplex>)
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
* Could you provide the output of sysctl hw.vtnet
# sysctl hw.vtnet
hw.vtnet.lro_mbufq_depth: 0
hw.vtnet.lro_entry_count: 128
hw.vtnet.rx_process_limit: 1024
hw.vtnet.tso_maxlen: 65535
hw.vtnet.mq_max_pairs: 32
hw.vtnet.mq_disable: 0
hw.vtnet.lro_disable: 1
hw.vtnet.tso_disable: 0
hw.vtnet.fixup_needs_csum: 0
hw.vtnet.csum_disable: 0
* Could you provide the output of sysctl dev.vtnet.0
dev.vtnet.0.txq0.rescheduled: 0
dev.vtnet.0.txq0.tso: 0
dev.vtnet.0.txq0.csum: 0
dev.vtnet.0.txq0.omcasts: 2
dev.vtnet.0.txq0.obytes: 258
dev.vtnet.0.txq0.opackets: 3
dev.vtnet.0.rxq0.rescheduled: 0
dev.vtnet.0.rxq0.host_lro: 0
dev.vtnet.0.rxq0.csum_failed: 0
dev.vtnet.0.rxq0.csum: 0
dev.vtnet.0.rxq0.ierrors: 0
dev.vtnet.0.rxq0.iqdrops: 0
dev.vtnet.0.rxq0.ibytes: 82768
dev.vtnet.0.rxq0.ipackets: 948
dev.vtnet.0.tx_task_rescheduled: 0
dev.vtnet.0.tx_tso_offloaded: 0
dev.vtnet.0.tx_csum_offloaded: 0
dev.vtnet.0.tx_defrag_failed: 0
dev.vtnet.0.tx_defragged: 0
dev.vtnet.0.tx_tso_without_csum: 0
dev.vtnet.0.tx_tso_not_tcp: 0
dev.vtnet.0.tx_csum_proto_mismatch: 0
dev.vtnet.0.tx_csum_unknown_ethtype: 0
dev.vtnet.0.rx_task_rescheduled: 0
dev.vtnet.0.rx_csum_offloaded: 0
dev.vtnet.0.rx_csum_failed: 0
dev.vtnet.0.rx_csum_inaccessible_ipproto: 0
dev.vtnet.0.rx_csum_bad_offset: 0
dev.vtnet.0.rx_csum_bad_ipproto: 0
dev.vtnet.0.rx_csum_bad_ethtype: 0
dev.vtnet.0.rx_mergeable_failed: 0
dev.vtnet.0.rx_enq_replacement_failed: 0
dev.vtnet.0.rx_frame_too_large: 0
dev.vtnet.0.mbuf_alloc_failed: 0
dev.vtnet.0.act_vq_pairs: 1
dev.vtnet.0.req_vq_pairs: 1
dev.vtnet.0.max_vq_pairs: 1
dev.vtnet.0.%iommu:
dev.vtnet.0.%parent: virtio_pci2
dev.vtnet.0.%pnpinfo: vendor=0x00001af4 device=0x1000 subvendor=0x1af4
device_type=0x00000001
dev.vtnet.0.%location:
dev.vtnet.0.%driver: vtnet
dev.vtnet.0.%desc: VirtIO Networking Adapter
* Details of the step to generate the pcap :
- I have create a 1G file "truncate -s 1G /tmp/1G.data"
- start the pcap filtering on the IP of the vtnet0
- From my other "scp user@12.0.251.19:/tmp/1G.data /dev/null"
- Few seconds later I stopped the scp and the pcap.
In wireshark I can see "[Reassembly error, protocol TCP: New fragment overlaps
old data (retransmission?)]"
And the "dev.vtnet.0.tx_tso_without_csum" is increasing during the test.
--
You are receiving this mail because:
You are on the CC list for the bug.