Simple Storage Network

Simple Storage Network

56M Downloads

Large Inventory Lagg

carlosamegos opened this issue · 2 comments

commented

Minecraft version & Mod Version:
1.12.2-1.8.0

Single player or Server:
Server

Describe problem (what you were doing / what happened):
Whenever somebody hooks up a massive inventory (eg. 15k slots from colossal chests) and tries to export, the server really struggles. It's the same case when a user has a massive inventory and just tries to take some items out manually.

It seems like whenever an export/withdraw is made, the simple storage looks through every single slot before finally providing the item.

I think there would be a major improvement if it stopped searching as soon as it found the item + quantity it needs, and if it started it's search with the highest priority storage and worked it's way along.

commented

Can confirm, TileMaster uses up around 171610 µs/t on our server.

This is from the SevTech Ages of the Sky pack and i added LagGoggles to check whats causing this.

2021-03-31_17 07 10

commented

When i remove these three exactly the same configured Export Cables connected to hoppers that are connected to Improved Blast Furnaces from that network the tick usage of one TileMaster gets down around 300µs.
2021-03-31_17 21 18

Same with the other network on the server, if i remove all Export Cables the tick usage goes down to 71µs.