mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[GH-ISSUE #2875] [RFC]: DrainJob bandwidth rate limiting #749
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#749
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 @liangxu2000 on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/2875
Changes proposed
Changes proposed
1. Current State: DrainJob Performance Parameters
After reading through the
mooncake-storesource, here are the existing control parameters related to DrainJob:max_concurrencyCreateDrainJobRequesttask_thread_pool_kJobDispatchThreadSleepMskTaskBatchSizeFetchTasksRPCkMaxDrainUnitRetriesAll existing controls operate on the "count" dimension. There is zero rate/bandwidth limiting.
Key observations from the transfer path:
ExecuteReplicaTransfer, the entire object issplit_into_slicesand submitted to Transfer Engine in a single batch viasubmitTransfer. No pacing between slices.max_concurrency=4, tens of GB could be in-flight on the RDMA link simultaneously.2. Discussion Topic
Does the community see a need for DrainJob bandwidth/rate limiting? Are there any existing plans?
From a usage perspective, an aggressive DrainJob could saturate shared RDMA bandwidth and impact read latency for online workloads. I'd like to understand:
3. Possible Directions (high-level)
bandwidth_limit_mbpsfield toCreateDrainJobRequest(0 = unlimited, backward compatible).The concrete design choice — single-layer vs. dual-layer, where to place it, whether to go adaptive — depends on real community needs. This RFC is intended to start that discussion.
Before submitting a new issue...
@github-actions[bot] commented on GitHub (Jul 13, 2026):
Thanks for opening this issue, @liangxu2000!
258133064A maintainer will triage this when possible. To help us respond faster, please include:
Useful links: Documentation · Contributing guide
@github-actions[bot] commented on GitHub (Oct 12, 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 (Oct 20, 2026):
Closing due to 3 months of inactivity. If this is still relevant, please comment and we can reopen.