Fabulously Optimized

Fabulously Optimized

2M Downloads

Ksyxis

Rajbir98 opened this issue ยท 17 comments

commented

Mod name

Ksyxis

Curseforge link

https://www.curseforge.com/minecraft/mc-mods/ksyxis

Other links

Modrinth: https://modrinth.com/mod/ksyxis
Github: https://github.com/VidTu/Ksyxis

What it does

Vanilla Minecraft loads 21x21 (441) chunks every time you load a world. This mod disables this feature.

Why should it be in the modpack

Speed up your world loading by not loading nearby chunks every time.

Why shouldn't it be in the modpack

WARNING: This mod may be unstable and incompatible with some mods.
The effect may not be noticeable on high-end PCs. This mod is designed primarily for low-end devices
There's a video through.

Categories

Performance optimization

Additional details

Got To Know From: https://gist.github.com/alkyaly/02830c560d15256855bc529e1e232e88#gistcomment-3929964
I didn't got have any problem with this mod and I also got nice performance improvement in loading worlds :

commented

A Chunk Pregenerator and a Custom World Generator are two different things IIRC

commented

A Chunk Pregenerator and a Custom World Generator are two different things IIRC

Thx

commented

Tested this on my xeon PC and performance gets consumed easily during chunk loads.

commented

Thanks everyone for your input.
I think I'm going to postpone this to at least 1.18 with Phosphor or Starlight in order to make sure the chunks load smoothly when this is applied.

Edit: now looking for your testing with latest FO.

commented

Interesting, could come useful in singleplayer worlds.

Potential concerns (needs more testing):

  • Incompatibilities with any kind of custom worldgen (not directly the modpack's concern, but still)
  • Does loading the world show empty chunks at first? For how long?
  • How does it interact with Phosphor? Starlight? Do either make it redundant? (is the world loading fast enough with Phosphor/Starlight so that this mod is not needed)
  • Does 1.18 have any breaking changes regarding mod's main purpose?
commented

Does loading the world show empty chunks at first? For how long?

On my machine (with a new world) the chunks around me appear within a second.
When loading an existing world everything is instant.

How does it interact with Phosphor? Starlight? Do either make it redundant? (is the world loading fast enough with Phosphor/Starlight so that this mod is not needed)

This mod only affects the initial world load (and I believe also dimension loads). Have seen no issues using it with
Phosphor or Starlight. (The benefits are still obvious)

Does 1.18 have any breaking changes regarding mod's main purpose?

I am using this mod on 1.18 (21w42a) without any issues.

commented

Rejected per my comment above. The mod is not currently planned for 1.20.4 and in the future will be redundant anyway.

commented

Well, when on a potato pc causes a ton of lag when the world is created, until the chucks load

commented

Tested in FO 3.5.0:

  • without Ksyxis: the user is shown the loading screen throughout and after that the FPS seems smooth
  • with Ksyxis: the user is shown the loading screen which is stuck at 0% for a while, after that the world actually loads and causes initial frame drops

Conclusion: in its current form, the mod does not seem to improve perceived performance or overall loading UX and therefore will not be added.

commented

@Madis0

I tested with FO 5.6.3. After creating the world, I don't have to wait for it to generate to play. Furthermore, FPS is still smooth right after the loading screen even though CPU usage is 100% (my CPU is 4c, 8t).

The mod looks very simple and it's only 11 KB.

commented

Things could change for very weak CPUs.

commented

This mod has been rewritten recently. Compared to FastLoad:

  • Faster according to my testing.
  • Compatibility should be better.
  • Doesn't unfocus mouse input away from the window.
  • FPS is smooth thanks to ThreadTweak.
commented

This mod has been rewritten recently. Compared to FastLoad:

  • Faster according to my testing.
  • Compatibility should be better.
  • Doesn't unfocus mouse input away from the window.
  • FPS is smooth thanks to ThreadTweak.

Did you test on latest stable version of FO? If not, please do so.

commented

ModernFix has the same functionality as Ksyxis. Just enable mixin.perf.remove_spawn_chunks to achieve this.

commented

Interesting. I guess it could be tested which implementation, if any, is better at this point then.

commented

They have similar performance, but Ksysis seems to be a tiny bit faster. The loading screen also looks a bit different between two mods.

commented

As of 24w03a (1.20.5), spawn chunks are now a gamerule, defaulting to 2 (3x3). Hence either methods will likely be unnecessary to include in FO.