Content-Type: multipart/mixed; boundary="===============3692648927773656038==" MIME-Version: 1.0 From: vishwasdanivas at gmail.com Subject: [SPDK] SPDK initiator NVME/TCP read performance on Null device target is low compared to write perf. Date: Fri, 05 Nov 2021 06:22:48 +0000 Message-ID: <20211105062248.2830.62379@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============3692648927773656038== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hello, I am trying to run NVME/TCP perf experiments with spdk initiator and target= similar to the setup mentioned in the below NVME/TCP SPDK perf document. https://ci.spdk.io/download/performance-reports/SPDK_tcp_perf_report_2101.p= df I am running my SPDK initiator and target on two different machines with th= e details at the end of mail. I am running SPDK initiator scaling experiment as mentioned in the document= to measure SPDK initiator performance. IO size is 4K. I have matched all the configs mentioned in the above document for tuning T= CP and enabling zero copy on target and all fio configs mentioned in the do= cument for initiator and target. Only variation is I am using Null dev inst= ead of real SSDs for running the tests. I am able to see peak write performance close to 3M IOPS as shown in the do= cument for the initiator with FIO. However for read performance I am getting capped at around 1.5 M IOPS and n= ot able to scale beyond that even after playing around with different value= s for number of cores/num-jobs , iodepth, number of tcp connections to tar= get/subqn-cnodes etc. From initial debugging using perf tool, looks like there are lot of L2/L3 c= ache misses (thrashing) for FIO read test when compared to FIO write. Not e= ntirely sure if this could be the only reason for the degraded read perform= ance. I was wondering if SPDK read path is touching more data per IOP and hence t= he increased load on cache and higher latencies, is leading to this? Can you please throw more light on this? = Also any tunings to help reach higher numbers similar to the perf mentioned= in the document for read NVME/TCP FIO initiator test? Initiator machine details. Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 72 On-line CPU(s) list: 0-71 Thread(s) per core: 2 Core(s) per socket: 18 Socket(s): 2 NUMA node(s): 2 Vendor ID: GenuineIntel CPU family: 6 Model: 85 Model name: Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz Stepping: 4 CPU MHz: 1000.740 CPU max MHz: 3700.0000 CPU min MHz: 1000.0000 BogoMIPS: 4600.00 Virtualization: VT-x L1d cache: 32K L1i cache: 32K L2 cache: 1024K L3 cache: 25344K NUMA node0 CPU(s): 0-17,36-53 NUMA node1 CPU(s): 18-35,54-71 Thanks, Vishwas --===============3692648927773656038==--