Slow map download speed

Anything that prevents you play the game properly. Do you have issues with paying for the game, downloading it or properly running it on your computer? Let us know here.
Post Reply
niceone548
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jan 08, 2019 2:54 pm
Contact:

Slow map download speed

Post by niceone548 »

Hello,

I have a problem with my windows docker hosted map. The download speed stays at 700 ~ 800 KB when I run factorio on said machine and connect to the docker map.
download speed ingame.jpg
download speed ingame.jpg (6.58 KiB) Viewed 4094 times
The same goes for the computer on LAN AND people from the outside.

When I change /config set max-upload-speed to 10, it will drop to 10 at the connecting client.
When I change it to 100000 or 0 I get back to the hardcap of 700 ~ 800 KB.

I first thought that maybe docker was limiting my speed
speedtest.jpg
speedtest.jpg (27.44 KiB) Viewed 4094 times
Yes it limits it a fair amount compared to the baremetal speedtest, but it's still allot more then 800 KB
speedtest host.jpg
speedtest host.jpg (12.99 KiB) Viewed 4094 times
So now I'm in a bit of a loss why the speed is so low...

Here are some general settings / computer specs.
speccy.jpg
speccy.jpg (63.35 KiB) Viewed 4094 times
docker settings.jpg
docker settings.jpg (68.3 KiB) Viewed 4094 times

Code: Select all

docker run -d \
  -p 34197:34197/udp \
  -p 27015:27015/tcp \
  -v d:/factorio:/factorio \
  --name factorio2 \
  --restart=always \
  dtandersen/factorio
  

CJ5Boss
Fast Inserter
Fast Inserter
Posts: 130
Joined: Thu Apr 05, 2018 11:55 pm
Contact:

Re: Slow map download speed

Post by CJ5Boss »

I am not sure why, but the same thing happens to me when I load a multiplayer map that is not on my machine, and when friends try to join mine it happens to them as well. I wonder if this is a recurring theme across factorio right now, and may not be a machine or internet issue.

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

Re: Slow map download speed

Post by Rseding91 »

Try removing the limit completely (set it to 0 in the factorio server config).
If you want to get ahold of me I'm almost always on Discord.

niceone548
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jan 08, 2019 2:54 pm
Contact:

Re: Slow map download speed

Post by niceone548 »

"max_upload_in_kilobytes_per_second": 0,

I never changed it, it was always on this.

TheoMarque
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Feb 27, 2018 6:06 pm
Contact:

Re: Slow map download speed

Post by TheoMarque »

Sorry for update this topic after year but I have the same problem.
We tested Factorio at work (testing game servers professionally) and noticed a problem with sending data to clients.

We created isolated network, with internal connections (more than 1 Gbit throughput) , and a problem every time is with factorio server software. Never speed up over 14 Mbyte/s. Testing on large vanillia/modded map, both the same situation.

Vanillia config for server and game, no limited speeds anywhere.

BulitIn gameserver works wore than dedicates Factorio headless server, but NEVER we acquire speeds more than 14 Mbytes/s.

A problem must be in Factorio server network.

Someone may ask, why a map download speed is that important? few minutes in many hours game?

- reconnecting, every time you need download whole (300Mbytes) map.
- catching up, if you slowly downloading a map, data to catching up stacking and take sometime minutes to load game. some time, autosave broke catching up and you stard connecting again.

If you testing many configurations, many servers, many situations, slowly downloading map may frustrate because consume more time than other things.

@Devs - I can add many logs, data, configs to resolve problem.

CrushedIce
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Sat Sep 13, 2014 8:52 am
Contact:

Re: Slow map download speed

Post by CrushedIce »

I agree that the map download seems to behave weird sometimes.
When my friend joins my game he sometimes starts downloading with 4 MB/s but then after around 25% it drops to 1.6 MB/s.
I have 1 Gbit/s upload and he has ~50 Mbit/s download speed.

It is of course not a critical issue but maybe the devs have time to take a look at potential optimisations.

SpwnX
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Mar 17, 2019 3:41 am
Contact:

Re: Slow map download speed

Post by SpwnX »

I have the same problem since a long time too and I dont have any shenanigans, just a regular windows 10 with a steam client. Also my hardcapped download speed is the same as OP's (700 kB/s)

Still happens as of 0.18.10

Arentho
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Apr 02, 2020 4:30 pm
Contact:

Re: Slow map download speed

Post by Arentho »

I got a server hosted at Nitrado running the latest experimental version. I'm playing with a friend and he has a slowed down to 40kb/s map download speed everytime he connects. I can download at normal speed up to 7mb/s or something. This becomes a bigger problem the bigger the map/savegame gets...

if this is around for over a year now - why has no one found a solution to this? =/

Kalixt
Inserter
Inserter
Posts: 28
Joined: Tue May 12, 2020 1:59 pm
Contact:

Re: Slow map download speed

Post by Kalixt »

Something isn't right with downloading speeds. I have 1 Gbit ports on my local network, I am able to transfer files from server (same server that hosts factorio server) with 120MB/s speed yet, factorio downloading map speed is 12,9MB/s max.

"_comment_max_upload_in_kilobytes_per_second": "optional, default value is 0. 0 means unlimited.",
"max_upload_in_kilobytes_per_second": 0,

I always had 0 here.

Is there somewho who is able to download map faster than 12,9MB/s (100 mbit) over local network ?

superbnoobster
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun May 09, 2021 1:37 pm
Contact:

Re: Slow map download speed

Post by superbnoobster »

Any update on this issue? I started to have this issue on my headless linux server. I've used to download the map at 3.5 mb/s speed. Now out of nowhere I'm getting 200 kb/s and it takes very long time to join now. I have no idea what caused or triggered this. I have ~8 mb/s download speed and the server has faster upload speed than that, so network speed is not the issue.

Update edit: I have no idea why but I no longer have this issue. Download speed became fast again on my server. Really weird.
Last edited by superbnoobster on Sat Sep 18, 2021 9:39 pm, edited 1 time in total.

Derim422
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Jul 07, 2021 11:16 am
Contact:

Re: Slow map download speed

Post by Derim422 »

We're also seeing a drop from 9.8M down to 1.2M since the most recent update (1.1.39) on a headless server. All our speedtests are showing much better performance (350M+/350M+).

Dzyu
Manual Inserter
Manual Inserter
Posts: 2
Joined: Mon Feb 13, 2017 3:46 pm
Contact:

Re: Slow map download speed

Post by Dzyu »

My friend also only gets 1.2mb/sec when connecting to me. Speedtests give close to 200 up and down, even when running speedtest while he's downloading map. Map's gotten so big it takes minutes and we have to pause to not get weird autosave issues (it saved 3 times in short order and started lagging the game immensely for him.)

We think it broke our savegame as he will lag more and more in a matter of minutes, get 2-3 frames per MINUTE soon enough, and this is despite stopping the factory and not agitating biters, both of which only gave some fps/ups drop for us before when going full steam. Game will somtimes say it's dropping him, but he hasn't been dropped yet from it.

Post Reply

Return to “Technical Help”