[GH-ISSUE #1123] [RFC]: Support hugepage memory allocation via mmap to bypass RDMA memory registration limits #375

Closed
opened 2026-10-29 21:13:33 +00:00 by bsakaguchi · 6 comments
Owner

Originally created by @xiaguan on GitHub (Nov 27, 2025).
Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/1123

Changes proposed

Many RDMA environments have memory registration limits, causing registration failures when users try to start instances with large memory configurations.

Add support for users to specify hugepage-based memory allocation using mmap, which can bypass RDMA memory registration limits.

Before submitting a new issue...

  • Make sure you already searched for relevant issues and read the documentation
Originally created by @xiaguan on GitHub (Nov 27, 2025). Original GitHub issue: https://github.com/kvcache-ai/Mooncake/issues/1123 ### Changes proposed Many RDMA environments have memory registration limits, causing registration failures when users try to start instances with large memory configurations. Add support for users to specify hugepage-based memory allocation using `mmap`, which can bypass RDMA memory registration limits. ### Before submitting a new issue... - [ ] Make sure you already searched for relevant issues and read the [documentation](https://kvcache-ai.github.io/Mooncake/)
bsakaguchi 2026-10-29 21:13:33 +00:00
Author
Owner

@xiaguan commented on GitHub (Nov 27, 2025):

Welcome to contribute! 🎉

<!-- gh-comment-id:3583987492 --> @xiaguan commented on GitHub (Nov 27, 2025): Welcome to contribute! 🎉
Author
Owner

@stmatengss commented on GitHub (Nov 27, 2025):

Could you add this feature to #414 ? @xiaguan

<!-- gh-comment-id:3584784626 --> @stmatengss commented on GitHub (Nov 27, 2025): Could you add this feature to #414 ? @xiaguan
Author
Owner

@xiaguan commented on GitHub (Nov 28, 2025):

Could you add this feature to #414 ? @xiaguan

Good, let me add this

<!-- gh-comment-id:3587742179 --> @xiaguan commented on GitHub (Nov 28, 2025): > Could you add this feature to [#414](https://github.com/kvcache-ai/Mooncake/issues/414) ? [@xiaguan](https://github.com/xiaguan) Good, let me add this
Author
Owner

@dongb0 commented on GitHub (Feb 20, 2026):

It seems this feature has already been implemented in #1300. Should we close this issue, or is there anything still needs to be done? I'm happy to help.

<!-- gh-comment-id:3931520566 --> @dongb0 commented on GitHub (Feb 20, 2026): It seems this feature has already been implemented in #1300. Should we close this issue, or is there anything still needs to be done? I'm happy to help.
Author
Owner

@stmatengss commented on GitHub (Feb 27, 2026):

It seems this feature has already been implemented in #1300. Should we close this issue, or is there anything still needs to be done? I'm happy to help.

True. It is done.

<!-- gh-comment-id:3973714395 --> @stmatengss commented on GitHub (Feb 27, 2026): > It seems this feature has already been implemented in [#1300](https://github.com/kvcache-ai/Mooncake/pull/1300). Should we close this issue, or is there anything still needs to be done? I'm happy to help. True. It is done.
Author
Owner

@stmatengss commented on GitHub (Feb 27, 2026):

It seems this feature has already been implemented in #1300. Should we close this issue, or is there anything still needs to be done? I'm happy to help.

Maybe you can try to optimize the memory management.

<!-- gh-comment-id:3973716845 --> @stmatengss commented on GitHub (Feb 27, 2026): > It seems this feature has already been implemented in [#1300](https://github.com/kvcache-ai/Mooncake/pull/1300). Should we close this issue, or is there anything still needs to be done? I'm happy to help. Maybe you can try to optimize the memory management.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kvcache-ai/Mooncake#375
No description provided.