From 4aa517c2a0ed29700f76276af4879c1966e2970e Mon Sep 17 00:00:00 2001 From: goldsquid Date: Wed, 1 Oct 2025 16:05:58 +0700 Subject: [PATCH] cool new script now executable --- clone-node.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) mode change 100644 => 100755 clone-node.sh diff --git a/clone-node.sh b/clone-node.sh old mode 100644 new mode 100755 index 5a0fde28..1f947ac9 --- a/clone-node.sh +++ b/clone-node.sh @@ -291,7 +291,14 @@ main() { setup_ssh_multiplex # the following sysctls are critical for high-latency networks - + # they are not persistent and should not influence low latency connections. + # but what do I know its what the bot told me... + # the issue was that on high bandwidth connections with high latency the buffers + # where so small that a roundtrip to confirm the packet was necessary every few ms. + # so that the theoretical bandwidth was limited to 200 MBit/s + # also it seems to be important to match the remote buffers to the local buffers. + # feel free to remove the whole section. maybe it does nothing really. + ssh "$DEST_HOST" " sudo sysctl -w net.core.rmem_max=67108864 sudo sysctl -w net.core.wmem_max=67108864