This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| vmware_nmp_iops [2015/05/25 12:20] – herwarth | vmware_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. | ||
| + | |||
| + | | ||
| < | < | ||
| pool: sata-disk | pool: sata-disk | ||
| Line 32: | Line 36: | ||
| errors: No known data errors | errors: No known data errors | ||
| </ | </ | ||
| + | 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 | ||
| + | < | ||
| + | iqn.1998-01.com.vmware: | ||
| + | UID: iqn.1998-01.com.vmware: | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | LUN: 1 | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | </ | ||
| + | esxcli storage nmp psp roundrobin deviceconfig get -d t10.FreeBSD_iSCSI_Disk______001517bc5bf6001_________________ | ||
| + | < | ||
| + | Byte Limit: 10485760 | ||
| + | | ||
| + | | ||
| + | Limit Type: Default | ||
| + | Use Active Unoptimized Paths: false | ||
| + | </ | ||
| + | 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 " | ||
| + | |||
| + | =====Results===== | ||
| + | Default 1000 IOPS: | ||
| + | {{ : | ||
| + | 100 IOPS: | ||
| + | {{ : | ||
| + | 10 IOPS: | ||
| + | {{ : | ||
| + | 1 IOPS: | ||
| + | {{ : | ||
| + | Network usage graphs from FreeNAS: | ||
| + | |||
| + | storage path1 (iscsi1 VLAN) | ||
| + | {{ : | ||
| + | storage path2 (iscsi2 VLAN) | ||
| + | {{ : | ||
| + | |||
| + | =====Results jumbo frames===== | ||
| + | |||
| + | {{: | ||
| + | |||
| + | =====Conclusion==== | ||
| + | The 1 IOPS setting is the best in my configuration. | ||
| {{tag> | {{tag> | ||