Threads and ticks
A Minecraft server works in ticks: 20 times per second it updates the whole game. How the work of a tick is split over the CPU decides how fast a server can be.
One owner thread per dimension
Each dimension (Overworld, Nether, End) belongs to exactly one thread while it runs. Only that thread changes the dimension's blocks and entities.
Why this helps: when many threads share data, they must use locks (a lock lets only one thread at a time touch something). Locks cost time and can make threads wait for each other. With one owner per dimension, game data needs no locks at all. Other threads get read-only copies or send messages.
When a player goes through a portal, the old dimension's thread hands the player over to the new one, like a message. The new thread loads the chunks at the destination and places the player there. Neither thread waits for the other.
Status: built.
Parallel dimensions
Because each dimension has its own owner thread, all dimensions can run at the same time on different CPU cores. A busy Nether no longer slows down the Overworld. The same holds for extra worlds: each one ticks on its own thread.
flowchart LR
S[Server thread<br/>start of tick] --> O[Overworld thread]
S --> N[Nether thread]
S --> E[End thread]
O --> F[Server thread<br/>end of tick]
N --> F
E --> F
The price: effects that cross dimensions come one tick later (a portal trip, execute in another dimension). So parallel dimensions are on in the paper (the default), spigot, performance and crowd profiles and off in vanilla and technical. There the dimensions tick one after another in Vanilla's exact order. Parity tests check this order with scenarios that cross dimensions: portals for players, items and mobs, End gateways, ender pearls, /tp between dimensions and execute in. The switch is performance.tick.parallel-dimensions (see Performance settings).
Heavy background work (world generation, lighting, saving) runs on one shared pool of worker threads, in every profile. By default there is one worker per CPU core. The workers run at a lower operating system priority (performance.threads.compute-nice, 10 by default), so a tick thread that shares a core with a worker still gets most of it, and generation uses every core the ticks leave free.
Status: built.
Parallel tick phases for crowds
With very many players in one place, a dimension's tick is mostly work per player: queueing sounds, particles and other effects for every receiver, and checking advancements. Some of this work is split into parts that run in parallel on tick helper threads. These are separate threads at the same priority as the tick threads: if the parts ran on the low-priority workers, a busy network or world generation could keep them waiting and stall the tick.
- Effect delivery: the packets of the tick's effects are built once. Then the receivers are split into contiguous parts, and each part picks and queues its packets in parallel. Every receiver still gets the same packets in the same order. This starts at 256 receivers; with fewer, the tick thread does it alone.
- Advancement checks: each player's checks (crafting, inventory, location and more) run in parallel, because they only read the world and change that player. Statistics, plugin events and rewards stay on the tick thread, in player order.
- Entity packets: the fan-out of entity updates uses the same thread count.
- Entity tracker: the checks of which player sees which entity (for entities that changed chunk section and for players that moved) only read, so they run in parallel. The changes are then applied one after another in Vanilla's order, so every player's stream stays the same.
- Spawning and random tick checks: with players spread out, the checks that only read the world run in parallel: which chunks around the players may tick, and which are near enough to a player. The spawns and random ticks themselves still run one after another on the owner thread, in Vanilla's order with the same random numbers. It only looks ahead (it prepares the blocks the next attempts will pick), so the result does not change.
The result is the same with any number of threads; only the speed differs. performance.threads.tick-phases sets how many threads share such a phase (0 = one per core the server may use, the tick thread included; 1 = the tick thread alone; see Performance settings). The same number also applies to the tiles of the region mode below. It works in every profile and costs nothing when there is not enough work.
The network has its own I/O threads for connections, encryption and compression (performance.threads.network). By default there is one per two cores, at least two, so the traffic of a crowd spreads over the cores and the other half stays with the tick and its phases.
Besides this, the optional crowd mode (crowd profile) makes the crowd itself cheaper: each player sees only the nearest players, and far players send their movement less often. That changes what players see, so it is a deviation from Vanilla and off by default. See Performance settings.
Status: built. Included in the dense-crowd run of 2026-11-28 (Players and tick time). Crowd mode is new and has no published measurement yet.
Tile region mode: one world on several cores
A dimension still ticks on one thread. When players are spread out, most of that tick goes into work per loaded chunk: natural mob spawning and random ticks (crops, fire, grass). The tile region mode hands this work to the tick helper threads.
- The world is cut into fixed squares of chunks, called tiles (16 × 16 chunks by default).
- Each tile works out its spawns and random ticks on its own core, from the world as it is at the start of that phase. No tile writes anything meanwhile, so no locks are needed.
- The jobs are planned from what each tile cost in earlier ticks: a busy tile runs alone and starts first, and quiet tiles next to each other share a job. So one busy tile does not hold up the rest.
- Then the owner thread applies the results tile by tile, always in the same order. The result does not depend on how many threads there are or how the jobs were planned.
- While all ticking chunks lie in one tile (a single player, one crowd) or there are fewer than 512 of them, the world ticks in Vanilla's exact order as before.
Entities, block updates, redstone, fluids and what is sent to players still run in the normal order on the owner thread. Only these two phases are split.
It is on in the performance and crowd profiles only, because it cannot be tick-exact with Vanilla: each tile draws its own random numbers, so a seeded world differs (same rates), and a player's mob cap can be exceeded by one tick's spawns at a tile border. The other profiles keep Vanilla's exact order at no cost. Switch it with performance.region-threading.enabled (see Performance settings). Measured gain, only for spread-out players: Players and tick time.
Status: built. Planned: tiles that own their entities, so more phases can run in parallel, and tiles on other servers; today every tile is worked out in the same process.
Parallel path finding
Hunting mobs search for a path many times per tick, and each search is work for the owner thread. With performance.mobs.parallel-pathfinding the searches are only queued while the entities tick. After the entities have ticked, they run in parallel on the compute workers, each on its own copy of the path finder, against the world as it is then. The results go back to the mobs in the order they asked. A mob takes its new path at its next tick, so it starts to walk one tick (50 ms) later than in Vanilla, and a melee attack starts when its path is there. The paths do not depend on the number of threads. It is on in the performance and crowd profiles only. With one tick thread, or on a machine with less than two cores, the searches run on the spot like in Vanilla.
Status: built. In the developers' own test only a very large number of hunting mobs (about 10,000 monsters on 4 cores) showed a gain, roughly 13 % less mean tick time; it is not part of a published benchmark run.
Small servers: one core
On a machine with less than two CPU cores (a small container, for example 1 core and 1 GiB), the tick and the background work would fight for the same core, and a long job could stall a tick. Vanillite finds out what the machine allows (the budget) and then:
- starts background jobs only between ticks, or while the tick itself waits for one of them;
- keeps the workers below the CPU quota of the container, so the system never pauses the server;
- keeps fewer chunk jobs waiting (
performance.chunks.max-jobscounts at most 16 there), so the chunks around the players come first; - runs one network I/O thread instead of at least two (
performance.threads.network), so the network does not compete with the tick for the only core.
Like Vanilla, a chunk runs block and fluid ticks only once the 3 × 3 chunks around it are fully loaded. Before, a tick at the edge of the loaded area could load a neighbour on the spot and stall the tick. A player who joins is placed once the chunks around the spawn are full, so nobody stands above a missing chunk.
None of this changes what happens in the game, only when background work runs.
Status: built. Measured with the benchmark suite (scenario weak, see How we measure); numbers: Players and tick time.
Overloaded worlds
Each world can watch its own tick time. When the smoothed tick stays above a limit (performance.overload.tick-millis, 45 ms in the performance and crowd profiles), the world's overload regulator sheds work one step at a time: natural spawn rounds get rarer, inactive mobs are no longer woken up, the path finding budget shrinks, and last the simulation distance goes down one chunk at a time. Once ticks are fast again, it gives the steps back in the opposite order. Every world has its own regulator and shares nothing with the others, and without overload it costs one comparison per tick. It changes the game only while a world is overloaded, so it is off in the other profiles. The steps and settings: Performance settings; plugins hear the level changes as an event.
Status: built. Not yet measured in a published run.
Watchdog
The watchdog stops a server that hangs. It looks at how long ago the last tick started or ended, not at a fixed deadline. So a server that is only overloaded and falls behind keeps running; only a tick that never finishes stops it (limit: max-tick-time in server.properties).
Status: built.
See also: Players and tick time.
Next: Chunks and networking.