bhyve Bhyve VMs network speed test: OpenBSD 3x slower than FreeBSD?

Hi,

Host machine: FreeBSD 14.0

Got two bhyve VMs; OpenBSD 7.4 VM and FreeBSD 14 VM.

Tried to have a network test from host machine to both VMs with iperf3, the results were interesting.

From host machine to FreeBSD VM:

fbsd-vm.png


FreeBSD VM brings a speed of; Transfer: 7.07 GBytes - Bitrate: 6.08 Gbits/sec.

From host machine to OpenBSD 7.4 VM:

obsd-vm.png


OpenBSD VM brings a speed of; Transfer: 2.47 GBytes - Bitrate: 2.13 Gbits/sec.

As it's shown above, the results for OpenBSD VM above are pretty low, in comparison to the FreeBSD VM.

Is this the normal reaction of OpenBSD or am I really missing something here?

Network type: virtio-net - vm-switch.

Thanks.
 
I would assume the virtualized network card on FreeBSD's hypervisor is fairly well optimized for the network card driver on FreeBSD itself.

OpenBSD is slower than FreeBSD (due to a number of mitigations), however for networking throughput, it should be fairly comparable.

But it could also be disk IO, or a number of reasons really.
 
Back
Top