Severe lag when viewing Grid
jediminer543 opened this issue ยท 6 comments
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):
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:
Errors from debug while doing this:
(Note the 6s respose time)
On the test rig:
https://refinedstorage.raoulvdberge.com/wiki/profiling
Run Sampler on your client
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
I have been noticing this issue myself recently,
It only seems to happen when inserting items into the network via any means.
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.