Download NoiseThreader — Minecraft Mods — ModStock

NoiseThreader

Active

Downloads

0

Last update

6 months ago
Client
Utils

NoiseThreader improves world generation performance by selectively multi-threading the costlier single-threaded noise generators.

Currently adds multi-threading to noise generators for Vanilla dimensions (Overworld/End/Nether) as well as OpenTerrainGenerator's Overworld generator.

Standard noise generators perform costly calculations on only the main server thread when chunks are generated, NoiseThreader improves performance by splitting up these calculations and spreading the load out across multiple threads.

Performance improvement will vary across different systems however in testing even 4 cores can see performance gains through multi-threading the noise generators.
Currently by default the minimum amount of cores required before NoiseThreader will attempt multi-threading is set to 4 for safety, however you can change this number in the config and may still see improvements if you are on a potato.

Profiling the time taken for Height-Map (Noise) generation on my system (Your mileage may vary) resulted in ~50% performance improvement for the Vanilla Overworld.
For OTG's Overworld, the results were around ~60% improvement, being more significant due to OTG's heavier generation cost as this resulted in Height-Map generation going from ~2.5ms/chunk down to ~1ms/chunk.
(For comparison, the existing Multithreaded Noise mod tested at around ~25% - ~30% improvement, and also only applies to the Vanilla Overworld.)
The Vanilla Nether and End also saw some improvements, however less significant due to them using smaller noise generations, of roughly ~10% - ~30%.

As is the point of multi-threading, you will likely see more significant performance improvements when the primary server thread is being utilized heavier such as in the case of OTG generation.

Please report any issues/bugs/suggestions to the issue tracker linked at the top of the page or to my Discord server linked below.

This mod is not required client-side.




 

Need to get in contact with me, or want to support me? Click the badges below:



Need a server? Click the banner below and use code "fonny" for 25% off your first month with Bisect Hosting:

Project members
fonnymunkey

fonnymunkey