mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #381] [RFC][Store] Support cache-aware scheduler #134
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zhaoyongke on GitHub (May 20, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/381
In LLM inference clusters, a global scheduler is often used for load-balancing, choose the optimal nodes for new requests processing. KVCaches can also be reused if a node has processed the same prompt or a common prefix to reduce computations.
DeepSeek API's price is lowered by context caching technology. Cache-aware scheduler will allocate nodes with both lower computing load and higher cache-hit rate.
With Mooncake Store, a master service is launched as a storage allocation indicator. It also provides kvcache put/get metrics and health status. It should provide more information for cache-aware schedulers as follow:
For better cache-hit and runtime performance, some optimizations are also needed:
Welcome to discuss!
@stmatengss commented on GitHub (May 22, 2025):
@zhaoyongke commented on GitHub (May 22, 2025):
Mooncake Store only hold part kvs, some near-engine kvs are in VRAM or DRAM(with Paged Attention and Radix Cache management), they're important for cache-aware scheduler too.
KVs offloaded to SSD or 3FS are permanent, not suit for cache-aware node scheduler because it takes longer to get()/put() than VRAM/DRAM, and better for lower cost offline inferencing cases but not suit for lower latency online service. We're planning to benchmark all these cases in our H20 cluster.
@github-actions[bot] commented on GitHub (Jul 11, 2026):
This issue has had no activity for 90 days and will be closed in 7 days if there is no further activity. Please comment or react if it should stay open.
@github-actions[bot] commented on GitHub (Jul 19, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.