Re: HyStart availability in FreeBSD stack

jaeyong yoo <[email protected]>
Newsgroups gmane.os.freebsd.devel.transport,gmane.os.freebsd.devel.net
Message-ID <CANud0TFNgzwUh9gq7BTGh8m9Jn8=5vkwhigttm1pQefVQOnCeQ@mail.gmail.com>
I was taking a look into the code for rttsample and can we add calling
that rttsample callback at tcp_xmit_timer:
- https://github.com/freebsd/freebsd-src/blob/main/sys/netinet/tcp_input.c#L3682

Looks like that place is to calculate t_srtt for TCP stack for feeding
a new RTT from the recent ACK, which seems right for rttsample for
HyStart.

Thanks,
Jaeyong

2025년 3월 24일 (월) 오후 4:17, jaeyong yoo <[email protected]>님이 작성:
>
> Thanks Cheng,
>
> Yes it looks like it implements newround callback for HyStart.
> But shouldn't it also need for "rttsample" callback?
>
> Thanks,
> Jaeyong
>
> 2025년 3월 24일 (월) 오후 3:34, Cheng Cui <[email protected]>님이 작성:
> >
> >
> >
> > On Mar 20, 2025, at 16:14, jaeyong yoo <[email protected]> wrote:
> >
> > Hi net/transport,
> >
> > We are looking for using HyStart but looks like it is only implemented
> > in RACK stack but not in FreeBSD TCP Stack.
> > Is there a plan to support this in the near future?
> >
> > Thanks,
> > Jaeyong
> >
> >
> > Hi Jaeyong,
> >
> > Sorry for the delayed response. There is a patch to enable Hystart++ for the default TCP stack. If you can help test it, I think it would be very helpful to speed up its acceptance.
> >
> > https://reviews.freebsd.org/D46425
> >
> >
> > Best Regards,
> > Cheng Cui
> >
> >
> >
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.