← Назад к ресурсам

Krypton

A mod to optimize the Minecraft networking stack

Modrinth optimization utility

Описание

## Warning **Krypton is a work-in-progress.** I do not provide any guarantees about its stability, compatibility with other mods, or support for every possible setup out there. Support for this mod is provided on a "best-effort" basis. This is not my day job, it is a hobby growing out of related work I've done. ## Sponsor Me! Did this mod make your server playable? [Chip in a bit of money](https://github.com/sponsors/astei) so I can continue developing it. ## What's Krypton? Krypton (from Ancient Greek _kryptos_, "the hidden one") is a Fabric mod that attempts to optimize the Minecraft networking stack. It derives from work done in the [Velocity](https://velocitypowered.com/) and [Tuinity](https://github.com/Spottedleaf/Tuinity) projects. Krypton contains several optimizations, including: * **Highly optimized Netty handlers** derived from the [Velocity](https://velocitypowered.com) proxy, which I am the developer of. These handlers have seen real-world usage and extensive profiling, and strategically deploy native code where it makes the most sense. * **Flush consolidation** to lower server CPU usage (and reducing the impact from hardware security vulnerabilities which exploit speculative execution) and lower server tick times. * **Micro-optimizations** to reduce memory usage and improve packet serialization speeds. ## Compatibility Krypton should work anywhere where a Minecraft can run — naturally, however, it is tuned for Linux. I try to ensure that Krypton will work with the Fabric API, Lithium, and Sodium. Support beyond these mods is provided on a best effort basis.