Skip to content
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

UCP/GTEST: Workaround KSM ODP failure #10328

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Artemy-Mellanox
Copy link
Contributor

@Artemy-Mellanox Artemy-Mellanox commented Nov 26, 2024

What?

Temporary disable shifted atomic address in ODP PUT tests.

Why?

Shifted atomic address exposes an issue in the driver (RM 4170682).

Copy link
Contributor

@yosefe yosefe left a comment

Choose a reason for hiding this comment

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

WDYT to disable atomic offset with ODP? so KSM would still be exercised

Comment on lines +337 to +340
if (md->config.enable_atomic_offset) {
return md->flush_rkey >> 8;
}
return 0;
Copy link
Contributor

Choose a reason for hiding this comment

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

seems it breaks remote flush functionality UCT_FLUSH_FLAG_REMOTE (e.g. see uct_dc_mlx5_flush_remote_rkey)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in this PR it's not a problem since param is on by default, but in future if we make it off or auto will need to handle this

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, but this PR introduces new env var, tweaking which may result in a failure.
Maybe just temprorarily disable the tests instead?

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.

3 participants