Date: Thu, 17 Oct 2024 11:08:27 -0400 From: Cheng Cui <cc@freebsd.org> To: void <void@f-m.fm> Cc: freebsd-net@freebsd.org Subject: Re: Performance issues with vnet jails + epair + bridge Message-ID: <CAGaXuiK52ufOs-eVfKHAYpGxRyGfCMpbbZy4GcShybTzHcjDGg@mail.gmail.com> In-Reply-To: <ZxDdnSngi13UyZSL@vm2> References: <20240912181618.7895d10ad5ff2ebae9883192@gmail.com> <Zw3YGPIBC_s-q-Vg@vm2> <Zw3dlDuaSXsIG-yX@vm2> <CAGaXuiLG4Qv2KgDtJveN3adLh6b8tEzC4j6OYfLo1_dj8BKZWQ@mail.gmail.com> <Zw_6SNSEW5mXMy_I@vm2> <CAGaXuiL_Fk=_FtU23RoJBP0WguU8_-y3Tb1iZ=T2unVv-2aRpA@mail.gmail.com> <ZxDdnSngi13UyZSL@vm2>
next in thread | previous in thread | raw e-mail | index | archive | help
--00000000000036b48a0624ad91ff Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The patch has no effect at the host if the host is a data receiver. Also the patch is for the FreeBSD main (15-CURRENT in development). There is no plan to merge the commit into prior releases, given the code base has been branched for quite some time. cc On Thu, Oct 17, 2024 at 5:49=E2=80=AFAM void <void@f-m.fm> wrote: > On Thu, Oct 17, 2024 at 05:05:41AM -0400, Cheng Cui wrote: > >My commit is inside the FreeBSD kernel, so you just rebuild the `kernel`= , > >and you don't need to rebuild the `world`. > > OK thanks. Would building it the same on the bhyve *host* have an effect? > I'm asking because you earlier mentioned it's a vm-friendly change. > > I can test this if you like. I'm wondering if some changes on the host al= so > change the vm throughput. The host is currently using rack but the kernel > is > older than your changes. The host has expected throughput for 1GiB ethern= et > right now. Everything in the tests apart from the test target had the > default > params for the ethernet interface, so things like TSO are enabled. > > How can I apply your commit into a local 14.1-p5 src tree? I think this i= s > called 'cherry picking' but I don't really know much about git at all. > It'd be interesting to test, i think. > -- > > --=20 Best Regards, Cheng Cui --00000000000036b48a0624ad91ff Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>The patch has no effect at the host if the host is a = data receiver.</div><div><br></div><div>Also the patch is for the FreeBSD m= ain (15-CURRENT in development).</div><div>There is no plan to merge the co= mmit into prior releases, given the code</div><div>base has been branched f= or quite some time.</div><div><br></div><div>cc</div><br><div class=3D"gmai= l_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Oct 17, 2024 at 5:49= =E2=80=AFAM void <<a href=3D"mailto:void@f-m.fm">void@f-m.fm</a>> wro= te:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px = 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(2= 04,204,204);padding-left:1ex">On Thu, Oct 17, 2024 at 05:05:41AM -0400, Che= ng Cui wrote:<br> >My commit is inside the FreeBSD kernel, so you just rebuild the `kernel= `,<br> >and you don't need to rebuild the `world`.<br> <br> OK thanks. Would building it the same on the bhyve *host* have an effect?<b= r> I'm asking because you earlier mentioned it's a vm-friendly change.= <br> <br> I can test this if you like. I'm wondering if some changes on the host = also<br> change the vm throughput. The host is currently using rack but the kernel i= s<br> older than your changes. The host has expected throughput for 1GiB ethernet= <br> right now. Everything in the tests apart from the test target had the defau= lt<br> params for the ethernet interface, so things like TSO are enabled.<br> <br> How can I apply your commit into a local 14.1-p5 src tree? I think this is<= br> called 'cherry picking' but I don't really know much about git = at all.<br> It'd be interesting to test, i think.<br> -- <br> <br> </blockquote></div><br clear=3D"all"><div><br></div><span class=3D"gmail_si= gnature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><d= iv dir=3D"ltr"><div></div>Best Regards,<div>Cheng Cui</div></div></div></di= v> --00000000000036b48a0624ad91ff--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGaXuiK52ufOs-eVfKHAYpGxRyGfCMpbbZy4GcShybTzHcjDGg>