Date: Tue, 24 May 2022 08:53:32 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 264198] bhyve: very slow network with IPFW, virtio and Vlan on 12.3-RELEASE-p5 Message-ID: <bug-264198-27103-sDQ6Rp88y1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-264198-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-264198-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264198 --- Comment #1 from ol@dbconn.net --- 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 beh= ind 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=20 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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264198-27103-sDQ6Rp88y1>