File copies between two data centers get 50 Mbit/s on a 1 Gbit/s link with no loss.
AdvancedTroubleshootingMTU, routing, packet loss and latency
Answer
Likely causes → Bandwidth-delay product: with 60 ms RTT, a single TCP flow needs ~7.5 MB of window for 1 Gbit/s. Small socket buffers or disabled window scaling cap throughput.
Diagnose →
ss -tin dst <peer> # check rcv_space, cwnd, rtt
sysctl net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.core.rmem_max
iperf3 -c <peer> -P 1; iperf3 -c <peer> -P 8
Fix → Raise buffer maximums (net.core.rmem_max=67108864, net.ipv4.tcp_rmem="4096 87380 67108864"), try BBR (net.ipv4.tcp_congestion_control=bbr), or use parallel streams.
Prevent → Tune long-fat-network hosts deliberately and benchmark with iperf3 before migrations.
More on MTU, routing, packet loss and latency
SSH connects, but the session freezes as soon as you run `ls` in a big directory or `cat` a large file.IntermediateHTTPS to a site over the VPN hangs after `Client hello`, while HTTP works.Intermediate`ping: local error: message too long, mtu=1500`BeginnerPods on different nodes can ping each other, but HTTP responses larger than ~1.4 KB never arrive.Advanced`mtr` shows 30% loss at hop 6, but 0% at the final destination.Beginner`mtr` shows loss starting at hop 4 and continuing to the destination at 8–10%.Intermediate