Applied Energistics 2

Applied Energistics 2

137M Downloads

Huge Lag When Modifying the Network Structure

MidCoard opened this issue · 8 comments

commented

Describe the issue
In my server, I have created a huge AE network.
However, when I modify the network structure such as placing a fluix cable or removing a fluix cable, there will be huge delay in the server side.
I have used the spark mod to profile it.

spark log: https://spark.lucko.me/gjVP1Ta3OZ

Is there a way to make the lag smaller?

Environment
Fabric 1.18.1
10.1.0-beta.2

commented

@MidCoard I did backport this to 1.18.1

Can you please try the version that'll appear on this page under "Artifiacts" once the build has passed?
https://github.com/AppliedEnergistics/Applied-Energistics-2/actions/runs/2183218745

(It'll be version 0.0.0, which might be an issue, let me know if it is)

commented

From the log, you can see that the tick in level emitter part has spent 70% of the time.
lag

commented

Thanks for the report, will be fixed in the next 1.18.2 release.

commented

Thanks, I'll test it later.

commented

Seems like it caused by the level emitters, and I have removed some of them, It truly works.
In my opinion, there should be some changes in the level emitter.
Also like #6137 , the reboot of the network is also not a good thing.

commented

How big is "huge"?
Keep in mind that during "network reboot", the level emitters will lose signal (meaning they have to turn off), and then turn on again.

commented

That works fine. There will be some dependency problems because of the version. I have modified the version manually. Thanks a lot.

commented

Cool! Thank you for the report and the testing :)