[Rseding91] Max upload speed has exponential decay

This subforum contains all the issues which we already resolved.
BenSeidel
Filter Inserter
Filter Inserter
Posts: 591
Joined: Tue Jun 28, 2016 1:44 am
Contact:

[Rseding91] Max upload speed has exponential decay

Post by BenSeidel »

Hi,
When you set "Max upload speed" for a multiplayer game any connecting players have to wait longer and longer for a "second" to pass.

Best way to exhibit the bug:
Launch Factorio.
Create multiplayer game and set "Max upload speed" to 1
Start the game

Launch a second Factorio instance
Connect to the first Factorio's game by connecting to 127.0.0.1
Watch how initially the downloads occur in 1KB chunks ever 1 seconds, but slowly each "second" becomes longer and longer.

The download will effectively stop at some random amount (ranges from 12KB to 34KB).


Few things of note:
I'm not 100% sure if this is the case BUT, it only happens IF the server is hosting a game where the max upload speed has JUST been set. For me to get it to work "100%" of the time I would have to (in the host instance)
1) load up a game with no download limit.
2) quit that game
3) load up a new game with the download limit

I have not included any log files as they all just end with:
385.780 Info ClientMultiplayerManager.cpp:573: MapTick(4294967295) changing state from(ConnectedWaitingForMap) to(ConnectedDownloadingMap)

It also happens on both Windows an Linux.

Thanks
Rseding91
Factorio Staff
Factorio Staff
Posts: 14360
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] Max upload speed has exponential decay

Post by Rseding91 »

Thanks for the report. It's now fixed for 0.17. I don't recommend using 1 KB/s upload speed as it basically limits the game to uploading to 1 person at a time.
If you want to get ahold of me I'm almost always on Discord.
BenSeidel
Filter Inserter
Filter Inserter
Posts: 591
Joined: Tue Jun 28, 2016 1:44 am
Contact:

Re: [Rseding91] Max upload speed has exponential decay

Post by BenSeidel »

lol, of course, But it makes a debug report easier to write. The original case was 300k/s... 1k isn't dialup speeds!
BenSeidel
Filter Inserter
Filter Inserter
Posts: 591
Joined: Tue Jun 28, 2016 1:44 am
Contact:

Re: [Rseding91] Max upload speed has exponential decay

Post by BenSeidel »

Sorry, forgot to say thanks.

Thanks!
zachtac
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jul 03, 2018 8:25 pm
Contact:

Re: [Rseding91] Max upload speed has exponential decay

Post by zachtac »

I have this issues with 0.16.51 build 36654 win64 steam, cannot get higher than 13kb over lan connection between to computers regardless of who is hosting.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [Rseding91] Max upload speed has exponential decay

Post by TruePikachu »

zachtac wrote:I have this issues with 0.16.51 build 36654 win64 steam, cannot get higher than 13kb over lan connection between to computers regardless of who is hosting.
It's already resolved for 0.17
Post Reply

Return to “Resolved Problems and Bugs”