Skip to content

OFI/MTL: bypass HMEM mem reg for CXI provider #11076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 17, 2022

Conversation

hppritcha
Copy link
Member

The code in the OFI MTL to register acclerator memory doesn't work well with providers like CXI which require the libfabric consumer to specify the requested_key field in the fi_mr_attr arg to fi_mr_regattr. As it turns out there's a simpe workaround though with this provider as it actually doesn't need accelerator memory to be registered for FI_MSG/FI_TAGGED type transfers.

This patch restores support for transfers to/from accelerator memory using the OFI MTL on SS11 (CXI provider).

Signed-off-by: Howard Pritchard howardp@lanl.gov

The code in the OFI MTL to register acclerator memory doesn't work well with providers like CXI which require the libfabric
consumer to specify the requested_key field in the fi_mr_attr arg to fi_mr_regattr.  As it turns out there's a simpe workaround
though with this provider as it actually doesn't need accelerator memory to be registered for FI_MSG/FI_TAGGED type transfers.

This patch restores support for transfers to/from accelerator memory using the OFI MTL on SS11 (CXI provider).

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
Copy link
Contributor

@wckzhang wckzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might also want to turn off buffer detection since it doesn't seem to be useful for you. (You can probably save some performance)

@hppritcha
Copy link
Member Author

I will consider the addr check for a subsequent PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants