mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1365] [MERGED] [Store][Feature] Add CXL storage for mooncake_store #2197
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#2197
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/1365
Author: @qiuweit7
Created: 1/13/2026
Status: ✅ Merged
Merged: 1/28/2026
Merged by: @stmatengss
Base:
main← Head:mooncake_qwt📝 Commits (5)
8e49e3f[Store] feat: add cxl storage for mooncake store67dc2ceUpdate extern/pybind11 to match maineb65e35fix: use fake cxl device to bypass ci-test errordcfed8amerge main to fix conflicts4edfc83Fix code formatting in segment.cpp📊 Changes
23 files changed (+847 additions, -62 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -1)📝
mooncake-store/include/allocation_strategy.h(+59 -0)📝
mooncake-store/include/allocator.h(+8 -1)📝
mooncake-store/include/client_service.h(+10 -2)📝
mooncake-store/include/master_config.h(+75 -1)📝
mooncake-store/include/master_service.h(+4 -1)📝
mooncake-store/include/segment.h(+10 -2)📝
mooncake-store/include/types.h(+5 -2)📝
mooncake-store/src/allocator.cpp(+22 -2)📝
mooncake-store/src/client_service.cpp(+40 -8)📝
mooncake-store/src/master.cpp(+29 -1)📝
mooncake-store/src/master_service.cpp(+12 -2)📝
mooncake-store/src/real_client.cpp(+61 -33)📝
mooncake-store/src/segment.cpp(+46 -4)📝
mooncake-store/tests/CMakeLists.txt(+1 -0)📝
mooncake-store/tests/client_integration_test.cpp(+3 -2)➕
mooncake-store/tests/cxl_client_integration_test.cpp(+420 -0)📝
mooncake-store/tests/test_server_helpers.h(+22 -0)📝
mooncake-transfer-engine/include/multi_transport.h(+2 -0)📝
mooncake-transfer-engine/include/transfer_engine.h(+2 -0)...and 3 more files
📄 Description
Description
This is the first PR for the CXL feature.
It introduces Mooncake storage backed by CXL shared memory: the Master centrally manages and allocates CXL segments, currently using CacheLib as the default allocator. Clients can read and write the CXL device through the Put/Get APIs, and BatchPut/BatchGet interfaces are also provided.
Type of Change
How Has This Been Tested?
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.