Jump to content

Question about World and/or config files download/transfer speed


Daniel86268

Recommended Posts

Hello everyone,

 

I've been wondering why the world download, and more importantly the config file transfer takes surprisingly long, the latter especially with large modpacks.

 

First I've stumbled over it when I saw the line

 

"<property name="ServerMaxWorldTransferSpeedKiBs" value="512"/>                <!-- Maximum (!) speed in kiB/s the world is transferred at to a client on first connect if it does not have the world yet. Maximum is about 1300 kiB/s, even if you set a higher value. -->"

 

so I was like "very strange, but should be OK, since It's only once per map per player". Still very curious about it. (I've set it to a much higher number so the server can just send as fast as possible)

Is everything stored in a slow af database, or what is it waiting for?

 

Recently when I've started playing with darkness falls, the transfer of config files took a very long time (Multiple minutes while joining the server), despite not seing any noticable network- or server-cpu load. Also my PCs CPU didn't seem to be bottlenecking it either. So I'd assume the same limit as the world download applies?

 

Can anyone explain to me what the reason for the limit is, and/or how to increase the speed?

Just feels like waiting while my PC and Server idle.

 

Thanks in advance!

Link to comment
Share on other sites

That is the correct setting to change but it has to be changed on the server not your machine. I have it set to 1300 on my server and downloading a 10k map takes 1.2 minutes. The reason, I believe, default is lower is in anticipation of many players joining at the same time resulting in all the bandwidth being used up. Using my server as an example, with it set to 1300, I’ve had 5 players connecting/downloading at one time and had no issues.

Link to comment
Share on other sites

Obviously I've set the setting on my server, and considering the available bandwidth, I'd like to speed the transfer process up, when possible.

No need to keep the Bandwidth free and the CPU load low when there's noone using it.

Since I usually play with very few people on a relatively powerful server, there should't be a problem with about ten times the bandwidth usage.

(For example ~50Mbit/upload, 1300kbit/s equals 1,3Mbit/s. 10x that speed for 3 players joining at the same time would occupy 10*1,3*3=39Mbit/s usage, still leaving 11Mbit/s for whatever. But it'd cut down the joining time to 1/10th. Means instead of roughly 3Minutes it'd be ~18 seconds.)

Link to comment
Share on other sites

After further testing, it seems like the transfer itself is actually quite fast (at least the config files), but the client seems to take it's sweet time compiling them or something.

 

It starts out with a short burst of Network usage, afterwards it drops to near 0 (aside the normal background bit and bytes), Low CPU load, almost no Drive usage, RAM usage slowly going up. Only thing that comes to my mind is that the game goes through all mod files, somewhat typical for compiling them or something to run them better later.

 

The second join (not restarting the game!) it's much faster. Restarting the game makes it take ages again.

 

So I guess it's less about the (world-) transfer speed, and more about the mod loading routine?

Link to comment
Share on other sites

1300 kiB/s is roughly equivalent to 10Mbps upload. I wouldn't recommend setting it to max unless you have a minimum of 15Mbps upload. (Do note that upload speeds are much slower than your download speeds in most cases, and not all ISP's advertise what the upload speed actually is.)

Link to comment
Share on other sites

There's no problem there, I have an upload speed of 50Mbit/s (in actuality it's around 53Mbit/s all the time), and I'm joining my own server over a local gigabit connection.

So only my Friend(s) have to share the ~53Mbit/s, if it does get used.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...