Effect of distance on transfer speed (increases over time)

networking

I'm in Europe and I'm running a web site in the Unites States.

The service provider where the site is hosted offers large up/down bandwith (at good prices).

The server now have very low load (on network/cpu/storage)

As the server is far from me and the route the data have to take is long I have a quite high response time (ping gives 150 to 200 ms) but this is acceptable for me.

Data transfer speed is also good due to large upload bandwidth offered by the provider.

However it seem to me that data transfer starts slow and then reach its peak speed after a few seconds.

Questions:

Is this an effect of the long route/distance too?

What causes this "inertial" behaviour of the data transfer speed?

Best Answer

However it seem to me that data transfer starts slow and then reach its peak speed after a few seconds.

This is expected behavior, especially on connections with higher latency. Look up TCP Slow Start and TCP Window Scaling for more info on this.

Is this an effect of the long route/distance too?

No, it's an effect of high latency. Latency and geographic distance are indeed correlated, but aside from from the speed of light in fiber, there is no strong correlation between the two. There are many factors that play into latency (congestion, number of EDFAs in line, number of route hops, etc.), and distance is only a small part of that.

What causes this "inertial" behaviour of the data transfer speed?

When a TCP socket opens, the network stack errs on the side of being conservative about how much data it will send before receiving acknowledgement from the other end of the socket that the packets have been received. As the socket ages, and more information is known about the quality of the connection, the network stack can increase the Window Size, which allows more packets to be "in flight" before receiving acknowledgment.

Related Topic