Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Aug 2023 12:35:02 +0300
From:      Odhiambo Washington <odhiambo@gmail.com>
To:        Miroslav Lachman <000.fbsd@quip.cz>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: bhyve VM not getting as much upload bandwidth as the host
Message-ID:  <CAAdA2WMTqRNRgviymPw1jA45Q8oA-Ygx0hn=5=7aQdHWmfFusg@mail.gmail.com>
In-Reply-To: <38587cf9-29a7-1246-3b64-a3cf35933717@quip.cz>
References:  <CAAdA2WN6FTT=Bn-p3EEGDk_-8=g_PoFicUb%2Be-ybcpKxjY5bwQ@mail.gmail.com> <096b2d73-b28c-bd6b-a6d3-2a3c3dbaea7e@h4ck.io> <CAAdA2WM8Qrro-md-Rg%2BXfj5BxNrP_A8chD6TGrxQD2G14oC86g@mail.gmail.com> <38587cf9-29a7-1246-3b64-a3cf35933717@quip.cz>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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]

[-- Attachment #2 --]
<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 14, 2023 at 12:30 PM Miroslav Lachman &lt;<a href="mailto:000.fbsd@quip.cz">000.fbsd@quip.cz</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 14/08/2023 10:49, Odhiambo Washington wrote:<br>
&gt; I had the following in sysctl.conf:<br>
&gt; net.link.tap.up_on_open=1<br>
&gt; net.link.bridge.pfil_member=0<br>
&gt; net.link.bridge.pfil_bridge=0<br>
&gt; net.link.bridge.pfil_local_phys=1<br>
&gt; <br>
&gt; So I only did:<br>
&gt; sysctl -w net.link.bridge.pfil_onlyip=0<br>
&gt; sysctl -w net.link.bridge.pfil_local_phys=0<br>
&gt; <br>
&gt; Nothing has changed for the linux VM.<br>
&gt; <br>
&gt; Windows11 VM is getting download/upload speed of 40Mbps/37Mbps while a <br>
&gt; Debian12 VM is getting download/upload of 37Mbps/45Kbps.<br>
&gt; Maybe there is an issue with the Linux itself?<br>
<br>
I never had this solved. Even my FreeBSD guest on FreeBSD host with <br>
VirtualBox is slow as few hunderds kB/s<br>
It was like 10Mbps with Bhyve. I only use VMs for testing but installing <br>
packages is always so slow. So you are not alone. I would really like to <br>
know how to improve the network speed with virtualized environment.<br>
<br>
Kind regards<br>
Miroslav Lachman<br></blockquote><div><br></div><div>I had a FreeBSD VM for testing under bhyve and it did not suffer from this upload speed hiccup. </div><div> </div></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div dir="ltr"><div>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254 7 3200 0004/+254 7 2274 3223<br>&quot;<span style="font-size:12.8px">Oh, the cruft.</span><span style="font-size:12.8px">&quot;, </span><span style="font-size:12.8px">egrep -v &#39;^$|^.*#&#39; </span><span style="background-color:rgb(34,34,34);color:rgb(238,238,238);font-family:&quot;Lucida Console&quot;,Consolas,&quot;Courier New&quot;,monospace;font-size:13.6px">¯\_(ツ)_/¯</span><span style="font-size:12.8px"> :-)</span></div><div><span style="font-size:12.8px">[How to ask smart questions: </span><span style="font-size:12.8px"><a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>]</span></div></div></div></div></div>;
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAAdA2WMTqRNRgviymPw1jA45Q8oA-Ygx0hn=5=7aQdHWmfFusg>