Transferring file over high-bandwidth, high-latency link - bbcp

As you might know, I live in Canada while my home server is located in Macau. Both sides have decent internet connection: 150Mbps symmetrical in Macau, 350/100Mbps in Canada. While not crazy fast, this is fast enough for most cases, even for transferring large files. But there is a problem: I can never get this speed...

Speed test from my computer in Canada to my server in Macau via LibreSpeed. Look at that juicy ping and revolutionary upload speed...

The problem

The problem is simple: I can download from my home server somehow close to the limit (150Mbps) but I can only upload at less than 10% of theoretical upload speed, seemingly for no reason.

The investigation

I tried running speedtest from Canada to different hosts in Macau: different ISPs, my server with LibreSpeed, my server with iperf. I found that I only get good speeds when I use multiple connections: multi connection feature on Speedtest.net, iperf with LOTS of parallel streams.

Continue reading "Transferring file over high-bandwidth, high-latency link - bbcp"