Closed davidromrell closed 6 months ago
I cannot replicate this lag on Fabric/Quilt 4.0.0. (1.20.1 <-> 1.20.4)
its literally only for the first 30 seconds to a minute so you have to instantly check fps.
Isn't that how joining a world works? My performance is always at ~90FPS after immediately joining both with and without Faster Random, before hitting ~1000 when all the chunks get built.
something in your mod is making the world joining worse, I am not the maker of this mod so i cannot say what. Although I can say something that changed between 3.0.4 and 4.0.0 significantly decreased gains of performance to the point where 4.0.0 is not worth using unless they want the specific changes you made.
Nothing has changed? We just use nextLong instead of nextInt for feature generation, there shouldn't be any noticeable difference. In fact, performance should be better because of the laggy ChunkRandom
workaround being removed.
Agreed that is why I was surprised.
I tried creating a world and tp-ing to not generated chunks, when I'm at 32 render distance I hit ram limit faster and have less fps with 4.0.0 (than with 3.0.4), tho if I reduce the render distance so it doesn't hit the ram limit with 4.0.0 chunks are actually generated faster. So I don't think it's the dev's fault
GC i think is getting triggered by removing ChunkRandom.
ChunkRandom isn't removed in 4.0.0, we just don't force ChunkRandom to use a slower random in order to prevent some mods from crashing anymore (because we fixed it in 4.0.0 :) ). Chances are, your ram is being flooded with new chunks, and you'll have to dedicate more RAM to not lag from all the GC.
its literally only for the first 30 seconds to a minute so you have to instantly check fps.
That sounds like average Minecraft, as AnOpenSauceDev said. The vanilla chunk manager blocks the server thread when loading chunks for players.
my minecraft doesn't have the
That sounds like average Minecraft, as AnOpenSauceDev said.
experience due to java arguments.
The vanilla chunk manager blocks the server thread when loading chunks for players
Sorta true, with my java args it is false, with "average minecraft" it is true.
As I stated fabric altered rendering distance:
Chances are, your ram is being flooded with new chunks, and you'll have to dedicate more RAM to not lag from all the GC.
Does an issue already cover this?
Does your system support Faster Random?
Issue description.
3.0.4 did not have this problem, unsure what you changed.
Issue replication.
enter a world with just your mod using 4.0.0 on 1.20.1 fabric
Log File / Crash Report (if applicable)
No response