]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
msg/async/rdma: improves RX buffer management
authorAdir Lev <adirl@mellanox.com>
Wed, 3 May 2017 11:17:51 +0000 (11:17 +0000)
committerAlex Mikheev <alexm@mellanox.com>
Sun, 6 Aug 2017 11:21:48 +0000 (11:21 +0000)
commit720d044db13886ac9926d689e970381cdf78f8eb
tree3be0747ec1b24028e954db5a310d0deadaaffc7d
parentf1b1e94494c4afb17003c88094f17ba2d63ccc6f
msg/async/rdma: improves RX buffer management

The commit adds following changes:
- rx buffers are allocated from the memory pool (boost::pool)
- flat memory layout for buffer data/metadata to reduce cpu cache misses
- number of receive buffers can be much larger than receive queue len
- post new buffers to the srq as soon as possible.
- stat counters

Signed-off-by: Alex Mikheev <alexm@mellanox.com>
src/common/legacy_config_opts.h
src/common/options.cc
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h
src/msg/async/rdma/RDMAConnectedSocketImpl.cc
src/msg/async/rdma/RDMAStack.cc
src/msg/async/rdma/RDMAStack.h