Bhyve: virtio-net very slow with FreeBSD 12.0 Host
Ole
ole at free.de
Tue Feb 5 14:05:37 UTC 2019
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 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?
Thanks
Ole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20190205/930762d3/attachment.sig>
More information about the freebsd-questions
mailing list