Lag spike upon chunk loading / unloading - 1.10.2
Brend-Smits opened this issue ยท 7 comments
Description
There seem to be some serious lag spikes coming from Applied Energistics when certain chunks are loaded and/or unloaded. I've attached the download link for the VisualVM profiles (.nps file format)
Environment
Running on a multiplayer environment running SpongeForge. Player count, 20 players online at all times atleast, peaks at 50.
Happens with 15 players online and above.
Version appliedenergistics2-rv4-alpha-11
Modpack: FTB Beyond 1.3.0
Minecraft: 1.10.2
SpongeAPI: 5.2.0-SNAPSHOT-a3257a01
SpongeForge: 1.10.2-2254-5.2.0-BETA-2264
Minecraft Forge: 12.18.3.2254
Profiles:
https://toastynetworks.net/rsampler.php?id=17d4318abf3a4af599e40fa9c8313dc7
https://toastynetworks.net/rsampler.php?id=234733c9753e47158e8f3e77976345a3
depending on the size of ME systems i would recommend always to chunkload them, calculating an entire network can take quiet a bit time if complicated enough (especially when the ME is autocrafting stuff this can become VERY ugly as multiblock crafting CPUs spit out their inventory when crossing a chunkborder and one of the chunks beeing unloaded ... sorry forgot to mention .. only if they do not find a valid target to store them)
We're trying to chunk load as much as possible, however on a server of this size we can't chunk load everything.
Is there something you could possibly do to optimize the unloading/loading of chunks/setups?
Btw: appreciate the quick feedback!
Hey Rubbertjuh! Can I make a simple suggestion that may/may not work? Try compressing you systems vertically into one or two chunks, so that machines can be always loaded at the same time, as well as reducing the amount of chunks required to load.
(Edit: If you cannot alter other peoples systems, try suggesting the same thing.)
Yeah sorry for the lack of answer i was hoping for a dev comment as i have no better solution yet
I use that strategy a lot. I cannot stand large, unorganized systems. I know what it is like to have a bad PC that can barely load a 2 chunk radius without FPS below 25. Now, I have a better laptop that I always have set to 8-10 chunks with 65-70 FPS and particles set to decreased and all else at max.
Also, I noticed something else about your problematic server: You are running Sponge. A lot of error reports claim they are using Sponge, and the problem/glitch is unique to running Sponge servers. Could your unusual spikes be from running sponge? I often use CraftBukkit or CanaryMod, as they work great with a lot of things. Modded servers with plugins, probobly CanaryMod is a good alternative.