Very high upload rate when connecting/connected to server

This subforum contains all the issues which we already resolved.
NomisCode
Inserter
Inserter
Posts: 34
Joined: Sat Mar 12, 2016 12:29 pm
Contact:

Very high upload rate when connecting/connected to server

Post by NomisCode »

When i try connect to server, upload is higher than download... and while ingame it's unplayble, because it's so hard on upload... why?
Please consider English is not my native language. :D
User avatar
cpy
Filter Inserter
Filter Inserter
Posts: 840
Joined: Thu Jul 31, 2014 5:34 am
Contact:

Re: Why so much upload???

Post by cpy »

How big numbers are we talking about? Post details, statistics, data. Then we can talk.

Checked it myself, it really is strange, 4mbit upload for joining MP game? I was not even host!
433kB/s upload rate to server seems a bit too much for basically standing in game.
Koub
Global Moderator
Global Moderator
Posts: 7955
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Why so much upload???

Post by Koub »

[Koub] Topic moved to technical help : Multiplayer subforum's goal to help people wanting to play multi to find each other.
Koub - Please consider English is not my native language.
NomisCode
Inserter
Inserter
Posts: 34
Joined: Sat Mar 12, 2016 12:29 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by NomisCode »

My upload is really slow, 50kB/s... in other games i haven't this problem... And im about 20ms latency. On TeamSpeak im often under 10ms...


Devs should fix this.
Please consider English is not my native language. :D
Loewchen
Global Moderator
Global Moderator
Posts: 9752
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Loewchen »

We still need numbers, how high is the games upload?
If you are on windows: task-manager > performance > resource monitor > network > factorio.exe

I moved this to Bug reports as you opened a new topic there and I don't think it makes much sense to have both
User avatar
cpy
Filter Inserter
Filter Inserter
Posts: 840
Joined: Thu Jul 31, 2014 5:34 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by cpy »

Loewchen wrote:We still need numbers, how high is the games upload?
If you are on windows: task-manager > performance > resource monitor > network > factorio.exe

I moved this to Bug reports as you opened a new topic there and I don't think it makes much sense to have both
I told you mine, what more you need? It was 10-20kB/s and then it jumped to 433kB/s and that made game bring to grinding halt, no response from server, everyone but one guy got dropped. That's pretty much it.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by TruePikachu »

So up to about 3.5 Mbps? What is your upload capacity?

My best guess is that the TCP-over-UDP might be flooding packets, especially if this 3.5Mbps is over the connection's bandwidth capacity.
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Zeblote »

There's no reason at all for the game to upload 3.5mbps. Something's wrong.
Loewchen
Global Moderator
Global Moderator
Posts: 9752
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Loewchen »

Please take a screenshot of the resource monitor showing the network tab (or something similar on non windows OS).
Bob Fuse
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 01, 2016 2:31 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Bob Fuse »

I am having the same issue, I can sometimes host from my PC, sometimes it sits at 3-4kb/sec and its all smooth. However most of the time it's uploading at my max speed of 28kb/sec and it just lags like crazy. Also when a friend is connecting and downloading the map, he downloads it at 5kb/sec however my traffic monitor still shows factorio maxing out my upload at 28kb/sec... makes no sense.

I thought I could resolve this by hosting through a vps, nope, when connecting to the VPS my upload is still being maxed out by Factorio...

Why so much uploading?

I use Netlimiter to monitor traffic.

EDIT: My friend has connected to the VPS and has 0 issues and is 100% lag free, however for me factorio is constantly uploading something, what is it uploading?

EDIT2: Here's an image showing my usage, the dips in the graph are when it is smooth and completely playable, the peaks are when it is lagging like crazy and maxing out my upload, for no reason.
http://imgur.com/VtLxE5S
Zeblote
Filter Inserter
Filter Inserter
Posts: 973
Joined: Fri Oct 31, 2014 11:55 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Zeblote »

28kb/s upload?! What is this, 2004??
Last edited by Zeblote on Fri Jul 01, 2016 7:07 am, edited 1 time in total.
Bob Fuse
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 01, 2016 2:31 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Bob Fuse »

Zeblote wrote:28kb/s upload? What is this, 2004??
Australia.... -_- and mine is the fastest out of our whole group =/

Either way, why is it uploading so much? Every other game I've ever played has never used this much upload data.

It's almost as if the game is flooding (or DDoSing) my modem and then getting backed up on itself....
User avatar
cpy
Filter Inserter
Filter Inserter
Posts: 840
Joined: Thu Jul 31, 2014 5:34 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by cpy »

TruePikachu wrote:So up to about 3.5 Mbps? What is your upload capacity?

My best guess is that the TCP-over-UDP might be flooding packets, especially if this 3.5Mbps is over the connection's bandwidth capacity.
I'm on 100/100mbit.
Killerbee
Long Handed Inserter
Long Handed Inserter
Posts: 81
Joined: Thu Mar 17, 2016 8:44 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Killerbee »

If we are going to brag, I'm on a 250/250 connection.

But this topic appears to be related to: viewtopic.php?f=7&t=26045

Also it would be trivial to either use a server in a ddos by spoofing your IP address or disabling the server by using up all the upload speed.
So in my opinion this is a very high priority bug because of ease with which it can be abused.
Bob Fuse
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Jul 01, 2016 2:31 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by Bob Fuse »

Killerbee wrote:If we are going to brag, I'm on a 250/250 connection.

But this topic appears to be related to: viewtopic.php?f=7&t=26045

Also it would be trivial to either use a server in a ddos by spoofing your IP address or disabling the server by using up all the upload speed.
So in my opinion this is a very high priority bug because of ease with which it can be abused.
This is exactly right, throughout the day I've managed to get 4 people concurrently in the server with no lag issues.

However as soon as I join it kills the server by maxing the upload, not even sure what is wrong here, leaning towards a router/modem issue with the UDP connection spam to the point of shutting down my modem for all connected devices on my network.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by TruePikachu »

cpy wrote:
TruePikachu wrote:So up to about 3.5 Mbps? What is your upload capacity?

My best guess is that the TCP-over-UDP might be flooding packets, especially if this 3.5Mbps is over the connection's bandwidth capacity.
I'm on 100/100mbit.
What is the downlink of the client, though?
Bob Fuse wrote:However as soon as I join it kills the server by maxing the upload, not even sure what is wrong here, leaning towards a router/modem issue with the UDP connection spam to the point of shutting down my modem for all connected devices on my network.
As a side note, you might want to look into QoS on the router; before we had QoS, my home network (which I admin, heh) got very unreliable when one iPhone was added, and a second iPhone completly knocked it out, even for wired devices.
bk5115545
Fast Inserter
Fast Inserter
Posts: 123
Joined: Sun Apr 03, 2016 7:00 pm
Contact:

Re: Very high upload rate when connecting/connected to server

Post by bk5115545 »

Test your packet loss to the server. I have a friend that occasionally has 1~5% packet loss and Factorio doesn't handle it well at all.
0% is flawless but game is completely unplayable at 1%.

Just do like a "ping ip.add.re.ss -n 1000" and wait about 17mins (assuming the server responds to ping).
kovarex
Factorio Staff
Factorio Staff
Posts: 8211
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: Very high upload rate when connecting/connected to server

Post by kovarex »

As most of the multiplayer has been rewritten for 0.14, I will move this to resolved.
Post Reply

Return to “Resolved Problems and Bugs”