default hw.vtnet.csum_disable=1 causes network slowness

Started by jauling, February 16, 2025, 02:09:04 AM

Previous topic - Next topic
Quote from: grb on March 05, 2026, 06:12:45 PMPPPoE WAN

I was testing other VMs:
- Debian to Debian on same network reaches 20Gbps
- vanilla pfSense 2.8.1 to Debian 4.46 Gbits/sec
- also vanilla FreeBSD 16.0 (Current) to Debian - and that's what worries me, because I get 17Gbps one way, and 5Gbps other way.

Does it mean that even in near future I won't achieve over >15 Gbps speed on OPNsense/FreeBSD?
Or haven't setup up sth obvious?

Are these all PPPoE speeds ?

If so, I think there is not much you can do about it : Anything Linux based will perform simply better when using PPPoE on your WAN :)
Weird guy who likes everything Linux and *BSD on PC/Laptop/Tablet/Mobile and funny little ARM based boards :)

QuoteAre these all PPPoE speeds ?
No, I was mostly showing LAN speeds between VMs (OPNSsense included)
My default WAN is 0.6Gbps but when I tweaked for these:
hw.vtnet.csum_disable 0
hw.vtnet.tso_disable 0
hw.vtnet.lro_disable 0
Then my LAN speed between VM increased to >16Gbps+ but then PPPOE wan decreased to 0.2Gbps

Quote from: grb on March 06, 2026, 07:53:43 PMThen my LAN speed between VM increased to >16Gbps+ but then PPPOE wan decreased to 0.2Gbps

It's a matter of NAT, which just happens to correlate with the WAN <> internal distinction.

@franco did you cherry pick all fixes for vtnet(4) that are in stable/14 into OPNsense, already? That historical mega-issue in the FreeBSD bug tracker in which I had quite some participation was only recently closed as solved. I personally tested releng/14.3 vs. stable/14 and only the latter delivered the expected performance.

I can look it up, but I guess we all know which issue ;-)

Kind regards,
Patrick
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)