Re: Request for Testing: TCP RACK

"Herbert J. Skuhra" <[email protected]>
Newsgroups gmane.os.freebsd.devel.net
Message-ID <[email protected]>
On Tue, 06 Feb 2024 23:05:27 +0100, [email protected] wrote:
> 
> > On Jan 5, 2024, at 08:48, [email protected] wrote:
> > 
> >> On Jan 4, 2024, at 21:39, Herbert J. Skuhra <[email protected]> wrote:
> >> 
> >> On Thu, 04 Jan 2024 21:22:22 +0100, [email protected] wrote:
> >>> 
> >>>> On Jan 4, 2024, at 18:52, Herbert J. Skuhra <[email protected]> wrote:
> >>>> 
> >>>> On Thu, 04 Jan 2024 11:40:35 +0100, "Herbert J. Skuhra" wrote:
> >>>>> 
> >>>>> On Fri, 17 Nov 2023 14:31:02 +0100, "Herbert J. Skuhra" wrote:
> >>>>>> 
> >>>>>> Hi,
> >>>>>> 
> >>>>>> On Fri, 17 Nov 2023 00:15:13 +0100, [email protected] wrote:
> >>>>>>> 
> >>>>>>>> On Nov 16, 2023, at 20:06, Herbert J. Skuhra <[email protected]> wrote:
> >>>>>>>> 
> >>>>>>>> On Thu, 16 Nov 2023 19:07:29 +0100, Olivier Cochard-Labbé wrote:
> >>>>>>>>> 
> >>>>>>>>> On Thu, Nov 16, 2023 at 5:10 PM Herbert J. Skuhra <[email protected]> wrote:
> >>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>>> OK, I am now running GENERIC-NODEBUG + "options TCPHPTS".
> >>>>>>>>>> 
> >>>>>>>>>> After setting "sysctl net.inet.tcp.functions_default=rack" git no
> >>>>>>>>>> longer works:
> >>>>>>>>>> 
> >>>>>>>>>> 
> >>>>>>>>> Are you using a fresh 15 head or a specific network setup ?
> >>>>>>>>> 
> >>>>>>>>> Because I'm not able to reproduce your problem on my system:
> >>>>>>>>> 
> >>>>>>>>> $ uname -a
> >>>>>>>>> FreeBSD bigone 15.0-CURRENT FreeBSD 15.0-CURRENT #0
> >>>>>>>>> main-n266452-070d9e3540e6: Thu Nov 16 17:53:15 CET 2023
> >>>>>>>>> root@bigone:/usr/obj/usr/src/amd64.amd64/sys/TCPHPTS
> >>>>>>>>> amd64
> >>>>>>>>> $ cat /usr/src/sys/amd64/conf/TCPHPTS
> >>>>>>>>> include GENERIC-NODEBUG
> >>>>>>>>> ident                   TCPHPTS
> >>>>>>>>> options                 TCPHPTS
> >>>>>>>>> $ sysctl net.inet.tcp.functions_default
> >>>>>>>>> net.inet.tcp.functions_default: rack
> >>>>>>>>> $ git clone -q [email protected]:freebsd/freebsd-src.git && echo working
> >>>>>>>>> working
> >>>>>>>>> $
> >>>>>>>> 
> >>>>>>>> OK, (g)it works if I disable pf. Do you use pf?
> >>>>>>> Can you share your pf config such that I can reproduce the problem locally?
> >>>>>> 
> >>>>>> 1. It even fails with a simple pf.conf:
> >>>>>> pass in all
> >>>>>> pass out all
> >>>>>> 
> >>>>>> 2. Fetching port distfiles also failed.
> >>>>>> 
> >>>>>> 3. If I disable rxcsum on the ethernet adapter (igb0) it works.
> >>>>> 
> >>>>> Disabling lro also resolves the issue.
> >>>> 
> >>>> If I run "sysctl net.inet.tcp.rack.features.cmpack=0" I don't have to
> >>>> disable rxcsum/tcxsum or lro on igb0.
> >>> Does the problem also goes away if you disable pf completely, but keep
> >>> compressed acks enabled?
> >> 
> >> Yes, it works with pf disabled and compressed acks enabled.
> > Thanks for the information!
> A patch is available at:
> https://reviews.freebsd.org/D43769

Hi Michael,

the patch resolves the issue.

Thanks a lot.

Best regards,
Herbert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.