User Tools

Site Tools


vmware_nmp_iops

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
vmware_nmp_iops [2015/05/25 12:20] herwarthvmware_nmp_iops [2016/12/31 16:20] (current) herwarth
Line 5: Line 5:
 So I have done some measurements. So I have done some measurements.
  
-iSCSI FreeNAS 9.3 zpool status:+=====iSCSI setup===== 
 +iSCSI FreeNAS 9.3. 4 disks in striped mirror. logging and caching on SSD mirror. 
 + 
 +  zpool status 
 <code> <code>
   pool: sata-disk   pool: sata-disk
Line 32: Line 36:
 errors: No known data errors errors: No known data errors
 </code> </code>
 +The storage box is connected with 2x 1Gb ethernet to the switch. Each network connection sits in a VLAN.
 +
 +=====VMware setup=====
 +The hypervisor is connected with 2x 1Gb ethernet to the switch. Multipathing is done using 2 VMkernel adapters connected to a VLAN and specifically bound to a physical NIC.
 +
 +Get the available UIDs
 +  esxcli storage core path list
 +<code>
 +iqn.1998-01.com.vmware:supermicro1-1c5f6261-00023d000008,iqn.2011-03.nl.helux.istgt:target1,t,2-t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________
 +   UID: iqn.1998-01.com.vmware:supermicro1-1c5f6261-00023d000008,iqn.2011-03.nl.helux.istgt:target1,t,2-t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________
 +   Runtime Name: vmhba38:C3:T0:L1
 +   Device: t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________
 +   Device Display Name: FreeBSD iSCSI Disk (t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________)
 +   Adapter: vmhba38
 +   Channel: 3
 +   Target: 0
 +   LUN: 1
 +   Plugin: NMP
 +   State: active
 +   Transport: iscsi
 +   Adapter Identifier: iqn.1998-01.com.vmware:supermicro1-1c5f6261
 +   Target Identifier: 00023d000008,iqn.2011-03.nl.helux.istgt:target1,t,2
 +   Adapter Transport Details: iqn.1998-01.com.vmware:supermicro1-1c5f6261
 +   Target Transport Details: IQN=iqn.2011-03.nl.helux.istgt:target1 Alias= Session=00023d000008 PortalTag=2
 +   Maximum IO Size: 131072
 +</code>
 +  esxcli storage nmp psp roundrobin deviceconfig get -d t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________
 +<code>
 +   Byte Limit: 10485760
 +   Device: t10.FreeBSD_iSCSI_Disk______001517bc5bf6003_________________
 +   IOOperation Limit: 1000
 +   Limit Type: Default
 +   Use Active Unoptimized Paths: false
 +</code>
 +Set the new IOPS value using the following command:
 +  esxcli storage nmp psp roundrobin deviceconfig set -d t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________ -t iops -I 1
 +In this case it is value 1. I have bench-marked 4 values (1000 (default), 100, 10 and 1)
 +
 +=====SATP rule====
 +To make it last a reboot:
 +  esxcli storage nmp satp rule add -s "VMW_SATP_ALUA" -P "VMW_PSP_RR" -O iops=1 -c "tpgs_on" -M "iSCSI Disk" -e "FreeNAS iSCSI custom SATP Claimrule"
 +
 +=====Results=====
 +Default 1000 IOPS:
 +{{ :nmp_1000iops.png |}}
 +100 IOPS:
 +{{ :nmp_100iops.png |}}
 +10 IOPS:
 +{{ :nmp_10iops.png |}}
 +1 IOPS:
 +{{ :nmp_1iops.png |}}
 +Network usage graphs from FreeNAS:
 +
 +storage path1 (iscsi1 VLAN)
 +{{ :storage_iscsi1.png |}}
 +storage path2 (iscsi2 VLAN)
 +{{ :storage_iscsi2.png |}}
 +
 +=====Results jumbo frames=====
 +
 +{{:screenshot_from_2015-05-28_15-11-17.png|}}
 +
 +=====Conclusion====
 +The 1 IOPS setting is the best in my configuration.
  
 {{tag>vmware}} {{tag>vmware}}
vmware_nmp_iops.1432556441.txt.gz · Last modified: by herwarth