Hacker News new | ask | show | jobs
by SaveTheRbtz 1855 days ago
Interesting, can you try disabling upload limiter in settings? Also what is your RTT to `nsf-1.dropbox.com`?

PS. One known problem that we have right now is that we use a multiplexed HTTP/2 connection, therefore:

1) We rely on the host's TCP congestion. (We have not yet switched to HTTP/3 w/ BBR.)

2) We currently use a single TCP connection: it is more fair to the other traffic on the link but can become bottleneck on large RTTs.

1 comments

Tried to change upload speed to no limit, doesn't make much difference.

Ping result:

  Pinging nsf-env-1.dropbox-dns.com [162.125.3.12] with 32 bytes of data:
  Reply from 162.125.3.12: bytes=32 time=27ms TTL=55
  Reply from 162.125.3.12: bytes=32 time=27ms TTL=55
  Reply from 162.125.3.12: bytes=32 time=27ms TTL=55
  Reply from 162.125.3.12: bytes=32 time=27ms TTL=55

  Ping statistics for 162.125.3.12:
   Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
  Approximate round trip times in milli-seconds:
   Minimum = 27ms, Maximum = 27ms, Average = 27ms
App Ver. 122.4.4867

Is the OS being Win7 a factor? (Work computer, can't update [yet]).

Download speed is normal (100Mbps).

Oh, Windows 7? That does explain it. Windows TCP stack really improved in 8.1. The main change there is the auto send buffer tuning which allows automatic growing of SNDBUF. Let me see if we can put a dirty hack^W^Wworkaround for Windows < WIN2012R2SERVER that would unconditionally set SO_SNDBUF to something like 1Mb.
Thank you for the hard work!
Yeah, Windows 7's speeds with single connections are very, very slow. It took me years to figure out the reason were bad TCP settings, because it worked fine when I used a multiconnection downloader. What fixed it for me was running these 3 commands in a CMD with admin permissions:

    netsh interface tcp set heuristics disabled
    netsh int tcp set global autotuninglevel=normal
    netsh int tcp set global congestionprovider=ctcp
Thanks for the tips.

I tried, and the first two lines helped the speed bump to 2.5MB/s! The third one doesn't seem to have any immediate effect.

Still not OneDrive level, but I'm more than happy.

Good to know which actually take any effect, since it's been so long since I cobbled those commands together that I didn't really remember either!

I probably took them from Win7 forums or some stackoverflow spinoff, the TCP problems on Win7 are not entirely unknown.