Skip to content

Perftest: propagate --use_hugepages to RDMA CM connections#375

Merged
sshaulnv merged 1 commit intolinux-rdma:masterfrom
Yue-ByteDance:yzl/fix-hugepages
Mar 16, 2026
Merged

Perftest: propagate --use_hugepages to RDMA CM connections#375
sshaulnv merged 1 commit intolinux-rdma:masterfrom
Yue-ByteDance:yzl/fix-hugepages

Conversation

@Yue-ByteDance
Copy link
Contributor

RDMA CM connection setup currently ignores the --use_hugepages flag because rdma_params->use_hugepages is never populated from user_param. This makes RDMA CM behavior inconsistent with the out-of-band path.

Copy user_param->use_hugepages into comm->rdma_params->use_hugepages during create_comm_struct() so memory allocation/registration honors the CLI option for both connection modes.

RDMA CM connection setup currently ignores the `--use_hugepages` flag
because `rdma_params->use_hugepages` is never populated from user_param.
This makes RDMA CM behavior inconsistent with the out-of-band path.

Copy `user_param->use_hugepages` into `comm->rdma_params->use_hugepages`
during `create_comm_struct()` so memory allocation/registration honors
the CLI option for both connection modes.

Signed-off-by: Zelong Yue <yuezelong@bytedance.com>
@sshaulnv sshaulnv merged commit ea1c778 into linux-rdma:master Mar 16, 2026
1 check passed
@sshaulnv
Copy link
Contributor

thanks for the PR, merged!

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.

2 participants