Date: Thu, 26 Sep 2019 14:13:53 +0200 From: Ole <ole@free.de> To: freebsd-questions@freebsd.org Subject: Re: Bhyve: virtio-net very slow with FreeBSD 12.0 Host Message-ID: <20190926141353.55274583.ole@free.de> In-Reply-To: <20190205150522.635b9e34.ole@free.de> References: <20190205150522.635b9e34.ole@free.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/53kM30TV56uzXdfgI5ZVFK3 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, I want to push this up again. Cause I ran into it again :-( I wonder why no one else has a similar problem. I think my setup is very common. I made some tcpdumps during (very slow) package installation inside the VM.=20 tcpdump -i igb0 | grep pkg tcpdump -i igb0.4030 | grep pkg tcpdump -i bridge0 | grep pkg tcpdump -i tap0 | grep pkg the very long output is here https://pastebin.com/vM1VFziJ . For me it looks like very normal TCP traffic. seqs and acks ... thanks Ole Tue, 5 Feb 2019 15:05:22 +0100 - Ole <ole@free.de>: > Hello, >=20 > I discovered that virtio-net very slow with FreeBSD 12.0 Host. And > with very slow I mean 16 kBit/s. >=20 > I can't exclude that there is a problem in my setup. But I created two > very similar setups. One with FreeBSD 11.2 and one with 12.0. The > server with 11.2 has no problem. >=20 > Either I do something really wrong or there is a Bug in the > virtio-net. >=20 >=20 > Both Servers are connected to a switch, the IPs of the VMs are in the > vlan 4030. The Bhyve VMs are mangaed by vm-bhyve (master from > github).=20 >=20 > Bridges are created by rc.conf: >=20 > # Vlans > vlans_em0=3D"030" > ifconfig_em0_4030=3D"mtu 1400 up" >=20 > # Bridges > cloned_interfaces=3D"bridge0" > ifconfig_bridge0=3D"addm em0.4030 mtu 1400 up" >=20 > switch definition: >=20 > switch_list=3D"vm-net" > type_vm-net=3D"manual" > bridge_vm-net=3D"bridge0" >=20 > VM config: >=20 > loader=3D"bhyveload" > cpu=3D7 > memory=3D40G > network0_type=3D"virtio-net" > network0_switch=3D"vm-net" > disk0_type=3D"virtio-blk" > disk0_name=3D"disk0" > disk0_dev=3D"sparse-zvol" >=20 >=20 > vm creation: >=20 > vm create -t test-host -i FreeBSD-12.0-RELEASE-amd64.raw > test-example-com vm start test-example-com >=20 > Network setup (on the VM): >=20 > root@freebsd:~ # ifconfig vtnet0 xx.xx.xx.xx/28 mtu 1400 > root@freebsd:~ # route add default yy.yy.yy.yy >=20 > could someone help me to figure out if this is a Bug, and if yes > where it is? >=20 > Thanks > Ole --Sig_/53kM30TV56uzXdfgI5ZVFK3 Content-Type: application/pgp-signature Content-Description: Digitale Signatur von OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE60BGd7KVfL83NXCUJZaRRqjklFAFAl2Mq4EACgkQJZaRRqjk lFB9cw//XD2CTdNDDBf0UVLiR6YfyW7g7sWKxWg7pPmt+/csvKGuyhkSbb5geB2s 8N68oCam896XVG+jrmms4KBunEQMiJh0NFXfr7bsGKR5DLXIkh1tiZnzWicmL4CE uHpZ0RfZyxw42J+qh1XuPQy5Faz0W4OjkIgIYDSAWTpG/6v2Hen1OVAw0xJ9NQLI AsJXHn9ehc6EXESPNZZ+0VPdX6zY4ptsfBc2Iz8PgGsWKWn58/cYedpu0lU8/abf eOht6DkfjsjaxdK4+Rc8/n7gmMXmau70iaAbRZd+fHd/VikqVZG41kfYPh/69iBz V0J1xrZdoACZVTqVt7V4xGxEnFU2/LCxgpvnWcdY30IuVLnbJpCb9UQSTQgq17Wu Dh8q3mwA7ivy1EcmLalF8aZf+pTOvaMAsHnWbMNSF06hefE2sbbGbPGSzXI/bdKO RNiVfYlB/1kuUWwJOCwf4BvQ1ZwrzNV1eT0fGZcqWiJ/fRS9mCRM6zIrqOaJyzw0 ZviE2Xsx0MJoM25l1HXB4+eejAN3s/KXJDQx/DwhPjKhm/xEEtfGHZuSidd7ia5W VQ7dAEyCTLu2gp0NBa4ZNwfdxhFY+BihIjI9x2erBKkR1AR1a/eF1In4AsRAuaO4 svSDNCPObixOaQ/9kORTb9HPkRDRABCa5cCpEACSGNWANvTXSzo= =h4JO -----END PGP SIGNATURE----- --Sig_/53kM30TV56uzXdfgI5ZVFK3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190926141353.55274583.ole>