Spdk/test/unit/lib/nvmf
Rui Chang 60af3c00d8 nvmf/tcp: optimize nvmf_tcp_req_set_state() to reduce cpu usage
In the stress test of NVMe TCP (ARM platform, 6 nvme disks),
we see nvmf_tcp_req_set_state() takes quite some CPU cycles
(about 2%~3% of the nvmf_tgt process, ranking 6) moving TCP
request structure between different queues. And after some
analyzes, we think these actions can be saved. With this change
we get 1%~1.5% performance gain overall.

Change-Id: Ifd2f5609e4d99cab9fea06e773b461ded6320e93
Signed-off-by: Rui Chang <rui.chang@arm.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5667
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Community-CI: Mellanox Build Bot
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
2021-01-08 09:35:55 +00:00
..
ctrlr_bdev.c test/unit/lib/nvmf: Add unit test stubs 2020-11-19 09:52:39 +00:00
ctrlr_discovery.c nvmf: add notifications about ns to the transport 2020-12-28 13:52:45 +00:00
ctrlr.c lib/nvmf: mask pending AENs 2020-12-18 09:48:07 +00:00
fc_ls.c nvmf/fc: Use connection list hash table. 2021-01-05 22:36:46 +00:00
fc.c nvmf/fc: Add FC LLD specific fc_port. 2021-01-05 22:36:46 +00:00
rdma.c test/unit/lib/nvmf: Add unit test stubs 2020-11-19 09:52:39 +00:00
subsystem.c nvmf: add notifications about ns to the transport 2020-12-28 13:52:45 +00:00
tcp.c nvmf/tcp: optimize nvmf_tcp_req_set_state() to reduce cpu usage 2021-01-08 09:35:55 +00:00
Makefile NVMe-oF Target: Add FC transport. 2019-07-26 22:17:17 +00:00