Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Sep 2023 04:41:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 273509] TCP(4): Can not change loader tunable net.inet.tcp.fastopen.ccache_bucket_limit via /boot/loader.conf
Message-ID:  <bug-273509-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 273509
           Summary: TCP(4): Can not change loader tunable
                    net.inet.tcp.fastopen.ccache_bucket_limit via
                    /boot/loader.conf
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: zlei@FreeBSD.org

Spot this while testing https://reviews.freebsd.org/D41525 .

As per the man page TCP(4):
>      fastopen.ccache_bucket_limit
>                            The maximum number of entries in a client cook=
ie
>                            cache bucket.  The default value can be tuned =
with
>                            the TCP_FASTOPEN_CCACHE_BUCKET_LIMIT_DEFAULT
>                            kernel option or by setting
>                            net.inet.tcp.fastopen_ccache_bucket_limit in t=
he
>                            loader(8).

the `net.inet.tcp.fastopen.ccache_bucket_limit` should be able to tuned the
value.


Steps to repeat:

```
# echo "net.inet.tcp.fastopen.ccache_bucket_limit=3D32" >> /boot/loader.conf
# reboot
....
# sysctl net.inet.tcp.fastopen.ccache_bucket_limit
16
```

Expected value:
```
# sysctl net.inet.tcp.fastopen.ccache_bucket_limit
32
```

--=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-273509-227>