Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Aug 2022 23:15:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 265865] Unable to use non default tcp stack and cc with daemons
Message-ID:  <bug-265865-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265865

            Bug ID: 265865
           Summary: Unable to use non default tcp stack and cc with
                    daemons
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: rozhuk.im@gmail.com

I have set:

rc.conf:
kld_list=3D"${kld_list} cc_htcp tcp_rack"

sysctl.conf:
net.inet.tcp.functions_default=3Drack     # Use TCP stack: freebsd / rack
net.inet.tcp.cc.algorithm=3Dhtcp          # TCP cognestion algoritm


After boot all daemons started with default freebsd+newreno:
# netstat -c -C -L -n -a
Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen                           Local Address          Stack   CC=20=
=20=20=20=20=20=20
    cwin   ssthresh   MSS ECN
tcp4  0/0/128                          127.0.0.1.631           freebsd newr=
eno
1073725440 1073725440   536 n/a
tcp6  0/0/128                          ::1.631                 freebsd newr=
eno
1073725440 1073725440  1220 n/a
tcp4  0/0/128                          *.22                    freebsd newr=
eno
1073725440 1073725440   536 n/a
tcp6  0/0/128                          *.22                    freebsd newr=
eno
1073725440 1073725440  1220 n/a


This happen because boot order is:
sysctl - at this point rack+htcp can not be set, not loaded
kld
daemons
sysctl_latest

I do not want move cc_htcp and tcp_rack to loader or write some workaround
script to restart all services with freebsd+newreno after boot done.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-265865-227>