immortalwrt/target/linux/generic
Vincent Pelletier 206b60a003
kernel: scale nf_conntrack_max more reasonably
Use the kernel's built-in formula for computing this value.
The value applied by OpenWRT's sysctl configuration file does not scale
with the available memory, under-using hardware capabilities.
Also, that formula also influences net.netfilter.nf_conntrack_buckets,
which should improve conntrack performance in average (fewer connections
per hashtable bucket).

Backport upstream commit for its effect on the number of connections per
hashtable bucket.

Apply a hack patch to set the RAM size divisor to a more reasonable value (2048,
down from 16384) for our use case, a typical router handling several thousands
of connections.

Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
(cherry picked from commit 15fbb91666)
2022-12-06 05:25:53 +08:00
..
backport-5.4 kernel: scale nf_conntrack_max more reasonably 2022-12-06 05:25:53 +08:00
files kernel: update mtk_wed header for mt76 2022-12-02 17:48:36 +08:00
files-5.4 kernel: update mtk_wed header for mt76 2022-12-02 17:48:36 +08:00
hack-5.4 kernel: scale nf_conntrack_max more reasonably 2022-12-06 05:25:53 +08:00
image target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-5.4 kernel: bump 5.4 to 5.4.224 2022-11-13 01:06:12 +01:00
config-5.4 Merge Official Source 2022-12-01 02:27:14 +08:00
config-filter build: filter out more autogenerated kernel config options 2020-11-13 13:18:20 +01:00
PATCHES