-
Notifications
You must be signed in to change notification settings - Fork 936
OPAL/COMMON/UCX: added fallback to OPAL memory hooks #9946
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
OPAL/COMMON/UCX: added fallback to OPAL memory hooks #9946
Conversation
|
@hoopoepg I can confirm that the warning is gone. However, performance is as bad as with the warning: With the warning on v5.0.x: With suggested With this PR: This PR and btl/uct disabled: Notice the difference at 4MB: roughly 183us vs 440us. Is there no way we can fix the performance degradation? |
|
@yosefe it seems UCX failed to initialise rcache. there is no gracefully way to fallback into OPAL hooks. may be enable OPAL hooks by default? wdyt? |
Maybe we should start by testing external (OPAL) events, and if they already exist - do not install UCX events. |
will not work: OPAL events are installed after UCX installs own hooks |
So it means UCX events test should work, right? |
|
OPAL sets hooks when framework is opened. if we subscribe to OPAL hooks and after this UCX set own hooks we may break OPAL hooks completely - btl ucx may fail |
5daf180 to
de4fe77
Compare
|
@devreal it seems the only solution for issue is use OPAL hooks by default. |
- enable OPAL memory hooks by default to provide compatibility with other transports Signed-off-by: Sergey Oblomov <[email protected]>
eec2955 to
62f6be4
Compare
|
I'm still trying to test this PR but had issues with the machine. Will try again today. |
|
@devreal Did you get a chance to test it? I'd like to merge this into v5.x |
into OPAL memory hooks
fixes #9859