perftest
perftest copied to clipboard
Fix insufficient polling in bidirectional test
When run with multiple QPs, the CQ isn't guaranteed to be emptied due to insufficient number of entries passed to ibv_poll_cq(). This could lead to ibv_get_cq_event() to never return.
Fixes #137
Thank you for your pull request. Could you please tell me the scenario that will reproduce this issue ( preferred with command) and what is the OS and rdma device that you are using?
Sure :)
Command:
ib_send_bw -b -e -q 16
OS: Ubuntu 18.04.5 LTS Kernel 5.9.7 (839e9e06c834ab488744eaa91f092c8b1ea0a139)
RNIC: Mellanox ConnectX-5
rdma-core: v33.1 (2504c0bab0a807455bfd0e7f516c86a07656e934)
perftest: v5.96 (ea61f3fe32a4c1d59907c4686edbd98a9757212f)
When we can expect to merge this branch into main ? its literally blocker for our tests
Hi @mateuszmoga @amitgeron , Thanks for your contribution! Please resolve the conflicts and the changes will be merged. Would appreciate if you describe the issue more in the commit message
This didn't fix the issue for us and in addition there is a similar case in unidirectional BW test. Submitted another PR that is fixing both https://github.com/linux-rdma/perftest/pull/203.
Hi @mateuszmoga @amitgeron , did the fix that @mrgolin provided solved the Issue? can we close this PR?
Hi @mateuszmoga @amitgeron , did the fix that @mrgolin provided solved the Issue? can we close this PR?
Didn't test but looks fine