Shuttlecore
适用于 Paper 和 Folia 服务器的自适应多线程区域平衡方案。
Shuttlecore 彻底重构了服务器在 CPU 核心间分配工作的方式。与依赖固定大小的世界区域(一旦分配便不再移动)不同,Shuttlecore 会持续监控每个区域实际产生的负载:包括刻时、实体数量、方块实体负载以及玩家密度,并实时进行动态调整:拆分过载的区域,合并空闲的区域,并在各线程间重新分配区域,从而避免某些核心成为瓶颈而其他核心却处于闲置状态。
大多数基于区域的线程方案在设定后,其边界相对静态。而 Shuttlecore 将区域放置视为一个动态目标,通过带有迟滞机制的滚动间隔进行重新平衡,以确保系统趋于稳定而非剧烈震荡。例如,突然涌入大量玩家和红石设备的农场区会被拆分并分散开来;而地图中变得空旷的角落则会被合并回收,释放给其他真正需要的地方。
功能特性:
- 持续分析各区域的刻时、实体负载和玩家数量
- 动态拆分过载区域并合并负载不足的区域
- 重新平衡区域到线程的分配,使所有可用核心的负载均匀分布
- 提供实时的线程/负载仪表盘,让你能够查看各线程和各区域的刻时,而非盲目猜测
- 内置压力测试/基准测试模式,用于测量实际的优化前后性能对比
兼容性:
对于非线程区域感知的插件,会自动将其固定到专用的单线程区域,以确保其正常运行,防止造成数据损坏或崩溃。
⚠️ 仅限服务端。需要 Paper 或 Folia。不提供客户端模组,也不支持单人游戏或局域网世界 —— Shuttlecore 专为存在实际负载需要平衡的专用多人服务器构建。
Shuttlecore
Adaptive multithreaded region balancing for Paper and Folia servers.
Shuttlecore reworks how your server distributes work across CPU cores. Instead of relying on fixed-size world regions that stay put once assigned, Shuttlecore continuously watches how much work each region of your world is actually generating; tick time, entity count, tile entity load, player density, and shuttles that load around in real time: splitting overloaded regions apart, merging quiet ones back together, and reassigning regions across threads so no single core becomes the bottleneck while others sit idle.
Most region-based threading keeps its boundaries relatively static once set. Shuttlecore treats region placement as a moving target, rebalancing on a rolling interval with hysteresis built in so it settles rather than thrashes. a farm district that suddenly fills up with players and redstone gets split and spread out; a corner of the map that empties out gets folded back in and freed up for somewhere else that needs it.
What it does:
Continuously profiles per-region tick time, entity load, and player count
Dynamically splits overloaded regions and merges underloaded ones
Rebalances region-to-thread assignment to even out load across all available cores
Ships a live/threadload dashboard so you can see per-thread and per-region tick times, not just guess
Includes a built-in stress-test/benchmark mode to measure real before/after performance
Compatibility:
Plugins that aren't thread-region-aware are automatically pinned to a dedicated single-threaded region so they keep working safely rather than causing corruption or crashes.
⚠️ Server-side only. Requires Paper or Folia. No client mod, and no singleplayer or LAN-world support — Shuttlecore is built exclusively for dedicated multiplayer servers where there's actually load to balance.
评论 0
登录后参与评分
还没有评论,来抢沙发吧