Modular Load Balancers lots of lag on server
We have some fairly large Modular load balancers in use on our server, and we are experiencing a lot of rubber banding and lag. Just waned to see if this was a known issue before we tore out all of our load balancers.
31 Replies
How large? I know single player has no issues with a couple thousand, but I'm not sure if anyone has stress tested dedicated servers
not in the thousands, one might be 180, the others around 120.
they are all in one smallish area.
I wouldn't think that would cause issues, but it's hard to say
it seems like the lag only happens when items are actively going through the balancers.
It is a couple of these nearby -- rows of inputs or outputs near refineries
basically 20 inputs from refineries, to 8 outputs.
Yeah, I don't think that should cause any sort of lag. But you say it is only when they are in use and you're nearby?
Correct
Sure sounds like they are the culprit, then. I won't be able to do any testing for a few days though
no problem, we appreciate you taking the time to reply so quickly.
Let me know if removing them fixes it or not
will do
I can verify this, removing MLB took me from 20 fps to over 100 having 100ish MLB in 1 group feeding every machine in my factory
Also on a dedicated server?
Nope I'm on single player
I did see a divided by zero erro in the logs i hadn't seen before, but no crashes.
it didnt tell me if it was from a mod though'
Yeah after removing them all the lag is essentially gone.
Super weird. Were you using a lot of filters, maybe?
Currently using almost 100 without issue. For load balancing only, no filter.
I was using mostly filters since all my factory was on 1 mlb group
0 filters in ours. Just inputs and outputs.
Thanks, that is helpful info
I should also note that we still have some smaller ones dotted around with filters and such, but they are all less than 30 pieces, and I do notice a little bit of lag around them, but only a dropped frame or two, no rubber banding or inability to build stuff.
Very strange. I'm going to do some testing on my server to see if I can replicate the issue. You wouldn't happen to have a save from before you dismantled all of them?
Uh. Probably not. I have played quite a few hours since then so my autosaves would be gone now.
I checked just in case, but no dice.
Thanks for checking
@SirDigby I just converted linked machines to multithreaded C++ and was wondering if you would let me take a crack at doing the same with my favorite mod? assuming your not using C already for moving the items around. I have an idea for a balancer algorithm that should be pretty performant. After I am done I would hand it all back to you.
I also think that I can handle the upcoming problem that snapon is going to have when they change how splitters tick.
You're welcome to try
didnt dm cause I know some people dont like random people dming them
is the mod available somewhere?
Link to source should be on the mod page. It's up to date
great!, you want me to open an mr in a few weeks or dm you?
Whichever