On Sun, Oct 30, 2022 at 6:36 AM William Goodspeed <gs-ml...@anche.no> wrote:
> Hello! I rented a VPS in USA and I'm currently in China. I'm having > trouble to download files from it and I believe it's caused by the TCP > congestion control. > > When I tried to download files via scp, the download speed started with > 500K/s and downgrade over time. Approximately 1 min later, the > download was stalled. What's worst was that I wouldn't able to connect > to obsd host after stalled (unless wating sometime to make it `forget' > my connection). I tried on a VPS with GNU/Linux and BBR. That didn't > happen. > > My question is: > > 1. Is there a way to apply modern congestion control (like BBR) to > OpenBSD? (From stackoverflow, that's not supported) > 2. If there isn't, how to implement that on OpenBSD? Please point > out some resources like OpenBSD source code or whatever. > > I'm not quite a programming expert but I'm interested in making it > work. I had a few linux kernel module developing experenice. Maybe I > can try to implement that on OpenBSD. > > I'm looking forward to your reply. > > -- > > William Goodspeed (龚志乐) > Langfang, Hebei, PRC Have you tried this with another system? In my experience, the Great Firewall of China does this type of rate-limiting to any traffic they don't recognize, and is not necessarily a problem on the OpenBSD side.