Performance Tuning Guidelines for Windows Server 2008 R2 October 15, 2010 Abstract


General Tuning Parameters for Client Computers



Download 0.49 Mb.
Page12/24
Date31.01.2017
Size0.49 Mb.
#13945
1   ...   8   9   10   11   12   13   14   15   ...   24

General Tuning Parameters for Client Computers


The following registry-tuning parameters can affect the performance of client computers that interact with SMB or NFS file servers:

DisableBandwidthThrottling

HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters


\(REG_DWORD)
Windows Vista and Windows 7 clients only.

The default is 0. By default, the SMB redirector throttles throughput across high-latency network connections in some cases to avoid network-related timeouts. Setting this registry value to 1 disables this throttling, enabling higher file transfer throughput over high-latency network connections.



DisableLargeMtu

HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters


\(REG_DWORD)
Windows Vista and Windows 7 clients only.

The default is 1. By default, the SMB redirector does not transfer payloads larger than approximately 64 KB per request. Setting this registry value to 0 enables larger request sizes, which can improve file transfer speed.



  • EnableWsd

HKLM\System\CurrentControlSet\Services\Tcpip\Parameters\(REG_DWORD)
Windows Vista and Windows 7 clients only.

The default is 1 for client operating systems. By default, Windows Scaling Diagnostics (WSD) automatically disables TCP receive window autotuning when heuristics suspect a network switch component might not support the required TCP option (scaling). Setting this registry setting to 0 disables this heuristic and allows autotuning to stay enabled. When no faulty networking devices are involved, applying the setting can enable more reliable high-throughput networking via TCP receive window autotuning. For more information about disabling this setting, see “Resources” later in this guide.



RequireSecuritySignature

HKLM\system\CurrentControlSet\Services\LanmanWorkstation\Parameters


\(REG_DWORD)
Windows Vista and Windows 7 clients only.

The default is 0. Changing this value to 1 prevents SMB communication with machines where SMB signing is disabled. In addition, a value of 1 causes SMB signing to be used for all SMB communication. SMB signing can increase CPU cost and network round trips. If SMB signing is not required, ensure that this registry value is 0 on all clients and servers.



  • FileInfoCacheEntriesMax

HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters

\(REG_DWORD)


Windows Vista and Windows 7 clients only.

The default is 64 with a valid range of 1 to 65536. This value is used to determine the amount of file metadata that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of files are accessed.



  • DirectoryCacheEntriesMax

HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters

\(REG_DWORD)


Windows Vista and Windows 7 clients only.

The default is 16 with a valid range of 1 to 4096. This value is used to determine the amount of directory information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when large directories are accessed.



  • FileNotFoundCacheEntriesMax

HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters

\(REG_DWORD)


Windows Vista and Windows 7 clients only.

The default is 128 with a valid range of 1 to 65536. This value is used to determine the amount of file name information that can be cached by the client. Increasing the value can reduce network traffic and increase performance when a large number of file names are accessed.



  • MaxCmds

HKLM\System\CurrentControlSet\Services\LanmanWorkstation\Parameters

\(REG_DWORD)


Windows Vista and Windows 7 clients only.

The default is 15. This parameter limits the number of outstanding requests on a session. Increasing the value can use more memory, but can improve performance by enabling deeper request pipelining. Increasing the value in conjunction with MaxMpxCt can also eliminate errors encountered due to large numbers of outstanding long-term file requests, such as FindFirstChangeNotification calls. This parameter does not affect connections with SMB 2 servers.



DormantFileLimit

HKLM\system\CurrentControlSet\Services\LanmanWorkstation

\Parameters\(REG_DWORD)
Windows XP client computers only. By default, this registry key is not created.

This parameter specifies the maximum number of files that should be left open on a share after the application has closed the file.



ScavengerTimeLimit

HKLM\system\CurrentControlSet\Services\LanmanWorkstation

\Parameters\(REG_DWORD)
Windows XP client computers only.

This is the number of seconds that the redirector waits before it starts scavenging dormant file handles (cached file handles that are currently not used by any application).



DisableByteRangeLockingOnReadOnlyFiles

HKLM\System\CurrentControlSet\Services\LanmanWorkstation

\Parameters\(REG_DWORD)
Windows XP client computers only.

Some distributed applications that lock parts of a read-only file as synchronization across clients require that file-handle caching and collapsing behavior be off for all read-only files. This parameter can be set if such applications will not be run on the system and collapsing behavior can be enabled on the client computer.


File Client Tuning Example


The following settings for parameters previously described in the “General Tuning Parameters for Client Computers” section can optimize a machine for accessing remote file shares in many cases, particularly over some high-latency networks. The settings are not optimal or appropriate on all machines. You should evaluate the impact of individual settings before applying them.

Parameter

Value

DisableBandwidthThrottling

1

EnableWsd

0

RequireSecuritySignature

0

FileInfoCacheEntriesMax

32768

DirectoryCacheEntriesMax

4096

FileNotFoundCacheEntriesMax

32768

MaxCmds

32768

DormantFileLimit [Windows XP only]

32768

ScavengerTimeLimit [Windows XP only]

60

DisableByteRangeLockingOnReadOnlyFiles [Windows XP only]

1





Download 0.49 Mb.

Share with your friends:
1   ...   8   9   10   11   12   13   14   15   ...   24




The database is protected by copyright ©ininet.org 2024
send message

    Main page