Lag caused by exporting/importing
AzizFawaz opened this issue ยท 2 comments
Issue type:
- ๐ Performance issue
Short description:
The issue is that the world lags a lot (slows down the ticks real bad) whenever I use the mod for item/fluid transportation, it seems to happen whenever exporters/importers are trying to bring items to destinations that can't accept it for reasons other than it being full.
Example:
In my ATM10 world, I use a combination of two mods along with your mod for my storages, which are Sophisticated Storage for random storage and Functional Storage for dedicated storage, and I attach system interfaces to the access points of both mods and a crafting terminal of your mod, and to prevent items from being in my random storage while it's occupying a space in the dedicated storage, I build another cable exporting from the random storage to the dedicated one in all times, and that is what lagged my world, once the exporter card is removed, the lag is no longer there, it happens a lot with other machineries as well, and they all seem to have the same issue, some machines have slots that are not to be interacted with, like catalysts, templets and others, but the cables still try to pull/put into these slots and continue to try without stopping, which causes lag.
Steps to reproduce the problem:
I'm very sure that the issue happens in this situation:
- Install Functional Storage (FS) and Sophisticated Storage (SS) along with your mod.
- place into the world a storage controller from SS and an SS chest (any tier) right beside the controller, and a storage controller and a 1x1 drawer from FS and link them with their controller using a linking tool.
- place a piece of a stackable item in the drawer (not a whole stack) like a diamond
- place a bunch of items (that don't include the item that is in the drawer) in the SS chest.
- Link both controllers with a cable of yours, with the system interface being on the SS controller and the exporter on the FS controller, and the lag should start after inserting a card to the exporter.
Versions:
the file name is "integrateddynamics-1.21.1-neoforge-1.27.4" on a Forge modpack "Namely ATM10 pack", and I don't know which number is the version.
Profiler output:
I don't know what this step exactly needs.
This seems to be the same problem as #1460, which is followed up in P3pp3rF1y/SophisticatedStorage#584.