Export cables with Operation Upgrades causing a lot of TPS lag (1.12.2)
fzzyhmstrs opened this issue ยท 1 comments
Minecraft 1.12.2, SSN 1.7.10
Single Player, with the MC Eternal modpack
I have a setup where 8 or so export cables feed into a blob of factorizers from Thermal Expansion, via some chests and pipes etc. The factorizer outputs then feed into import cables. The export cable have operation upgrades to leave certain amounts of the filtered item in the network (exporting when [item] > 64). This setup, when connected, drops my TPS from a solid 20 to about 10-13. Unlinking this setup specifically from the network fixes all TPS lag. TPS lag confirmed to be the Storage Master block with laggoggles, much worse than the next worse us/t reading, when the setup is connected to the network..
I'm not familiar with the code of the mod, but my suspicion is that the operation upgrade + export cable is polling the network for a quantity of [item], possibly every tick. Going through the items in the network every tick, possibly twice with the upgrade, seems excessive since the network only seems to transfer once a second or so.
Attached screenshots described below. It is noted that laggoggles readings can flucuate quite a lot based on exact things that are happening during profiling.
-
the setup without any other info. Export cables feed into a chest, which feeds into a pile of factorizers. The factorizers feed into import cables.
-
the laggoggles report with the setup disconnected from the overall network. Note that I think laggoggles is multiplying the results by 100 for some reason. at about 10-13 TPS I'm averaging something like 85,000 us/t total.
-
the laggoggles report after connecting the network back up to the setup
-
the laggoggles report with the export cables connected (the cables are mostly isolated top to bottom by the factorizers
-
the GUI screen showing the setup typical to each of the export cables in this bundle.
No crashes, just very stuttery mob motion and strange entity behavior due to TPS lag from the above issue.
yep as said in other issues, lag goggles isnt very accurate. it often has noticed that the cables are often waiting for the inventories to respond. 1.12 is pretty much feature complete right now, no plans to rewrite everything.
In future if you get a real java VM snapshot like an .NPS file sampling lag from any source including https://www.curseforge.com/minecraft/mc-mods/sampler , open a new issue i can make small changes