mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1204] [CLOSED] Optimizing Throughput for Large Batch Sizes #2071
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#2071
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?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/Mooncake/pull/1204
Author: @hzt123123
Created: 12/12/2025
Status: ❌ Closed
Base:
main← Head:optimize-gettransferstatus📝 Commits (4)
e310d62optimize getTransferStatus986fac1optimize getTransferStatus9667b6foptimize getTransferStatusc1f84b0optimize getTransferStatus📊 Changes
1 file changed (+14 additions, -6 deletions)
View changed files
📝
mooncake-transfer-engine/include/transfer_engine.h(+14 -6)📄 Description
Finding
As shown in the table, when running ./transfer_engine_bench on two H20 servers, the throughput decreases as the batch size increases.
Optimization
We optimize the implementation of getTransferStatus() in transfer_engine.h, reducing the time complexity from O(n²·m) to O(n·m), where n is the batch size.
Evaluation
Experiment Setup
2 nodes, with 8 × H20 GPUs per node.
Performance Evaluation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.