numam-spdk/lib/nvmf
Or Gerlitz 6629202cbd nvmf/tcp: Use the success optimization by default
By now (5.1 is released), the Linux kernel initiator supports the
success optimization and further, the version that doesn't support
it (5.0) was EOL-ed. As such, lets open it up @ spdk by default.

Doing so provides a notable performance improvement: running perf with
iodepth of 64, randread, two threads and block size of 512 bytes for 60s
("-q 64 -w randread -o 512 -c 0x5000 -t 60") over the VMA socket acceleration
library and null backing store, we got 730K IOPS with the success
optimization vs 550K without it.

IOPS           MiB/s    Average       min      max
549274.10     268.20     232.99      93.23 3256354.96
728117.57     355.53     175.76      85.93   14632.16

To allow for interop with older kernel initiators, we added
a config knob under which the success optimization can be
enabled or disabled.

Change-Id: Ia4c79f607f82c3563523ae3e07a67eac95b56dbb
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/457644
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
2019-06-26 06:24:03 +00:00
..
ctrlr_bdev.c nvmf: add ptpl activated flag to Namespace 2019-06-26 01:54:10 +00:00
ctrlr_discovery.c nvmf: Only present subsystem if it is ready 2019-01-07 06:02:26 +00:00
ctrlr.c nvmf: add ptpl activated flag to Namespace 2019-06-26 01:54:10 +00:00
Makefile nvmf: Collapse request.c into ctrlr.c 2019-02-04 18:11:33 +00:00
nvmf_fc.h lib/nvmf: fix a typo error 2018-10-12 17:40:16 +00:00
nvmf_internal.h nvmf: add ptpl activated flag to Namespace 2019-06-26 01:54:10 +00:00
nvmf.c nvmf: complete all I/Os before changing sgroup to PAUSED 2019-06-11 01:51:56 +00:00
rdma.c rdma: assert ibv_send_wr is not NULL 2019-06-25 13:37:15 +00:00
subsystem.c nvmf: add ptpl activated flag to Namespace 2019-06-26 01:54:10 +00:00
tcp.c nvmf/tcp: Use the success optimization by default 2019-06-26 06:24:03 +00:00
transport.c nvmf: remove unnecessary size checks when creating transport 2019-05-02 14:44:57 +00:00
transport.h nvmf: Remove qpair_is_idle 2019-03-15 19:19:17 +00:00