openwrt-mirror/target/linux/generic
Vincent Pelletier 15fbb91666 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>
2022-04-01 13:23:41 +01:00
..
backport-5.10 kernel: scale nf_conntrack_max more reasonably 2022-04-01 13:23:41 +01:00
backport-5.15 generic: backport 5.16 fix for hv utils build failure 2022-03-29 12:02:50 +02:00
files generic: fix compilation warning for ar8xxx swconfig 2022-03-27 04:51:38 +01:00
hack-5.10 kernel: scale nf_conntrack_max more reasonably 2022-04-01 13:23:41 +01:00
hack-5.15 kernel: scale nf_conntrack_max more reasonably 2022-04-01 13:23:41 +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: bump 5.10 to 5.10.109 2022-03-30 18:33:38 +02:00
pending-5.15 mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
config-5.10 kernel: sort generic configuration 2022-03-27 15:50:14 +01:00
config-5.15 generic: add missing symbol for 5.15 2022-04-01 00:51:32 +02:00
config-filter kernel: filter out both Clang and LLD versions 2021-12-17 16:16:34 +01:00
PATCHES