]> git.openfabrics.org - ~ardavis/dapl.git/commit
mpxyd: scale-up with MPI dapl:dapl hits low mem issue with 1 byte traffic patterns
authorArlin Davis <arlin.r.davis@intel.com>
Thu, 22 May 2014 16:30:59 +0000 (09:30 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Thu, 22 May 2014 16:30:59 +0000 (09:30 -0700)
commit616d3b5e5480dfabfb0ec5ebec5672517dc04450
tree7c22a8b79eef00b4072603a77efb2877b60aa5a0
parenta396523e1651fae6271b6d6af252550f401cd909
mpxyd: scale-up with MPI dapl:dapl hits low mem issue with 1 byte traffic patterns

PI and PO buffer management use last byte offset of work requests
and assume non-zero value. However, in the case where a 1 byte
rdma occurs at offset 0 will result in m_idx being set to zero
as a valid offset and the buffer never being marked complete.

Clean-up buffer management, add error reporting on setting,
serialization on PO by setting in post_send op thread, setting
start location at cacheline when buffer ring wraps instead of 0.

Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/svc/mix.c
dapl/svc/mpxy_in.c
dapl/svc/mpxy_out.c
dapl/svc/mpxyd.c