[Bug 264198] bhyve: very slow network with IPFW, virtio and Vlan on 12.3-RELEASE-p5
Date: Tue, 24 May 2022 08:53:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264198 --- Comment #1 from email@example.com --- Hello, after upgrading machines from 12.2 to 12.3 I experienced very slow network connection on virtual machines when activating ipfw on the host system. With 12.2 there was no problem. Description of the affected setup: * HostA and HostB, both FreeBSD 12.3, one NIC * VmA (on HostA) and VmB (on HostB), both with virtio-net. HostA and HostB are connected to a Switch with vlans. For me everything behind the NIC is a blackbox. vlan MTU is 1400. On both hosts there is a bridge, with the vlan-interface and the tap of the vm. HostA and HostB: igb0---igb0.4030---bridge4030---tap0 On HostA and B there ist only one ipfw rule: 65535 allow ip from any to any Measurement of thoughput: VmA # nc -v -l 2222 > /dev/null VmB # nc -v vma 2222 Connection to vma 2222 port [tcp/*] succeeded! 6+0 records in 6+0 records out 6291456 bytes transferred in 19.360484 secs (324964 bytes/sec) this is 317kbytes/s If I deactivate the ipfw firewall on HostA with "service ipfw stop" the throughput increases to 21Mbytes/s. I tried to solve it by deactivating options with: ifconfig igb0 -txcsum -rxcsum -txcsum6 -rxcsum6 -tso4 -tso6 -vlanhwtso -vlanhwcsum but this could not solve the problem. regards Ole -- You are receiving this mail because: You are the assignee for the bug.