Whamcloud - gitweb
LU-16078 o2iblnd: Salt comp_vector 48/48148/2
authorIan Ziemba <ian.ziemba@hpe.com>
Thu, 23 Jun 2022 21:30:37 +0000 (16:30 -0500)
committerOleg Drokin <green@whamcloud.com>
Fri, 19 Aug 2022 04:33:12 +0000 (04:33 +0000)
commit1ef1fa06b20c424f56ed535231bc0452b32a5609
tree140a60745cdcf1ec3675dd6d58fd77dd76a39810
parent0109cee2610b8dfeaaca25c3eb1e805e033c593d
LU-16078 o2iblnd: Salt comp_vector

If conns_per_peer is greater than 1, all the connections targeting
the same peer are assigned the same comp_vector. This results in
multiple IB CQs targeting the same peer to be serialized on a single
comp_vector.

Help spread out the IB CQ work to multiple cores by salting
comp_vector based on number of connections.

1 client to 1 server LST 1M write results with 4 conns_per_peer and
RXE configured to spread out work based on comp_vector.

Before: 1377.92 MB/s
After: 3828.48 MB/s

Test-Parameters: trivial
HPE-bug-id: LUS-11043
Change-Id: I4e3e2056947ee54d6d65f17e238163c9dc38cd61
Signed-off-by: Ian Ziemba <ian.ziemba@hpe.com>
Reviewed-on: https://review.whamcloud.com/48148
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lnet/klnds/o2iblnd/o2iblnd.c
lnet/klnds/o2iblnd/o2iblnd.h