
[Bug Report]: MI cutting machines are lag heavy due to them having 13,652 recipes available
James103 opened this issue · 1 comments
Modpack Version
1.23.0
Describe your issue.
As of Craftoria 1.23.0, MI cutting machines take nearly 0.2 ms/t of server CPU time to process each when idle (≈ 0.18 ms/t on my Intel Core i5-9400F CPU running at 3.9 GHz).
I tested with no slots locked, with just the output slot locked, and with all slots locked, and the lag was basically the same.
Even if their lag goes away when they are running, as soon as their efficiency ramps up to or near 1 tick per process, the lag returns.
I then checked EMI for the recipes available to an MI cutting machine, and found 13,652 recipes across 1,707 pages (13,653 if electric). All other MI machines I tested have at most a few hundred recipes and take less than 0.01 ms/t to process.
The following can be set in MI's server config to disable MI cutting machines from being automatically populated with all available stonecutter recipes (totaling over 13k), which should resolve the lag at the cost of needing to switch to another method, such as AE2 autocrafting, for stonecutter automation:
[recipes]
#Generate cutting machine recipes for all stonecutter recipes.
stonecutterToCuttingMachine = false
Observable profile
https://observable.tas.sh/p/hfH23
Crash Report
N/A
Latest Log
N/A
Have you modified the modpack?
Yes
User Modifications
Added mods:
iris-neoforge-1.8.8+mc1.21.1.jar
monocle-0.2.1.ms.jar
NoChatReports-NEOFORGE-1.21.1-v2.9.1.jar
toms_storage-1.21-2.1.3.jar
Xaeros_Minimap_25.2.10_NeoForge_1.21.jar
XaerosWorldMap_1.39.12_NeoForge_1.21.jar
Removed mods:
ImmersiveUI-NEOFORGE-0.3.0.jar
voicechat-neoforge-1.21.1-2.5.35.jar
watut-neoforge-1.21.0-1.2.7.jar
Did the issue happen in singleplayer or on a server?
Singleplayer
Discord Username
No response