[Cube] [0.14.21] Client uploads too much data while map download
Posted: Mon Jan 02, 2017 8:35 pm
When I connect to a server the client will use a lot of my upload bandwidth to transfer data to the server while downloading the map from the server. The upload bandwidth used is reaching the upload bandwidth I have on my internet connection (I'm having a DSL connection). During the time I'm downloading the map (and blocking the whole upload bandwidth) I cannot do anything else on my internet connection, a simple DNS lookup is stalled until the download is complete (and the upload bandwidth has stopped as well). This also has an effect that I sometimes get the "Server not responding" message in factorio WHILE downloading the map from the server, which makes no sense at all. In some cases I'm also missing a HeartBeat from/to the server because of the blocked upload bandwidth and then I'm out of sync with the server and will be dropped after I catched up on the server. When I'm fully connected to the server (without any heartbeat drops) everything works fine and the game uses only about <1KB/s of network traffic.
This is the result of my connection speed test on speedtest.net And this is the result of my connection speed test on http://speedtest.t-online.de/ (my ISP) This fits the download/upload limit I have for my internet connection subscription (~750KB download, ~140KB upload).
However when I'm downloading the map from any multiplayer server the download rate only reaches about 360KB/s (from the possible ~750KB/s) and an upload rate of about my upload limit is used at the same time as seen below: The servers can handle a much higher transfer rate, I can see that when other players join the server in an instant with their faster internet connections, it is not an issue with any server.
Why does the client send so much data (like 1/3 data of the downloaded map size) back to the server? Shouldn't the client send anything back at all to the server (besides the ACKs for the map data/chunks)?
This is the result of my connection speed test on speedtest.net And this is the result of my connection speed test on http://speedtest.t-online.de/ (my ISP) This fits the download/upload limit I have for my internet connection subscription (~750KB download, ~140KB upload).
However when I'm downloading the map from any multiplayer server the download rate only reaches about 360KB/s (from the possible ~750KB/s) and an upload rate of about my upload limit is used at the same time as seen below: The servers can handle a much higher transfer rate, I can see that when other players join the server in an instant with their faster internet connections, it is not an issue with any server.
Why does the client send so much data (like 1/3 data of the downloaded map size) back to the server? Shouldn't the client send anything back at all to the server (besides the ACKs for the map data/chunks)?