Spdk/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 log: remove internal log.h header 2020-10-15 08:23:39 +00:00
ctrlr_discovery.c nvmf: Async event support for discovery log change 2020-11-11 00:53:57 +00:00
ctrlr.c nvmf: suppress error message for invalid nsid 2021-01-06 00:00:54 +00:00
fc_ls.c nvmf/fc: Check if qpair is already disconnecting. 2021-01-05 22:36:46 +00:00
fc.c nvmf/fc: Delete FC LS pending requests. 2021-01-05 22:36:46 +00:00
Makefile nvmf/fc: Use connection list hash table. 2021-01-05 22:36:46 +00:00
nvmf_fc.h nvmf/fc: Add FC LLD specific fc_port. 2021-01-05 22:36:46 +00:00
nvmf_internal.h lib/nvmf: mask pending AENs 2020-12-18 09:48:07 +00:00
nvmf_rpc.c nvmf: make transport service id optional 2020-12-28 14:04:39 +00:00
nvmf.c nvmf: introduce function to init listen opts 2020-12-28 13:37:07 +00:00
rdma.c nvmf: Fix search for request to abort 2020-12-31 08:28:32 +00:00
spdk_nvmf.map nvmf: introduce function to init listen opts 2020-12-28 13:37:07 +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
transport.c nvmf: introduce listener opts 2020-12-28 13:37:07 +00:00
transport.h nvmf: Allow nvmf_transport_qpair_fini to complete asynchronously. 2020-11-18 11:28:02 +00:00