Odd lag in MP
Posted: Wed Jun 14, 2017 10:35 pm
Yes, I did read the list of possible reasons for MP lag here: viewtopic.php?f=49&t=4400
This is not that, the host and all clients are capable of running my factory in SP just fine, and we all have > 1 MB/s up and down (I have 50 MP/s up and down, but some of them are on slightly slower connections).
I have a fairly large SP factory, started around .13, which I've played a few hundred hours on. It's not too intensive yet, and if I drop below 50 FPS/40 UPS it's because I nuked something near a lot of biter bases and they're swarming towards me. However, when I load the map as MP I am fine, I run fine, it's a tad slower, but not very noticeable. However, if anyone else joins, not matter how powerful their PC, they instantly are brought to 3FPS/3 UPS, or lower. After about 5 minutes, this clears up, and they are simply playing with about half a second of latency. However, this lag comes back after another 15-20 minutes, and again stays for almost 5. I do not experience any lag during these sessions, only the other player does.
It gets more interesting though. when they host (no matter which one it is, I've tried about 6 players from across the continental united states, with vastly different speed connections and PCs), they have absolutely no lag issues, and when I join them, I am reduced to 20 FPS/15 UPS. This persists for several minutes, and then vanishes, leaving me just playing as if I have a ping of around 500 again, like the others. I was not able to play on any one host long enough to see if the second wave of lag existed for me, as they all got bored, unfortunately.
I did check if this was related to network speed, but all of them reported that Factorio wasn't even using close to the amount of network I/O that was available to it (not being used by other programs).
In summery: The factory runs fin in SP, and for the host. However, if anyone joins it from a different computer, they suffer crippling lag (< 3 FPS/UPS) for several minuets, and then play on (what is for my network) massive latency (500 ms, give or take). The only time this is not as bad is if I, the original creator of the map, joins one of them. I still suffer terrible lag and bad ping, but I do not loose nearly as much FPS/UPS.
If you would like, I can post the map download somewhere (If so, where should I post it? It is 85.5 MB). I can also replicate this issue and try to get logs from my friends to post here if you would need them. If you'd like me to test anything with this map or these players, please let me know, I'd like to track down whatever causing this lag, whither it be a bug (Not 100% sure it is, hence why I posted in technical help, rather than bugs), or something else.
Edit: I just realized I should post my system specs:
RAM: 16 GB DDR3 (Yeah, I know it's a bit slow)
CPU: i7 6700HQ Skylake
GPU: Nvidia GTX 965m
OS: Win 7 Pro, 64-bit
Internet connection is through LAN, and I'm playing Vanilla factorio here.
This is not that, the host and all clients are capable of running my factory in SP just fine, and we all have > 1 MB/s up and down (I have 50 MP/s up and down, but some of them are on slightly slower connections).
I have a fairly large SP factory, started around .13, which I've played a few hundred hours on. It's not too intensive yet, and if I drop below 50 FPS/40 UPS it's because I nuked something near a lot of biter bases and they're swarming towards me. However, when I load the map as MP I am fine, I run fine, it's a tad slower, but not very noticeable. However, if anyone else joins, not matter how powerful their PC, they instantly are brought to 3FPS/3 UPS, or lower. After about 5 minutes, this clears up, and they are simply playing with about half a second of latency. However, this lag comes back after another 15-20 minutes, and again stays for almost 5. I do not experience any lag during these sessions, only the other player does.
It gets more interesting though. when they host (no matter which one it is, I've tried about 6 players from across the continental united states, with vastly different speed connections and PCs), they have absolutely no lag issues, and when I join them, I am reduced to 20 FPS/15 UPS. This persists for several minutes, and then vanishes, leaving me just playing as if I have a ping of around 500 again, like the others. I was not able to play on any one host long enough to see if the second wave of lag existed for me, as they all got bored, unfortunately.
I did check if this was related to network speed, but all of them reported that Factorio wasn't even using close to the amount of network I/O that was available to it (not being used by other programs).
In summery: The factory runs fin in SP, and for the host. However, if anyone joins it from a different computer, they suffer crippling lag (< 3 FPS/UPS) for several minuets, and then play on (what is for my network) massive latency (500 ms, give or take). The only time this is not as bad is if I, the original creator of the map, joins one of them. I still suffer terrible lag and bad ping, but I do not loose nearly as much FPS/UPS.
If you would like, I can post the map download somewhere (If so, where should I post it? It is 85.5 MB). I can also replicate this issue and try to get logs from my friends to post here if you would need them. If you'd like me to test anything with this map or these players, please let me know, I'd like to track down whatever causing this lag, whither it be a bug (Not 100% sure it is, hence why I posted in technical help, rather than bugs), or something else.
Edit: I just realized I should post my system specs:
RAM: 16 GB DDR3 (Yeah, I know it's a bit slow)
CPU: i7 6700HQ Skylake
GPU: Nvidia GTX 965m
OS: Win 7 Pro, 64-bit
Internet connection is through LAN, and I'm playing Vanilla factorio here.