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

[v1.22.x] fabtests/pytest/efa: Skip memory registration that hit device limit #10404

Merged
merged 1 commit into from
Sep 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions fabtests/pytest/efa/test_unexpected_msg.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ def test_unexpected_msg(cmdline_args, msg_size, msg_count, memory_type, completi
neuron_maximal_buffer_size = 2**32
if "neuron" in memory_type and allocated_memory >= neuron_maximal_buffer_size:
pytest.skip("Cannot hit neuron allocation limit")

# The EFA limit for single MR that enables remote write is 1M pages aka 4GB for regular pages
maximal_mr_size = 2**32
if allocated_memory >= maximal_mr_size:
pytest.skip("Cannot hit EFA MR limit")

efa_run_client_server_test(cmdline_args, f"fi_unexpected_msg -e rdm -M {msg_count}", iteration_type="short",
completion_semantic=completion_semantic, memory_type=memory_type,
message_size=msg_size, completion_type="queue", timeout=1800)
Loading