Re: bhyve VM not getting as much upload bandwidth as the host

From: Miroslav Lachman <000.fbsd_at_quip.cz>
Date: Mon, 14 Aug 2023 09:30:22 UTC
On 14/08/2023 10:49, Odhiambo Washington wrote:
> I had the following in sysctl.conf:
> net.link.tap.up_on_open=1
> net.link.bridge.pfil_member=0
> net.link.bridge.pfil_bridge=0
> net.link.bridge.pfil_local_phys=1
> 
> So I only did:
> sysctl -w net.link.bridge.pfil_onlyip=0
> sysctl -w net.link.bridge.pfil_local_phys=0
> 
> Nothing has changed for the linux VM.
> 
> Windows11 VM is getting download/upload speed of 40Mbps/37Mbps while a 
> Debian12 VM is getting download/upload of 37Mbps/45Kbps.
> Maybe there is an issue with the Linux itself?

I never had this solved. Even my FreeBSD guest on FreeBSD host with 
VirtualBox is slow as few hunderds kB/s
It was like 10Mbps with Bhyve. I only use VMs for testing but installing 
packages is always so slow. So you are not alone. I would really like to 
know how to improve the network speed with virtualized environment.

Kind regards
Miroslav Lachman