LAN Tweaking2005-03-15 13:02 by Philip
Tags: Registry, TCP/IP, shares, redirector, buffer, tweak, WAN, LAN
The following tweaks are focused towards increasing local network performance under Windows XP/2k/2k3 Server. They can be used in addition to all the broadband tweaks, if you are on a LAN. All information in this article presumes some proficiency in editing the Windows Registry. Even though we extensively test all our tweaking recommendations, use of the below information is at your own risk.
Disable Network Task Scheduler
This tweak disables searching networked computers for scheduled tasks. It reduces the long wait when opening network folders. To apply this tweak, find the following key:
Note: You might want to export the key before deleting, then to revert the changes, simply merge your exported reg file.
Increase Request Buffer Size
In higher latency Network environments, delays may be encountered with the default request buffer size (4356 decimal). The range of this parameter is 1024 - 65535 bytes. Testing has shown that, in most standard Ethernet environments, 16384 (decimal) is a better choice, if memory is available. This tweak only applies to LANs, and helps with slow browsing of large directories.
To change this setting, edit:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters and Add Value name SizReqBuf as a type REG_DWORD, increase its (decimal) value to 16384 or even higher and restart the computer for changes to take effect.
Here is the MS KB Article 320829 that describes the procedure as well.
Increase Network Redirector Buffers
If you increase the number of network redirector buffers it may considerably increase your network throughput. Each extra execution thread that you configure will take 1K of additional nonpaged pool memory, but only if your applications actually use them.
To configure additional buffers and threads, edit: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkstation\Parameters Modify or Add Value of type REG_DWORD for:
MaxCmds=dword:00000064 - range is 0 - 255 and the default value is 15. Set to a higher number, try 64 for starters.
MaxCollectionCount in the same key is a DWORD buffer for character-mode named pipes writes. You might want to increase it from te default 16 as well, its' range is 0 - 65535.
No shares in my My Network Places
By default, Windows 2k/XP/2k3 tries to read icon information from shortcuts in the "My Network Places" folder, accessing remote files on the network, and causing a very slow system response. Every time you open a file in a remote shared folder, or a file via a UNC name, Windows will automatically add another shortcut to "My Netowork Places", making the problem worse with time. To resolve this:
Depending on your OS, it might also be possible to modify this by accessing the Group Policy Object Editor. To use this method to achieve the same effect: