openwrt/target/linux/generic/hack-5.10
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 kernel: bump 5.10 to 5.10.90 2022-01-07 22:30:40 +01:00
205-kconfig-exit.patch kernel: bump 5.10 to 5.10.58 2021-08-14 16:32:34 +01:00
210-darwin_scripts_include.patch
211-darwin-uuid-typedef-clash.patch
212-tools_portability.patch
214-spidev_h_portability.patch
220-arm-gc_sections.patch kernel: bump 5.10 to 5.10.105 2022-03-19 16:13:58 +01:00
221-module_exports.patch kernel: bump 5.10 to 5.10.60 2021-08-21 15:59:39 +02:00
230-openwrt_lzma_options.patch
249-udp-tunnel-selection.patch
250-netfilter_depends.patch
251-kconfig.patch kernel: bump 5.10 to 5.10.107 2022-03-19 17:42:41 +01:00
252-SATA_PMP.patch kirkwood: solidify SATA_PMP config 2021-10-03 01:13:12 +02:00
253-ksmbd-config.patch kernel: bump 5.10 to 5.10.107 2022-03-19 17:42:41 +01:00
259-regmap_dynamic.patch kernel: bump 5.10 to 5.10.94 2022-02-01 23:34:07 +00:00
260-crypto_test_dependencies.patch
261-lib-arc4-unhide.patch
280-rfkill-stubs.patch
300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch
301-mips_image_cmdline_hack.patch kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
321-powerpc_crtsavres_prereq.patch
401-mtd-super-don-t-reply-on-mtdblock-device-minor.patch kernel: support FIT partition parser on mtdblock devices 2021-04-09 16:04:35 +01:00
402-mtd-blktrans-call-add-disks-after-mtd-device.patch kernel: bump 5.10 to 5.10.37 2021-05-14 14:50:03 +01:00
410-block-fit-partition-parser.patch kernel: generic: improve FIT partition parser 2022-03-24 00:46:45 +00:00
420-mtd-set-rootfs-to-be-root-dev.patch generic: sync mtd rootfs hack with part_bits 2022-03-26 22:55:13 +00:00
421-drivers-mtd-parsers-add-nvmem-support-to-cmdlinepart.patch kernel: mtd: parsers: add nvmem support to cmdlinepart 2021-12-27 13:51:41 +01:00
430-mtk-bmt-support.patch kernel: add support for mediatek NMBM flash mapping support 2022-03-25 21:11:09 +01:00
531-debloat_lzma.patch kernel: 5.10: refresh patches 2021-02-16 23:48:23 +01:00
600-bridge_offload.patch kernel: fix copy&paste mistake in bridge offload code 2022-02-14 12:40:14 +01:00
645-netfilter-connmark-introduce-set-dscpmark.patch
650-netfilter-add-xt_FLOWOFFLOAD-target.patch kernel: fix a race condition leading to a crash in hw flow offloading 2022-02-14 13:59:14 +01:00
651-wireless_mesh_header.patch
660-fq_codel_defaults.patch kernel: bump 5.10 to 5.10.68 2021-09-30 22:29:33 +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 kernel: 5.10: packet mangling code only for ar8216 driver 2021-11-02 22:36:41 +01:00
711-net-dsa-mv88e6xxx-disable-ATU-violation.patch kernel: bump 5.10 to 5.10.109 2022-03-30 18:33:38 +02:00
720-net-phy-add-aqr-phys.patch kernel: bump 5.10 to 5.10.72 2021-10-10 00:09:22 +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 kernel: improve driver support for gen-3 Aquantia Ethernet PHYs 2022-01-05 00:57:25 +00:00
723-net-phy-aquantia-fix-system-side-protocol-mi.patch kernel: improve driver support for gen-3 Aquantia Ethernet PHYs 2022-01-05 00:57:25 +00:00
724-net-phy-aquantia-Add-AQR113-driver-support.patch kernel: improve driver support for gen-3 Aquantia Ethernet PHYs 2022-01-05 00:57:25 +00:00
725-net-phy-aquantia-add-PHY_IDs-for-AQR112-variants.patch kernel: improve driver support for gen-3 Aquantia Ethernet PHYs 2022-01-05 00:57:25 +00:00
760-net-usb-r8152-add-LED-configuration-from-OF.patch kernel: bump 5.10 to 5.10.109 2022-03-30 18:33:38 +02:00
761-dt-bindings-net-add-RTL8152-binding-documentation.patch rockchip: move r8152 related patches to generic 2021-10-30 21:17:20 +02:00
773-bgmac-add-srab-switch.patch kernel: backport bgmac upstream commits from 5.15 / for 5.16 2021-10-07 11:30:18 +02:00
780-usb-net-MeigLink_modem_support.patch kernel: wwan: add MeigLink SLM750 modem support 2022-03-10 17:59:07 +00:00
800-GPIO-add-named-gpio-exports.patch treewide: consolidate named GPIO patch into hack-5.10 2021-05-09 09:15:44 +02:00
901-debloat_sock_diag.patch kernel: 5.10: fix ar8216 vlans 2021-11-02 22:36:41 +01:00
902-debloat_proc.patch kernel: bump 5.10 to 5.10.96 2022-02-01 23:34:07 +00:00
904-debloat_dma_buf.patch kernel: bump 5.10 to 5.10.82 2021-11-27 19:19:30 +01:00
910-kobject_uevent.patch
911-kobject_add_broadcast_uevent.patch kernel: bump 5.10 to 5.10.38 2021-05-22 21:54:17 +01:00
920-device_tree_cmdline.patch kernel: move bootargs-append patch to generic 2022-01-29 23:50:28 +09:00