[ofa-general] [PATCH] ib_send_bw -b can hang due to too few CQ entries
Jason Gunthorpe
jgunthorpe at obsidianresearch.com
Thu Aug 6 14:19:29 PDT 2009
On Thu, Aug 06, 2009 at 12:48:10PM -0700, Ralph Campbell wrote:
> When ib_send_bw is run in bi-directional mode (-b), it doesn't
> create enough completion queue entries for both the send *and*
> the receive completions. Thus, CQ entries are lost due to the
> queue being full and the test can hang.
Is this on IB? I thought the required behavior on CQ exhaustion was
for the sendq to halt and incoming recvs to return RNR (same as recvq
exhaustion) - it shouldn't just hang, and CQ entries should never be
lost.
Clearly the patch is right, but the consequences you describe seem
wrong..
Jason
More information about the general
mailing list