World storage
New worlds are saved in Vanillite's own world format. Worlds in Anvil, the format of Vanilla (and Paper), keep working and stay in Anvil unless you convert them (see First start and the storage.* performance settings).
Own format vs Anvil
Measured on a world generated by a Vanilla 26.3 server: 34,576 chunks (overworld only). Both formats were read and written by the same Vanillite storage code. Measured 2026-11-24 on a shared development machine with a prototype of the own format, before the faster Anvil reader below; speeds varied 10–30 % between runs, so the table shows typical values. The finished own format on dev stored the same world in 156 MiB (1.6× smaller than Anvil); its speeds have not been measured again yet.
| Anvil, deflate | Anvil, LZ4 | Own format (prototype) | |
|---|---|---|---|
| Size on disk | 255 MiB | 365 MiB | 146 MiB |
| Size per chunk | 7.7 KB | 11.1 KB | 4.4 KB |
| Load, 1 thread | ~3,400 chunks/s | ~3,300 chunks/s | ~8,200 chunks/s |
| Load, 8 threads | ~21,000 chunks/s | 13,000–19,000 chunks/s | ~56,000 chunks/s |
| Save, 1 thread | ~2,100 chunks/s | ~5,100 chunks/s | ~12,000 chunks/s |
| Save, 8 threads | 9,300–10,900 chunks/s | 10,500–12,800 chunks/s | 28,000–30,000 chunks/s |
| Memory used while loading one chunk | 310 KiB | 223 KiB | 69 KiB |
| Time until the first chunk can be sent | 0.34 ms | 0.38 ms | 0.18 ms |
In short: the own format is 1.6–1.75× smaller, loaded about 2.4× faster and saved 2.4× (vs LZ4) to 6× (vs deflate) faster. Each load needs 4.5× less temporary memory. A loaded chunk takes the same RAM in both cases, because both end up in the same in-memory chunk.
%%{init: {"themeVariables": {"xyChart": {"plotColorPalette": "#2e9d5b"}}}}%%
xychart-beta
title "Chunks loaded per second, 1 thread (higher is better)"
x-axis ["Anvil deflate", "Anvil LZ4", "Own format"]
y-axis "Chunks per second" 0 --> 9000
bar [3400, 3300, 8200]
Faster Anvil reading
Vanilla worlds load faster now too: Vanillite reads an Anvil chunk in one pass, without building a temporary data tree, and reuses the height maps stored in the file.
| CPU time to decode one full chunk, 1 thread | Before | After |
|---|---|---|
| Chunk from a Vanilla world | 292 µs | 150 µs (1.9× faster) |
| Chunk from a Paper world | 254 µs | ~160 µs (1.6× faster) |
Micro-benchmark, 2026-11-25, measured before the change was merged into dev; not measured again since. Reading the file itself is not included. µs = microsecond, a millionth of a second.
Saving while players fly
The benchmark suite (scenario World save) lets 20 bots fly at boat speed through new terrain for 60 seconds, then runs save-all flush and times it until everything is on disk. Run of 2026-11-27, Vanillite dev 24e7176; Paper and Vanilla 26.3 from the run of 2026-11-25.
| Vanillite | Paper | Vanilla | |
|---|---|---|---|
save-all flush |
2.77 s | 1.86 s | 5.49 s |
| Chunks on disk afterwards | 19,788 | 4,373 | 5,806 |
| Chunks on disk per second of saving | 7,149 | 2,357 | 1,058 |
These numbers do not say who saves faster: Vanillite had generated, and had to save, about four times as many chunks as Paper in the same time. Per second of saving, it wrote about 3× more chunks than Paper. In the same run, Vanillite's tick time while flying was high (p95 1406 ms); this scenario is a stress case with new terrain all the time. One run on one machine, so read it as a direction.
Converting worlds
Measured with the prototype:
| Speed | |
|---|---|
| Anvil → own format (8 threads) | about 13 s per GiB of Anvil files |
| Own format → Anvil (8 threads) | about 7,000 chunks/s (about 18 s per GiB written) |
Every sampled chunk was identical after converting there and back.
Not measured yet
- The finished own format and the faster Anvil reader in the same table.
- Loading from a cold disk (all numbers above had the files in the system's cache). Smaller files should help even more there.
- Comparison with Paper's own loading and saving, apart from the save run above.
How world storage works: Chunks and networking.
See also: Chunks, How we measure.
Next: Proxy speed.