mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #170] [CLOSED] [TransferEngine] Add shared memory transport and refactor metadata format #1369
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#1369
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/170
Author: @alogfans
Created: 3/25/2025
Status: ❌ Closed
Base:
main← Head:transfer-engine-v2📝 Commits (3)
c8bc443[FEATURE] add new directory for maintaining next transfer engine based on #147cb13668fix typose0b4c56[FIX] fix typos of CANNELED📊 Changes
80 files changed (+10624 additions, -14 deletions)
View changed files
📝
CMakeLists.txt(+1 -0)📝
doc/en/transfer-engine.md(+1 -1)📝
doc/zh/transfer-engine.md(+1 -1)➕
mooncake-ngxl-exp/CMakeLists.txt(+5 -0)➕
mooncake-ngxl-exp/README.md(+4 -0)➕
mooncake-ngxl-exp/example/CMakeLists.txt(+5 -0)➕
mooncake-ngxl-exp/example/http-metadata-server/go.mod(+34 -0)➕
mooncake-ngxl-exp/example/http-metadata-server/main.go(+79 -0)➕
mooncake-ngxl-exp/example/memory_pool.cpp(+114 -0)➕
mooncake-ngxl-exp/example/transfer_engine_bench.cpp(+427 -0)➕
mooncake-ngxl-exp/include/CMakeLists.txt(+1 -0)➕
mooncake-ngxl-exp/include/common.h(+363 -0)➕
mooncake-ngxl-exp/include/common/base/status.h(+283 -0)➕
mooncake-ngxl-exp/include/config.h(+57 -0)➕
mooncake-ngxl-exp/include/error.h(+40 -0)➕
mooncake-ngxl-exp/include/memory_location.h(+40 -0)➕
mooncake-ngxl-exp/include/multi_transport.h(+66 -0)➕
mooncake-ngxl-exp/include/segment.h(+84 -0)➕
mooncake-ngxl-exp/include/segment_cache.h(+72 -0)➕
mooncake-ngxl-exp/include/topology.h(+100 -0)...and 60 more files
📄 Description
According to issue #162, we recreate a pull request based on #134 #147. All modified code is in
mooncake-ngxldirectory.This patch is the first stage of Transfer Engine's code refactoring.
Regarding that in many AI data centers, there are multiple link between two storage medias, we want Transfer Engine to use optimal link to reach higher throughput. E.g., two processes in one machine may use shared memory or nvlink transports.
But the current implementation requires to use EITHER rdma or TCP, which is not suitable for extension. Also, there are many dead code in the transport code. So I plan to refact the metadata & transport impl code to make Transfer Engine more organizable.
Overally, this patch changes the following things:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.