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
SirDigby
SirDigby2mo ago
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
Eli
EliOP2mo ago
not in the thousands, one might be 180, the others around 120. they are all in one smallish area.
SirDigby
SirDigby2mo ago
I wouldn't think that would cause issues, but it's hard to say
Eli
EliOP2mo ago
it seems like the lag only happens when items are actively going through the balancers.
Ecclesius
Ecclesius2mo ago
It is a couple of these nearby -- rows of inputs or outputs near refineries
No description
Eli
EliOP2mo ago
basically 20 inputs from refineries, to 8 outputs.
SirDigby
SirDigby2mo ago
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?
Ecclesius
Ecclesius2mo ago
Correct
SirDigby
SirDigby2mo ago
Sure sounds like they are the culprit, then. I won't be able to do any testing for a few days though
Eli
EliOP2mo ago
no problem, we appreciate you taking the time to reply so quickly.
SirDigby
SirDigby2mo ago
Let me know if removing them fixes it or not
Eli
EliOP2mo ago
will do
FreakinaBox
FreakinaBox2mo ago
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
SirDigby
SirDigby2mo ago
Also on a dedicated server?
FreakinaBox
FreakinaBox2mo ago
Nope I'm on single player
Eli
EliOP2mo ago
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.
SirDigby
SirDigby2mo ago
Super weird. Were you using a lot of filters, maybe?
Meepow
Meepow2mo ago
Currently using almost 100 without issue. For load balancing only, no filter.
FreakinaBox
FreakinaBox2mo ago
I was using mostly filters since all my factory was on 1 mlb group
Eli
EliOP2mo ago
0 filters in ours. Just inputs and outputs.
SirDigby
SirDigby2mo ago
Thanks, that is helpful info
Eli
EliOP2mo ago
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.
SirDigby
SirDigby2mo ago
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?
Eli
EliOP2mo ago
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.
SirDigby
SirDigby2mo ago
Thanks for checking
FreakinaBox
FreakinaBox3w ago
@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.
SirDigby
SirDigby3w ago
You're welcome to try
FreakinaBox
FreakinaBox3w ago
didnt dm cause I know some people dont like random people dming them is the mod available somewhere?
SirDigby
SirDigby3w ago
Link to source should be on the mod page. It's up to date
FreakinaBox
FreakinaBox3w ago
great!, you want me to open an mr in a few weeks or dm you?
SirDigby
SirDigby3w ago
Whichever
Want results from more Discord servers?
Add your server