Re: bhyve VM not getting as much upload bandwidth as the host
- In reply to: Odhiambo Washington : "Re: bhyve VM not getting as much upload bandwidth as the host"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Aug 2023 10:47:22 UTC
1) You can try with Ubuntu 23.04. But are you using VirtualBOX ? Don't use it,anyway. Bhyve is much better. 2) VMWare Workstation can't be added to the equation,because it does not run on FreeBSD. Maybe you mean VirtualBOX. 3) You can try with another FreeBSD version that you install on a different machine ? 4) You can try to configure the network settings on the host os (FreeBSD 13.2-RELEASE) in a different way. Maybe there is some error there. Follow the Patrick M. Hausen's suggestion. He could be on the right track. On Mon, Aug 14, 2023 at 12:25 PM Odhiambo Washington <odhiambo@gmail.com> wrote: > Hi Mario, > > 1. As mentioned, I am only having this issue with the Debian12 VM. I am > going to test an Ubuntu-23.04 and see if there's a difference. > 2. I don't have any such issue with Debian12 VM using VMware Workstation > which I run on my laptop. > 3. My host OS is FreeBSD 13.2-RELEASE. I CANNOT change that as it is a > production server running other things. It's not a box for playing with :-) > 4. Not sure what you'd me to do with #4. > > On Mon, Aug 14, 2023 at 12:42 PM Mario Marietto <marietto2008@gmail.com> > wrote: > >> You should isolate the problem. You could make some tests to understand >> where the problem is. So you could create a matrix that can help you to >> create all the possible cases to analyze if the problem is : >> >> 1) within your specific vm only >> 2) in any vm you create with virtualbox and linux (which distro ? >> changing distro may solve the problem) >> 3) on the network config of the host os (freebsd) (what version ? >> changing version may solve the problem) >> 4) any other combination that can exclude variables >> >> On Mon, Aug 14, 2023 at 11:35 AM Odhiambo Washington <odhiambo@gmail.com> >> wrote: >> >>> >>> >>> On Mon, Aug 14, 2023 at 12:30 PM Miroslav Lachman <000.fbsd@quip.cz> >>> wrote: >>> >>>> 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 >>>> >>> >>> I had a FreeBSD VM for testing under bhyve and it did not suffer from >>> this upload speed hiccup. >>> >>> >>> >>> -- >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254 7 3200 0004/+254 7 2274 3223 >>> "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) >>> [How to ask smart questions: >>> http://www.catb.org/~esr/faqs/smart-questions.html] >>> >> >> >> -- >> Mario. >> > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-) > [How to ask smart questions: > http://www.catb.org/~esr/faqs/smart-questions.html] > -- Mario.