This procedure provides a solution for Internet Small Computer Systems Interface (iSCSI) host performance problems while connected to a Lenovo Storage V7000 system and its connectivity to the network switch.
The primary signature of this issue: read performance is significantly lower than write performance. Transmission Control Protocol (TCP) delayed acknowledgment is a technique that is used by some implementations of the TCP in an effort to improve network performance. However, in this scenario where the number of outstanding I/O is 1, the technique can significantly reduce I/O performance.
In essence, several ACK responses can be combined together into a single response, reducing protocol overhead. As described in RFC 1122, a host can delay sending an ACK response by up to 500 ms. Additionally, with a stream of full-sized incoming segments, ACK responses must be sent for every second segment.
Jumbo frames are Ethernet frames with a size in excess of 1500 bytes. The maximum transmission unit (MTU) parameter is used to measure the size of jumbo frames.
The Lenovo Storage V7000 supports 9000-bytes MTU. Refer to the CLI command cfgportip to enable jumbo frame. This command is disruptive as the link flips and the I/O operation through that port pauses.
ping -t <iscsi target ip> -S <iscsi initiator ip> -f -l <new mtu size - packet overhead (usually 36, might differ)>
ping -t -S 192.168.1.117 192.168.1.217 -f -l 8964The following output is an example of a successful reply:
192.168.1.217: bytes=8964 time=1ms TTL=52
ping -l <source iscsi initatior ip> -s <new mtu size> -M do <iscsi target ip>
ping <iscsi target ip> -I <source iscsi initiator ip> -s <new mtu size - 28> -d
Review network architecture to avoid any bottlenecks and oversubscription. The network needs to be balanced to avoid any packet drop; packet drop significantly reduces storage performance. Involve networking support to fix any such issues.
Node 1
Port 1: 192.168.1.11
Port 2: 192.168.2.21
Port 3: 192.168.3.31
Node 2:
Port 1: 192.168.1.12
Port 2: 192.168.2.22
Port 3: 192.168.3.33
You do not need to enable PFC on the Lenovo Storage V7000 system. Lenovo Storage V7000 reads the data center bridging exchange (DCBx) packet and enables PFC for iSCSI automatically if it is enabled on the switch. In the lsportip command output, the fields lossless_iscsi and lossless_iscsi6 show [on/off] depending on whether PFC is enabled or not for iSCSI on the system.
If the VLAN is properly set, and the host flag is also set, but the lossless_iscsi or lossless_iscsi6 field is still showing off, some switch settings might be missing or incorrect.
Verify the following settings in the switch:
You can divide the bandwidth among the various types of traffic. It is important to assign proper bandwidth for good performance. To assign bandwidth for iSCSI traffic, you need to first enable the priority flow control for iSCSI.