ofiwg / libfabric

Open Fabric Interfaces
http://libfabric.org/
Other
555 stars 376 forks source link

fabtests/pytest/efa: Skip memory registration that hit device limit #10402

Closed shijin-aws closed 1 week ago

shijin-aws commented 2 weeks ago

The EFA limit for single MR that enables remote write is 1M pages aka 4GB for regular pages. Currently test_unexpected_msg can hit this limit for certain msg_size & msg_count combo. This patch skips such combos that can hit the limit to avoid errors.