FTB-Modpack-Issues
FTB-Modpack-Issues copied to clipboard
[Bug]: EnderRift causes a lot of lag
Modpack
FTB One
Modpack version
1.3.0
Log Files
No response
Describe the bug
When actively using EnderRift with for example a quarry or another constant input of items it causes an huge amount of lag
Steps to reproduce
- Build a rift
- Add a constant throughput of Items => I recommend using a fully enchanted QuarryPlus (Efficiency 5; Unbreaking 3; Luck 3)
- Use a Automation Interface to insert the items (example construction below)
Expected behaviour
Not a nearly doubled amount of lag when using the rift
Screenshots
When Rift doesn't have a constant throughput of items
When Rift has a constant throughput of items
Used block structure for Rift
Additional information
Even though there is the alternative of using Tom's Simple Storage Mod it is quite inconvenient using it because of the huge amount of chests required. Maybe consider adding another Storage Mod that doesn't lag the server as much as Ender-Rift does it. For example the known go-to Mods Refined Storage (currently 1.18.2 only) or Applied Energistics 2 (Has 1.19 alpha version)
Hardware
CPU: Intel(R) Xeon(R) CPU E5-2450 v2 @ 2.50GHz (2 Sockets) (32 Cores) RAM: 12 GB (Minecraft Server Ram) (6 GB Used)
I made a PR for Ender-Rift that should fix most of the lag issues with this mod If we get lucky the owner of the mod accepts my PR
Thank you!
Something I didn't mention in the issue itself is that it is related to how the storage system handles items of the same type. It just works like a giant inventory with infinite space meaning every time a new item of any time is added it checks if there is a slot with that type and if so it checks if it can add items to that. This is a working but quite inefficient approach as you could just store items with the exact same NBT data in the same "slot". My PR does exactly that which "delays" the lag. Meaning it doesn't fully fix the issue but instead it delays it. So as long as you don't have about 2000 items with different NBT data in your Rift it shouldn't lag as much. It's an exponential lag increase the more item types you add to the system (In the current state its not items with the same nbt but instead the more items stacks)
Is EnderRift still an issue in the modpack or is it no longer in there?
It's good now, ty for your PR, we have a big update coming out for this pack this month so it'll be in there with the latest version
Sounds good!
However if I remember correctly the developer told me that they might change some things in code before releasing it. And so far I didn't notice any EnderRift update on CurseForge therefore that issue will still exist if the developer doesn't do anything in that time.
May I ask how this was fixed now?
Was the mod removed? I guess that's what has been done as the performance improvements of the mod were not yet published on CurseForge or any other platform