DAOS-16935 API: Add GPU direct I/O support#18419
Draft
gnailzenh wants to merge 1 commit into
Draft
Conversation
Extend DAOS to support GPU direct RDMA I/O without changing the wire protocol or d_iov_t ABI. Key changes: API layer: - Add daos_mem_type_t enum (HOST, CUDA, CUDA_MANAGED, ROCM, ZE) - Add daos_mem_attr_t side-channel struct for memory attributes - Add DAOS_OBJ_IO_GPU_DIRECT flag for existing fetch/update APIs - Add daos_obj_fetch_gpu()/daos_obj_update_gpu() wrappers CaRT transport: - Add crt_bulk_create_with_mem_attr() for GPU-aware bulk handles - Forward memory type to Mercury via hg_bulk_attr - Add D_GPU_DIRECT env var and crt_mem_device_enabled() init hook Client object layer: - Validate GPU direct flag against mem_attrs - Propagate ORF_GPU_DIRECT to server RPCs - Use crt_bulk_create_with_mem_attr() for GPU buffers Server object layer: - Add GPU direct observability (debug logs, telemetry counter) - No behavioral change (Mercury handles GPU RDMA transparently) Build system: - Add BUILD_GPU_DIRECT SCons option (off by default) - Conditionally enable CUDA/GDRCopy in UCX and FI_HMEM in libfabric Signed-off-by: Liang Zhen <gnailzenh@gmail.com>
|
Ticket title is 'dfs_write bad address from 32K buffer allocated with malloc_shared' |
Collaborator
|
Test stage NLT completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-18419/1/testReport/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend DAOS to support GPU direct RDMA I/O without changing the wire protocol or d_iov_t ABI. Key changes:
API layer:
CaRT transport:
Client object layer:
Server object layer:
Build system:
Steps for the author:
After all prior steps are complete: