openwrt/package
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
..
base-files OpenWrt v22.03.0-rc6: revert to branch defaults 2022-08-01 00:05:33 +02:00
boot uboot-mvebu: update to v2022.07 2022-08-06 22:25:43 +02:00
devel strace: Update to version 5.16 2022-02-01 21:25:02 +01:00
firmware layerscape: update PKG_HASH / PKG_MIRROR_HASH 2022-07-23 00:11:21 +02:00
kernel kernel: scale nf_conntrack_max more reasonably 2022-08-11 21:54:09 +01:00
libs zlib: backport null dereference fix 2022-08-09 08:12:46 +02:00
network dnsmasq: fix jail_mount for serversfile 2022-08-10 15:06:30 +02:00
system opkg: update to 2022-02-24 2022-07-17 15:15:11 +02:00
utils sdk: add spidev-test to the bundle of userspace sources 2022-07-22 22:26:26 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00