Refined Storage

Refined Storage

77M Downloads

Severe lag when viewing Grid

jediminer543 opened this issue ยท 6 comments

commented

Issue description:

Upon opening a grid, FPS drops to about zero, and everything dies in a fire. It seems to occur when Items are being imported into the system (i.e. from quary)

What happens:

Lagging to death

What you expected to happen:

Not lagging to death

Steps to reproduce:

Testing apatatus (Importer on redstone toggle; enderchest to infinate item source):
image

Have importer off

Turn importer on

Lag ensues

Version (make sure you are on the latest version before reporting):

Direwolf20 Pack 1.7.1 from twitch launcher, running with 12G of ram to attempt to stop issues (which doesn't work)

  • Minecraft: 1.12.2
  • Forge: 14.23.1.2587
  • Refined Storage: 1.5.31

(also has addons of: Refined Storage addons: 0.2, and Reborn storage 3.6.2.187)

Does this issue occur on a server? yes (Ran local server with copy of same world to test against)

In Game Time analasys Pi chart thing:

The Pi-O-Lag indicates that tick time is eating most of minecraft's compute time while in grids:

In my main world:

In Grid:
image

Not in grid:
image

Errors from debug while doing this:
image

(Note the 6s respose time)

On the test rig:

Grid while importer is on
image

Grid while importer not on:
image

commented
commented

Here are the files; run on the testing rig; one pair on the client, and another on the server.

Client:
Client.zip
Server:
Server.zip

This is in the test world described.

Hope this helps

commented

I have been noticing this issue myself recently,
It only seems to happen when inserting items into the network via any means.

commented

I've attempted to fix this in the latest commit. The nps report didn't give me much, besides that is was spending a lot of time in the sorting code, so I optimized it a bit more so sorting calls are made less often.

commented

Just as a side note for this updating java helped massively.

commented

Weird..