openwrt/target/linux/generic/hack-5.15
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
..
204-module_strip.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
205-kconfig-exit.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
210-darwin_scripts_include.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
211-darwin-uuid-typedef-clash.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
212-tools_portability.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
214-spidev_h_portability.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
220-arm-gc_sections.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
221-module_exports.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
230-openwrt_lzma_options.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
249-udp-tunnel-selection.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
250-netfilter_depends.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
251-kconfig.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
252-SATA_PMP.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
253-ksmbd-config.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
259-regmap_dynamic.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
260-crypto_test_dependencies.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
261-lib-arc4-unhide.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
280-rfkill-stubs.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
301-mips_image_cmdline_hack.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
321-powerpc_crtsavres_prereq.patch generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
402-mtd-blktrans-call-add-disks-after-mtd-device.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
410-block-fit-partition-parser.patch generic: 5.15: fix FIT partition parser on block partitions 2022-03-29 01:56:05 +01:00
420-mtd-set-rootfs-to-be-root-dev.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
430-mtk-bmt-support.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
531-debloat_lzma.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
600-bridge_offload.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
645-netfilter-connmark-introduce-set-dscpmark.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
650-netfilter-add-xt_FLOWOFFLOAD-target.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
651-wireless_mesh_header.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
660-fq_codel_defaults.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
661-kernel-ct-size-the-hashtable-more-adequately.patch kernel: scale nf_conntrack_max more reasonably 2022-04-01 13:23:41 +01:00
700-swconfig_switch_drivers.patch generic: 5.15: rework hack patch 2022-03-27 00:07:34 +00:00
710-net-dsa-mv88e6xxx-default-VID-1.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
720-net-phy-add-aqr-phys.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
721-net-add-packet-mangeling.patch mediatek: add patches for MT7622 WED (wireless ethernet dispatch) 2022-03-27 12:54:38 +02:00
722-net-phy-aquantia-enable-AQR112-and-AQR412.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
724-net-phy-aquantia-Add-AQR113-driver-support.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
773-bgmac-add-srab-switch.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
780-usb-net-MeigLink_modem_support.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
800-GPIO-add-named-gpio-exports.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
901-debloat_sock_diag.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
902-debloat_proc.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
904-debloat_dma_buf.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00
910-kobject_uevent.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
911-kobject_add_broadcast_uevent.patch generic: 5.15: copy config and patch from 5.10 2022-03-27 00:07:34 +00:00
920-device_tree_cmdline.patch generic: 5.15: refresh hack patch 2022-03-27 05:00:50 +01:00