I’ve been experimenting with chunk storage layout and access patterns to better understand where chunk load latency in Minecraft actually comes from.

This is **not** a server advertisement, not a public release, and not a download — just benchmark results and observations from a local test environment.

Instead of Minecraft’s usual seek-heavy region file access pattern, I tested a single memory-mapped, append-only store with indexed chunk lookup. The goal was to isolate storage behavior and see how much latency comes from IO layout versus the rest of the server pipeline.

**Benchmark summary (local tests):**

* Random chunk lookups (10,000 queries):
* avg \~87µs, median \~75µs
* cache-hot repeated reads dropped into sub-microsecond territory
* Burst throughput peaked around \~11k chunks/sec
* Cache hit rate \~33% under normal movement patterns

Cold loads still depend on OS paging, and this doesn’t bypass Minecraft logic, serialization, or the tick loop — it just removes a lot of seek and decompression overhead on the storage side. The bottleneck shifts elsewhere pretty quickly.

This isn’t meant as a “fastest server” claim or a vanilla replacement. It’s just an experiment to better understand where time is actually being spent during chunk access and what kinds of storage layouts help or hurt.

I’m mainly interested in feedback on:

* whether this matches others’ understanding of chunk IO costs
* how much of the remaining latency people have seen come from serialization vs scheduling
* any obvious measurement pitfalls I should watch for

Happy to clarify methodology if needed.

Voir le contenu lié