cool new script now executable

This commit is contained in:
goldsquid
2025-10-01 16:05:58 +07:00
parent c55094d1db
commit 4aa517c2a0

7
clone-node.sh Normal file → Executable file
View File

@@ -291,6 +291,13 @@ main() {
setup_ssh_multiplex setup_ssh_multiplex
# the following sysctls are critical for high-latency networks # 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" " ssh "$DEST_HOST" "
sudo sysctl -w net.core.rmem_max=67108864 sudo sysctl -w net.core.rmem_max=67108864