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
[-- Attachment #1 --] 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. 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, > > I discovered that virtio-net very slow with FreeBSD 12.0 Host. And > with very slow I mean 16 kBit/s. > > 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. > > Either I do something really wrong or there is a Bug in the > virtio-net. > > > 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). > > Bridges are created by rc.conf: > > # Vlans > vlans_em0="030" > ifconfig_em0_4030="mtu 1400 up" > > # Bridges > cloned_interfaces="bridge0" > ifconfig_bridge0="addm em0.4030 mtu 1400 up" > > switch definition: > > switch_list="vm-net" > type_vm-net="manual" > bridge_vm-net="bridge0" > > VM config: > > loader="bhyveload" > cpu=7 > memory=40G > network0_type="virtio-net" > network0_switch="vm-net" > disk0_type="virtio-blk" > disk0_name="disk0" > disk0_dev="sparse-zvol" > > > vm creation: > > vm create -t test-host -i FreeBSD-12.0-RELEASE-amd64.raw > test-example-com vm start test-example-com > > Network setup (on the VM): > > root@freebsd:~ # ifconfig vtnet0 xx.xx.xx.xx/28 mtu 1400 > root@freebsd:~ # route add default yy.yy.yy.yy > > could someone help me to figure out if this is a Bug, and if yes > where it is? > > Thanks > Ole [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190926141353.55274583.ole>
