diff options
author | Max Gurtovoy <maxg@mellanox.com> | 2017-04-19 11:56:57 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-09 16:18:35 -0600 |
commit | b0012dd397155438c61b0c1b52ceec1f1366b3cc (patch) | |
tree | 4720ca5a6fee9682b80dc72cbcd415cc1637584f /sound/synth | |
parent | 03f8cebc127fa285874074ec314b76b1333f6c43 (diff) | |
download | linux-b0012dd397155438c61b0c1b52ceec1f1366b3cc.tar.gz linux-b0012dd397155438c61b0c1b52ceec1f1366b3cc.tar.bz2 linux-b0012dd397155438c61b0c1b52ceec1f1366b3cc.zip |
nvmet-rdma: use SRQ per completion vector
In order to save resource allocation and utilize the completion
locality in a better way (compared to SRQ per device that exist today),
allocate Shared Receive Queues (SRQs) per completion vector. Associate
each created QP/CQ with an appropriate SRQ according to the queue index.
This association will reduce the lock contention in the fast path
(compared to SRQ per device solution) and increase the locality in
memory buffers. Add new module parameter for SRQ size to adjust it
according to the expected load. User should make sure the size is >= 256
to avoid lack of resources. Also reduce the debug level of "last WQE
reached" event that is raised when a QP is using SRQ during destruction
process to relief the log.
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions