mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #675] [MERGED] feat(transfer_engine_bench): Add multi-GPU support #1738
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#1738
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/675
Author: @staryxchen
Created: 7/26/2025
Status: ✅ Merged
Merged: 7/28/2025
Merged by: @alogfans
Base:
main← Head:opt/bench📝 Commits (4)
c94f335feat(transfer_engine_bench): add multi-GPU support and improve memory allocation logic3fac6adreplace thread array with vectord77bc7fmove DRAM log messages to initialization blocks8c6a218fix typo📊 Changes
3 files changed (+82 additions, -31 deletions)
View changed files
📝
mooncake-transfer-engine/example/transfer_engine_bench.cpp(+78 -27)📝
mooncake-transfer-engine/example/transfer_engine_bench_with_retry.cpp(+2 -2)📝
mooncake-transfer-engine/tests/rdma_transport_test.cpp(+2 -2)📄 Description
Summary
This PR enhances the mooncake transfer engine benchmark to support multi-GPU configurations and improves memory allocation logic for better performance demonstration.
Change
Usage
Testing Result
The changes maintain full backward compatibility with existing single-GPU configurations while enabling multi-GPU scenarios for enhanced performance testing. I have test the performance with the below command:
And the result show that When allocating memory from eight H20 GPUs simultaneously (which is the purpose of this PR), the Mooncake Transfer Engine can fully utilize the bandwidth of eight 400Gbps RDMA NIC

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.