Date: Tue, 25 Jul 2023 20:12:47 -0700 From: Kevin Bowling <kevin.bowling@kev009.com> To: FreeBSD Net <freebsd-net@freebsd.org> Subject: Re: CFT: lem(4), em(4) e1000 Ethernet TSO testing Message-ID: <CAK7dMtB0MwPgWfrauOYEvXDq-B0371NqZ58bty55g25MBS4ObA@mail.gmail.com> In-Reply-To: <CAK7dMtDrugPGtasdYi=U0gJ3P_6bfGyB5EXf2haY4gmHDuyAWA@mail.gmail.com> References: <CAK7dMtDrugPGtasdYi=U0gJ3P_6bfGyB5EXf2haY4gmHDuyAWA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000809ca406015b39b5 Content-Type: text/plain; charset="UTF-8" On Tue, Jul 25, 2023 at 7:38 PM Kevin Bowling <kevin.bowling@kev009.com> wrote: > Hi, > > I have been working through various bugs and have come to a point > where TSO is working on systems I have available for testing. > > This results in higher throughput on resource constrained systems, and > less CPU/power usage on unconstrained systems. > > As of this mail, you will need to manually apply > https://reviews.freebsd.org/D41170 on top of main to use TSO6 on > em(4). I forgot to include instructions: For testing you can enable with: ifconfig em0 tso tso6 And disable with: ifconfig em0 -tso -tso6 tso6 (IPv6) will only applicable to em(4) not lem(4) > > I plan to enable TSO by default for lem(4) and em(4) during the > FreeBSD 14 release cycle, so I would appreciate testing to address any > remaining issues. Below, a list of chipsets that will be exempt due > to known issues. > > lem(4) exclusions: > * <82544 (although it does seem ok to manually enable for emulations > in qemu, virtualbox, etc) > * 82547 > > em(4) exclusions.. These chips have a stability workaround for high > throughput with rapid link-flap applied that results in the TSO engine > not being able to run at line speed. Thus, TSO would not be enabled > by default here: > * Intel(R) I219-LM and I219-V > * Intel(R) I219-LM and I219-V (2) > * Intel(R) I219-LM and I219-V (3) > * Intel(R) I219-LM and I219-V (4) > * Intel(R) I219-LM and I219-V (5) > > Regards, > Kevin Bowling > --000000000000809ca406015b39b5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div><br></div><div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">On Tue, Jul 25, 2023 at 7:38 PM Kevin Bowling <<a href= =3D"mailto:kevin.bowling@kev009.com">kevin.bowling@kev009.com</a>> wrote= :<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.= 8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-l= eft-color:rgb(204,204,204)">Hi,<br> <br> I have been working through various bugs and have come to a point<br> where TSO is working on systems I have available for testing.<br> <br> This results in higher throughput on resource constrained systems, and<br> less CPU/power usage on unconstrained systems.<br> <br> As of this mail, you will need to manually apply<br> <a href=3D"https://reviews.freebsd.org/D41170" rel=3D"noreferrer" target=3D= "_blank">https://reviews.freebsd.org/D41170</a> on top of main to use TSO6 = on<br> em(4).</blockquote><div dir=3D"auto"><br></div><div dir=3D"auto">I forgot t= o include instructions:</div><div dir=3D"auto"><br></div><div dir=3D"auto">= For testing you can enable with:</div><div dir=3D"auto">ifconfig em0 tso ts= o6</div><div dir=3D"auto"><br></div><div dir=3D"auto">And disable with:</di= v><div dir=3D"auto">ifconfig em0 -tso -tso6</div><div dir=3D"auto"><br></di= v><div dir=3D"auto">tso6 (IPv6) will only applicable to em(4) not lem(4)</d= iv><div dir=3D"auto"><br></div><blockquote class=3D"gmail_quote" style=3D"m= argin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;paddi= ng-left:1ex;border-left-color:rgb(204,204,204)" dir=3D"auto"><br> <br> I plan to enable TSO by default for lem(4) and em(4) during the<br> FreeBSD 14 release cycle, so I would appreciate testing to address any<br> remaining issues.=C2=A0 Below, a list of chipsets that will be exempt due<b= r> to known issues.<br> <br> lem(4) exclusions:<br> * <82544 (although it does seem ok to manually enable for emulations<br> in qemu, virtualbox, etc)<br> * 82547<br> <br> em(4) exclusions.. These chips have a stability workaround for high<br> throughput with rapid link-flap applied that results in the TSO engine<br> not being able to run at line speed.=C2=A0 Thus, TSO would not be enabled<b= r> by default here:<br> * Intel(R) I219-LM and I219-V<br> * Intel(R) I219-LM and I219-V (2)<br> * Intel(R) I219-LM and I219-V (3)<br> * Intel(R) I219-LM and I219-V (4)<br> * Intel(R) I219-LM and I219-V (5)<br> <br> Regards,<br> Kevin Bowling<br> </blockquote></div></div> --000000000000809ca406015b39b5--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK7dMtB0MwPgWfrauOYEvXDq-B0371NqZ58bty55g25MBS4ObA>