summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGuixin Liu <kanie@linux.alibaba.com>2024-10-08 12:37:08 +0300
committerKeith Busch <kbusch@kernel.org>2024-10-08 23:45:36 +0300
commit40f0e5dc2f3c866bef3fccf398114b90c6136dfa (patch)
tree422ab00cf943191315afabc5e32fe590b4ade1c2 /rust/helpers/helpers.c
parent782373ba27660ba7d330208cf5509ece6feb4545 (diff)
downloadlinux-40f0e5dc2f3c866bef3fccf398114b90c6136dfa.tar.xz
nvmet-rdma: use sbitmap to replace rsp free list
We can use sbitmap to manage all the nvmet_rdma_rsp instead of using free lists and spinlock, and we can use an additional tag to determine whether the nvmet_rdma_rsp is extra allocated. In addition, performance has improved: 1. testing environment is local rxe rdma devie and mem-based backstore device. 2. fio command, test the average 5 times: fio -filename=/dev/nvme0n1 --ioengine=libaio -direct=1 -size=1G -name=1 -thread -runtime=60 -time_based -rw=read -numjobs=16 -iodepth=128 -bs=4k -group_reporting 3. Before: 241k IOPS, After: 256k IOPS, an increase of about 5%. Signed-off-by: Guixin Liu <kanie@linux.alibaba.com> Reviewed-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions