What Affects Chunk Generation Speed on a Minecraft Server?
Two servers on the same Minecraft version can generate new terrain at very different speeds. On one, players fly an elytra into new land and the world keeps up. On the other, the world stops at the edge of a void and the whole server lags. The difference almost always comes down to a handful of factors, and most of them are under your control.
This post explains each one and how much it matters. If you just want the fixes for slow chunks, see why chunks load slowly.
Generating vs loading: know which one is slow
There are two different jobs:
- Generating a chunk means building it from the seed for the first time: terrain shape, caves, biomes, ores, structures, trees. This is heavy CPU work.
- Loading a chunk means reading one that already exists from the world files. This is much lighter, and mostly limited by the disk.
If your server is only slow in new areas, generation is the problem. If it stutters in places players have already explored, look at disk speed and general lag instead.
The factors, ranked
| Factor | Impact on generation speed | What you can change |
|---|---|---|
| Single-core CPU speed | Very high | Host choice |
| World generation mods and datapacks | Very high | Which mods you add |
| View distance and player behavior | High | view-distance, world border |
| Pre-generation | Removes the problem | Run Chunky |
| Server software (Paper, C2ME) | Medium to high | Switch software, add C2ME |
| RAM and garbage collection | Medium | Heap size, JVM flags |
| Disk speed | Medium (saving new chunks) | NVMe storage |
| Simulation distance | Low for generation, high for lag | simulation-distance |
1. CPU: single-core speed matters most
Vanilla Minecraft does hand some generation work to background threads, but much of it still has to wait on one thread at a time, and the main server thread has to take each finished chunk into the world. In practice, how fast each core is matters far more than how many cores you have. A CPU with high clock speed and a large cache will generate noticeably faster than an older server CPU with many slow cores.
Generation also competes with everything else the server does. While new chunks are being made, there's less CPU left for mobs, redstone and players, which is why exploring can trigger "Can't keep up!" warnings on weaker machines.
2. World generation mods and datapacks
Vanilla terrain is the lightest it gets. Every worldgen mod or datapack adds work to each new chunk:
- Terrain overhauls like Terralith or Tectonic change the noise that shapes the land.
- Biome mods add more biomes and features to place.
- Structure mods add villages, dungeons and towers that have to be checked and placed.
- Big modpacks often combine all of the above, plus extra ores and dimensions.
A heavily modded pack can generate several times slower than vanilla on the same machine. That's not a bug, it's the cost of more interesting terrain.
3. How many new chunks players ask for
The server generates whatever players get close to. Things that raise that number:
- View distance.
view-distanceinserver.properties(default 10) sets how many chunks around each player get loaded and sent. The area grows with the square of the distance, so going from 8 to 12 roughly doubles the chunks per player. - Fast travel. Elytras, horses, boats on ice and creative flight can move faster than the server can generate.
- Players spread out. Five players exploring five directions means five separate fronts of new terrain.
- Teleporting to random places with commands like RTP lands players in fresh, ungenerated land each time.
Simulation distance (simulation-distance, default 10) controls how far from players the world keeps ticking: mobs, crops, redstone. It has little effect on how fast terrain generates, but lowering it frees CPU for generation. A common setting is:
view-distance=8
simulation-distance=6
More detail in how to change view and simulation distance. A world border stops players from reaching ungenerated land at all.
4. Pre-generation
This is the factor that beats all the others. If the chunks already exist, players only load them, which is fast. The free Chunky plugin or mod generates an area ahead of time:
chunky radius 5000
chunky start
Run it when nobody's online. Chunky's progress messages show how fast it's going, which also makes it a handy way to compare how fast different setups generate. Full guide: how to pre-generate a Minecraft world.
5. Server software
Paper (and forks like Purpur) use their own chunk system, which can generate chunks in parallel on worker threads. In config/paper-global.yml:
chunk-system:
io-threads: -1
worker-threads: -1
With worker-threads: -1 (the default), Paper picks the number for you: half your physical CPU cores, or 1 thread on machines with 3 or fewer physical cores. The defaults are fine for almost everyone. Paper also has a per-player limit, player-max-chunk-generate-rate under chunk-loading-basic, which is off (-1) by default. Setting it can stop one fast flyer from hogging generation, at the cost of that player seeing terrain appear more slowly.
Fabric and NeoForge servers can add C2ME (Concurrent Chunk Management Engine), a mod that spreads chunk generation, loading and saving across more cores. There are separate Fabric and NeoForge builds, and it only needs to be on the server. It changes deep parts of the game, so back up the world first and test it with your other mods. Some mods are not compatible with it.
Plain vanilla has no settings for this. If generation speed matters to you and you don't need mods, Paper is the simple upgrade.
6. RAM and garbage collection
Generating chunks creates a lot of short-lived data in memory. Java cleans it up with garbage collection (GC). If the server has too little RAM, GC runs constantly and generation pauses each time. If it's badly tuned, you get long GC pauses that freeze everything for a moment.
More RAM does not make generation itself faster once you have enough. What helps:
- Enough heap for your pack (modpacks need more than vanilla)
- Good JVM flags such as Aikar's flags
- Not running out of memory mid-generation, which can crash the server
7. Disk speed
Every new chunk gets saved to the region files in your world folder. On a slow or busy disk, saving can fall behind during heavy generation or pre-generation. Fast NVMe storage keeps saving from becoming a bottleneck and also makes loading saved chunks faster later.
How to find your bottleneck
- Watch where the lag happens. Only in new areas: generation. Everywhere: the cause is something else, like too many entities or a heavy plugin.
- Run a spark profile while someone explores. If most of the time is in world generation code, CPU and worldgen mods are your limit. Our spark report guide shows how to read it.
- Check memory and GC. spark also shows GC pauses. Frequent long pauses point to RAM or flags.
- Test pre-generation speed. Chunky's progress tells you how fast your setup generates. Compare before and after a change.
Quick checklist
- Fast single-core CPU beats many slow cores
- Know the cost of every worldgen mod you add
view-distance8 to 10,simulation-distance5 to 6- Pre-generate with Chunky and set a world border
- Paper on plugin servers, C2ME (tested) on Fabric or NeoForge
- Enough RAM with good flags, and NVMe storage
FreaksMC servers run on AMD Ryzen 9 7950X3D CPUs with NVMe storage, which covers the hardware side, and you can run Chunky from the console like on any other server.
Want a server that just runs fast?
FreaksMC servers run on AMD Ryzen 9 7950X3D processors with fast NVMe storage. Pick vanilla, Paper or a modpack and your server is ready in minutes.
See plans from $4/mo