ucx icon indicating copy to clipboard operation
ucx copied to clipboard

UCP: Proposed API for User defined memory allocator

Open ofirfarjun7 opened this issue 4 years ago • 1 comments

ofirfarjun7

Member ofirfarjun7 commented 17 minutes ago What Proposed API for User defined memory allocator used by UCX.

Why ? Customer wants to replace our Mpool implementation with his own memory allocation scheme to control the allocation and release of RX Descriptors.

How ? As for the API - Passing 4 functions implemented by the user (init, malloc, free, cleanup - optional) from UCP to ifaces in UCT. Ifaces will use this functions to allocate/release memory instead of using the mpool instance. Functions description can be found in the code ("src/ucs/memory/user_mem_allocator.h"), and more extend description of the API can be found in the UCX Sharepoint under arch documents (user_allocated_memory_buffers.docx).

ofirfarjun7 avatar Mar 01 '22 22:03 ofirfarjun7

Commenter does not have sufficient privileges for PR 7995 in repo openucx/ucx

azure-pipelines[bot] avatar Mar 02 '22 18:03 azure-pipelines[bot]