Create

Create

86M Downloads

Smart Chutes on Item Vaults cause lag

cmdremily opened this issue ยท 2 comments

commented

Describe the Bug

Smart chutes attached to an item vault causes a disproportional amount of server load.

Here's an in-game overlay of a profiling (observable + spark):
2023-02-18_18 22 44

As you can see, smart chutes with simple item filerts attached to an item vault are costly, regardless of what's below the chute (vanilla chest, drawers or void).

I also did a CPU profiler with Spark and here's the relevant bit:
image

Reproduction Steps

  1. Create item vault 3x3x9
  2. Attach smart chutes underneath
  3. Set filter on chutes

Expected Result

The server load caused by chutes attached to empty item vault is minimal.

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.0g

Minecraft Version

1.18.2

Forge Version

40.1.93

Other Mods

Vault Hunters 3rd edition modpack.

Additional Context

No response

commented

More info: Setting a stack size limit on the funnel makes the problem much worse. Like 1.4 ms/t compared to 200 us/t.

commented

This still hasn't been fixed and is actually worse, even in 0.5.1 1.19.2, it's still causing lag with not just chutes. Its funnels and mechanical arms as well. funnels connected to an item vault with a depot or belt lags when taking items from the vault. Mech arm taking stuff from a depot and inputting it into a funnel causes massive TPS lag too.