immortalwrt/package
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
..
base-files Merge Official Source 2022-12-06 03:04:32 +08:00
boot Merge Official Source 2022-11-13 13:52:38 +08:00
devel Merge Official Source 2021-04-12 02:22:36 +08:00
emortal default-settings: fix override default banner 2022-11-17 21:51:04 +08:00
firmware Merge Official Source 2022-10-12 12:29:53 +08:00
kernel kernel: scale nf_conntrack_max more reasonably 2022-12-06 05:25:53 +08:00
libs Merge Official Source 2022-12-01 02:27:14 +08:00
network shortcut-fe: fix install header files 2022-12-01 19:25:07 +08:00
system Merge Official Source 2022-12-06 03:04:32 +08:00
utils package: utils: add mhz 2022-10-21 16:26:15 +08:00
Makefile build: fix opkg install step for large package selection 2021-12-31 17:55:29 +01:00