Chunky (Fabric)

Chunky (Fabric)

10M Downloads

[Feature] Add artificial throttling via CPS limit

purejosh opened this issue ยท 2 comments

commented

Hi. Might be a bit unorthodox, but I think it'd be worthwhile to add a new feature that limits the maximum chunks per second that can be generated. With servers that are generating tens of thousands of chunks, the CPUs get maxed out, and causes incredibly laggy performance for players. It even causes the server to crash with modded servers.

Would this limiter be something you'd consider? Putting the performance in the hands of the end user would be nice, in my opinion. At least that way, we can set a limit on the CPS and reduce the impact that Chunky has during high player count times.

commented

This has been asked numerous times, it's generally not an issue worth looking into for several reasons. I don't want to repeat myself, so if you want to look into some of those reasons you can look through other issues. That said you can use system properties and more or less imitate a rate limit that way if you must, but 99% of the time I would say this is misguided as the issues generating tend to be related to other plugins/mods causing issues. I recommend looking at the FAQ to understand how to optimize pre-gen and see a list of example mods that have been known to cause lag issues and so on. If you are still having performance issues or crashes, the best place to ask is our Discord server.

commented

Actually, your system properties article is more than enough of a solution for this issue. I'll implement that to help with server stability. Thanks!