[solved] Re: Bhyve: virtio-net very slow with FreeBSD 12.0 Host
ole at free.de
Fri Mar 20 09:16:45 UTC 2020
just for the record:
There is also a Bug Report documenting this
It seems, there is a Bug in the hardware vlan tag processing.
I can solve the problem if I configure the interface with -vlanhwtag on
the host before starting the rest. (via rc.conf)
Thanks to Mike who gave me this hint
Tue, 5 Feb 2019 15:05:22 +0100 - Ole <ole at free.de>:
> 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
> 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
> Bridges are created by rc.conf:
> # Vlans
> ifconfig_em0_4030="mtu 1400 up"
> # Bridges
> ifconfig_bridge0="addm em0.4030 mtu 1400 up"
> switch definition:
> VM config:
> 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 at freebsd:~ # ifconfig vtnet0 xx.xx.xx.xx/28 mtu 1400
> root at 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
More information about the freebsd-questions