Requirements for Windows iSCSI Configuration
Windows iSCSI configuration requirements are split into two types. These requirements are needed on both staging and target servers.
- iSCSI configuration required for operational stability.
- iSCSI configuration specific for performance improvement.
iSCSI Configuration Required for Operational Stability
A Windows Server reboot is required after changing iSCSI configuration parameters.
Registry Key | Registry Value | Type | Data |
---|---|---|---|
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\iSCSI\Discovery | MaxRequestHoldTime | REG_DWORD | 0x384 (900) |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Disk | TimeOutValue | REG_DWORD | 0x384 (900) |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Interface GUID> | TcpAckFrequency | REG_DWORD | 0x1 (1) |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters | iSCSIDisableNagle | REG_DWORD | 0x1 (1) |
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\Parameters | MaxRequestHoldTime | REG_DWORD | 0x12C (300) |
For systems running Windows 2003 see Microsoft Knowledge base article 815230 for hotfix information regarding changing TcpAckFrequency.
iSCSI Configuration Specific for Performance Improvement
For targets running Windows Server, the iSCSI initiator driver timers are available at: HKLM\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number>\<Parameters>
. For details about configuring registry settings, see How to Modify the Windows Registry on the Microsoft Support site.
Registry Value | Type | Default | Recommended | Comments |
---|---|---|---|---|
MaxTransferLength | REG_DWORD | 262144 | 131072 | This controls the maximum data size of an I/O request. A value of 128K is optimal for the Delphix Engine, because it reduces segmentation of the packets as they go through the stack. |
| REG_DWORD | 262144 | 131072 | This is the negotiated maximum burst length. 128K is the optimal size for the Delphix Engine. |
| REG_DWORD | 255 | 512 | This setting controls the maximum number of outstanding requests that the initiator allows. The Delphix Engine will this many requests at most to the target before receiving response for any of the requests. |
MaxRecvDataSegmentLength | REG_DWORD | 65536 | 131072 | This is the negotiated MaxRecvDataSegmentLength. |
Identifying the Instance Number for iSCSI Control Class Initiator Drivers
- From Windows toolbar, click Start and select Run from the menu.
- Type regedit in the Open field and click OK.
Go to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4D36E97B-E325-11CE-BFC1-08002BE10318}\<Instance Number> where the value of <Instance Number> is the one that shows a DriverDesc value of Microsoft iSCSI Initiator. Under the registry key, locate and expand the plus (+) sign next to instance number. In this example below the value of instance number is 0002.
Value of Instance Number