Date: Wed, 23 Oct 2024 08:28:01 -0400 From: Cheng Cui <cc@freebsd.org> To: void <void@f-m.fm> Cc: freebsd-net@freebsd.org Subject: Re: Performance test for CUBIC in stable/14 Message-ID: <CAGaXui%2BEYmRhOdwOqFRbVsboCkrrWmnHnWRSqsSAgzbn5ug6bg@mail.gmail.com> In-Reply-To: <ZxgHOlRaCR6Joqdv@vm2> References: <ZxDdnSngi13UyZSL@vm2> <CAGaXuiK52ufOs-eVfKHAYpGxRyGfCMpbbZy4GcShybTzHcjDGg@mail.gmail.com> <ZxEqfISBJIW75p_P@vm2> <CAGaXuiJW5QW1eFqjXtSO%2BojOX5G12B56%2BnzE9zaVR7nB33VjWA@mail.gmail.com> <ZxJe8e8sRU9NCHv4@vm2> <CAGaXuiKD-b4PGrqfxy9zk-BRxU==HMc9KshqyJGzH8saeOLf1A@mail.gmail.com> <ZxaccxFblDt0UQWR@int21h> <CAGaXui%2BQ7wCM1dAKis%2BvNaNJ5uODeiC765hoXWT4OBtT7npprw@mail.gmail.com> <ZxfFRg3tYtdQt0hM@vm2> <CAGaXuiJvC2i5yxEaaDmHMoadPzkk3oqQOzg1yiqBuhTR%2B=R9Sg@mail.gmail.com> <ZxgHOlRaCR6Joqdv@vm2>
next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000007b749c06252406ca Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The latency does not sound a problem to me. What is the performance of TCP congestion control algorithm `newreno`? In case you need to load `newreno` first. cc@n1:~ % sudo kldload newreno cc@n1:~ % sudo sysctl net.inet.tcp.cc.algorithm=3Dnewreno net.inet.tcp.cc.algorithm: cubic -> newreno cc@n1:~ % And let me know the result of `newreno` vs. `cubic`, for example: iperf3 -B ${src} --cport ${tcp_port} -c ${dst} -l 1M -t 20 -i 2 -VC newreno cc On Tue, Oct 22, 2024 at 4:13=E2=80=AFPM void <void@f-m.fm> wrote: > On Tue, Oct 22, 2024 at 03:57:42PM -0400, Cheng Cui wrote: > >What is the output from `ping` (latency) between these VMs? > > That test wasn't between VMs. It was from the vm with the patches to a > workstation > on the same switch. > > ping from the vm to the workstation: > > --- 192.168.1.232 ping statistics --- > 10 packets transmitted, 10 packets received, 0.0% packet loss > round-trip min/avg/max/stddev =3D 0.643/0.796/0.870/0.070 ms > > ping from the vm with patches to an alpine linux vm on the same host: > > --- 192.168.1.65 ping statistics --- > 10 packets transmitted, 10 packets received, 0.0% packet loss > round-trip min/avg/max/stddev =3D 0.734/0.859/0.963/0.073 ms > > -- > > --=20 Best Regards, Cheng Cui --0000000000007b749c06252406ca Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>The latency does not sound a problem to me. What is t= he performance of</div><div>TCP congestion control algorithm `newreno`?</di= v><div><br></div><div>In case you need to load `newreno` first.=C2=A0</div>= <div><p style=3D"margin:0px;font-stretch:normal;line-height:normal;font-fam= ily:Monaco;font-size-adjust:none;font-kerning:auto;font-variant-alternates:= normal;font-variant-ligatures:normal;font-variant-numeric:normal;font-varia= nt-east-asian:normal;font-feature-settings:normal;color:rgb(242,242,242);ba= ckground-color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-= ligatures">cc@n1:~ % sudo kldload newreno</span></p> <p style=3D"margin:0px;font-stretch:normal;line-height:normal;font-family:M= onaco;font-size-adjust:none;font-kerning:auto;font-variant-alternates:norma= l;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-ea= st-asian:normal;font-feature-settings:normal;color:rgb(242,242,242);backgro= und-color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligat= ures">cc@n1:~ % sudo sysctl net.inet.tcp.cc.algorithm=3Dnewreno</span></p> <p style=3D"margin:0px;font-stretch:normal;line-height:normal;font-family:M= onaco;font-size-adjust:none;font-kerning:auto;font-variant-alternates:norma= l;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-ea= st-asian:normal;font-feature-settings:normal;color:rgb(242,242,242);backgro= und-color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligat= ures">net.inet.tcp.cc.algorithm: cubic -> newreno</span></p> <p style=3D"margin:0px;font-stretch:normal;line-height:normal;font-family:M= onaco;font-size-adjust:none;font-kerning:auto;font-variant-alternates:norma= l;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-ea= st-asian:normal;font-feature-settings:normal;color:rgb(242,242,242);backgro= und-color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligat= ures">cc@n1:~ %</span></p></div><div><br></div><div>And let me know the res= ult of `newreno` vs. `cubic`, for example:</div><div>iperf3 -B ${src} --cpo= rt ${tcp_port} -c ${dst} -l 1M -t 20 -i 2 -VC newreno<br></div><div><br></d= iv><div>cc</div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gm= ail_attr">On Tue, Oct 22, 2024 at 4:13=E2=80=AFPM void <<a href=3D"mailt= o:void@f-m.fm">void@f-m.fm</a>> wrote:<br></div><blockquote class=3D"gma= il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-le= ft-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Tue,= Oct 22, 2024 at 03:57:42PM -0400, Cheng Cui wrote:<br> >What is the output from `ping` (latency) between these VMs?<br> <br> That test wasn't between VMs. It was from the vm with the patches to a = workstation<br> on the same switch.<br> <br> ping from the vm to the workstation:<br> <br> --- 192.168.1.232 ping statistics ---<br> 10 packets transmitted, 10 packets received, 0.0% packet loss<br> round-trip min/avg/max/stddev =3D 0.643/0.796/0.870/0.070 ms<br> <br> ping from the vm with patches to an alpine linux vm on the same host:<br> <br> --- 192.168.1.65 ping statistics ---<br> 10 packets transmitted, 10 packets received, 0.0% packet loss<br> round-trip min/avg/max/stddev =3D 0.734/0.859/0.963/0.073 ms<br> <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> --0000000000007b749c06252406ca--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGaXui%2BEYmRhOdwOqFRbVsboCkrrWmnHnWRSqsSAgzbn5ug6bg>