openwrt/target/linux/generic
Vincent Pelletier 0855549b4b 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-08-11 21:54:09 +01:00
..
backport-5.10 kernel: scale nf_conntrack_max more reasonably 2022-08-11 21:54:09 +01:00
files kernel: generic: fix warning in FIT partition parser 2022-03-27 16:14:00 +01:00
hack-5.10 kernel: scale nf_conntrack_max more reasonably 2022-08-11 21:54:09 +01: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.10 kernel: silence refresh warning 2022-08-06 22:23:57 +02:00
config-5.10 kernel: Add missing mediatek configuration options 2022-07-06 21:09:39 +02:00
config-filter kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00