From 020249cd2987747e65c8a975482350494ab0eedd Mon Sep 17 00:00:00 2001 From: Kjeld Schouten Date: Mon, 3 Feb 2025 12:35:32 +0100 Subject: [PATCH] feat(clustertool): update sysctls Signed-off-by: Kjeld Schouten --- clustertool/embed/generic/patches/all.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/clustertool/embed/generic/patches/all.yaml b/clustertool/embed/generic/patches/all.yaml index f5d5d8e01d2..17480cecb07 100644 --- a/clustertool/embed/generic/patches/all.yaml +++ b/clustertool/embed/generic/patches/all.yaml @@ -49,9 +49,15 @@ fs.inotify.max_user_watches: "524288" net.core.rmem_max: "2500000" net.core.wmem_max: "2500000" - user.max_user_namespaces: "11255" - vm.nr_hugepages: 1024 - net.ipv4.tcp_fastopen: 3 + user.max_user_namespaces: "11255" # For flatpak support + net.core.default_qdisc: fq # 10Gb/s + net.ipv4.tcp_congestion_control: bbr # 10Gb/s + net.ipv4.tcp_fastopen: 3 # Send and accept data in the opening SYN packet + net.ipv4.tcp_mtu_probing: 1 # 10Gb/s | Jumbo frames + net.ipv4.tcp_rmem: 4096 87380 33554432 # 10Gb/s + net.ipv4.tcp_wmem: 4096 65536 33554432 # 10Gb/s + net.ipv4.tcp_window_scaling: 1 # 10Gb/s + vm.nr_hugepages: 1024 # PostgreSQL - op: add path: /machine/registries/mirrors