NathaU / factorio-subsurface

https://mods.factorio.com/mod/Subsurface
MIT License
2 stars 5 forks source link

possible UPS problem #27

Open angrypidgeon123 opened 5 months ago

angrypidgeon123 commented 5 months ago

Subsurface eating a substantial amount of UPS, 0.600 in F4 debugging, greater than any mod I have individually except Rampant who oscillates between 2.0 and 0.150. I have 2 fluid elevators and 4 item elevators, and 2 player elevators, and a bunch of tunnels perhaps 200 tiles long, so not a lot

https://ibb.co/tck3J2H https://ibb.co/z6Cps1K https://ibb.co/cFg1LVY https://ibb.co/JBQ40ZC

NathaU commented 5 months ago

Check again without fluid elevators please. They are the only one performing actions every tick. Is the game unplayable? Because if they're causing it, I wouldn't know how to fix it as there are no linked pipes similar to linked belts

angrypidgeon123 commented 5 months ago

It's a small issue, probably a few UPS points at most. I deleted chunks and went back to 55+ UPS (most of it is from the enemy mods in my game, the rest from other mods).

Still it registers more time than some notorious UPS guzzlers

https://ibb.co/Jk3x0rc https://ibb.co/1ZmNWn1

When I deleted the liquid elevators, it started flickering like every second between 0.450 and 0.550. The liquid elevators weren't working when I deleted them so apparently they tick regardless

Deleting all item elevators made no difference as you said

I noticed Factorissimo notnotmelon uses a 2.5K liquid buffers at its ports even if it seems to tick every second. Maybe it's an UPS improvement idea, IDK. Instead of transferring often, maybe transfer every second instead a larger amount improves it a little

EDIT: Factorissimo notnotmelon is also making use of different surfaces, so must be using the same liquid system more or less, therefore its UPS solution is also yours

EDIT2: actually I can't notice a difference now with pumps on, it's between 450 to 550 without doing anything except being in a different position myself perhaps which seems to matter. Still flickers and pumps makes a stuttery noise while slowing down to stop. Think it would be best to copy notnotmelon's liquid transfer method, can't complain about it

Also overall factorissimo2 notnotmelon has very low ups apparently https://ibb.co/2ZF5cnJ

Also went on a rampage deleting poles, all AAI stuff and random stuff from underground. Didn't make the slightest difference.

Also started manually wall mining while watching the F4 time usage. Subsurface jumped to 2-3 which is Rampant level UPS

Maybe the rock walls tick, IDK :) I don't consider the walls necessary if they take UPS, might as well add floor only while "mining" the edge. I'm flying over the walls anyway in my hover car so they're just for show to me