Skip to content

Conversation

@mag1c-h
Copy link
Contributor

@mag1c-h mag1c-h commented Dec 27, 2025

Issue

When the reserved shared memory is exhausted, the process will loop indefinitely, waiting for other processes to release memory, impacting the performance of the transfer task.

Fix

When the reserved shared memory is exhausted, temporarily allocate host memory for the current transfer task.

Test

use local buffer

image

use share buffer

image

hit in share buffer

image

share buffer used out

image

@mag1c-h mag1c-h requested a review from ygwpz as a code owner December 27, 2025 09:24
@mag1c-h mag1c-h requested a review from qyh111 December 27, 2025 09:32
@mag1c-h mag1c-h merged commit b9bce8a into ModelEngine-Group:0.2.0-release Dec 27, 2025
3 checks passed
@mag1c-h mag1c-h deleted the dev-share-buffer-used-out-fix branch December 27, 2025 11:01
mag1c-h added a commit to mag1c-h/unified-cache-management that referenced this pull request Dec 28, 2025
When the reserved shared memory is exhausted, temporarily allocate host memory for the current transfer task.

(cherry picked from commit b9bce8a)
ygwpz pushed a commit that referenced this pull request Dec 29, 2025
[bugfix] share buffer used out (#592)

When the reserved shared memory is exhausted, temporarily allocate host memory for the current transfer task.

(cherry picked from commit b9bce8a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants