HbmMods / Hbm-s-Nuclear-Tech-GIT

A flaming wreck of a minecraft mod about nuclear technology that is somehow still in development.
GNU General Public License v3.0
380 stars 268 forks source link

electric arc furnaces cause horrible tps #1566

Closed ecstxasy closed 2 months ago

ecstxasy commented 3 months ago

its as simple as the title in the video you see me setting all the arc furnaces to air and theres obviously a lag spike but i am reffering to before i even ran the command. the pigs ai are slow and jittery but the second i remove all of them and the command is done, the pigs are back to normal

https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT/assets/82160421/1bfa3ef1-83b9-4da6-949e-4dad5e11402c

HbmMods commented 3 months ago

Could you run a profiler? That would narrow the issue down to the exact part of the arc furnace that causes the lag spike. Spark for example is a pretty good one

ecstxasy commented 3 months ago

https://spark.lucko.me/VFiJlllbv1

HbmMods commented 3 months ago

Yup that's the inserters, they had a similar issue for some other machines too. Shouldn't be terribly hard to fix.

ecstxasy commented 3 months ago

what can i do in the mean time to like insert stuff into them because i remember only using them because the thermal dynamics pipes wouldnt insert into the arc furnace so i made them insert into the inserter

HbmMods commented 3 months ago

Slowing down the insertion speed would work, you can probably do this by butting a hopper between the arc furnace and the inserter since hoppers only transfer a single item per second. It's gonna make your furnaces way less efficient though.

ecstxasy commented 3 months ago

can we have lubricated foundry channels..? pleaseeeee or is there a config option to make them faster

HbmMods commented 2 months ago

Arc furnaces have recipe caching now so all operations that need to resolve recipes (i.e. the furnace's own ticks as well as anything that transfers items into it) should be much faster now.