Slow file write from Windows 2000 or Windows Server 2003 to Windows NT 4.0 Server (279282)
The information in this article applies to:
- Microsoft Windows Server 2003, Standard Edition
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
- Microsoft Windows NT Server 4.0
This article was previously published under Q279282 Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: 256986 Description of the Microsoft Windows Registry SYMPTOMS
The file-copy write process from a Microsoft Windows 2000 Professional-based computer or a Microsoft Windows Server 2003-based computer to a Microsoft Windows NT 4.0 Server-based computer may take up to four times longer than reading the same files from Windows NT Server.
CAUSE
The workstation redirector in Windows 2000 and Windows Server 2003 does not support RAW SMB mode. Instead, Windows 2000 and Windows Server 2003 use Large File (CAP_LARGE_FILE) support, which is just as fast. However, not all earlier operating systems implement Large File support. For example, Windows NT 4.0 has Large File Read support, but not Large File Write support.
RESOLUTIONWarning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.
To work around this performance issue, make the following registry change on the Windows NT 4.0-based server:
- Start Registry Editor (Regedt32.exe).
- Locate and click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
- On the Edit menu, click Add Value, and then add the following registry value:
Value Name: SizReqBuf
Data Type: DWORD Value
Radix: Decimal
Value: 65535
- Quit Registry Editor.
- Restart the server.
After you make this change, the performance of the write process is approximately the same as a read operation between the two computers.
Note that the SizReqBuf value controls the buffer size for CORE SMB requests. Setting it to 64 KB has approximately the same effect as Large Write support, which uses 60-KB buffers. NOTE: This adjustment causes the server services to use more memory.
Modification Type: | Major | Last Reviewed: | 8/30/2004 |
---|
Keywords: | kbenv kbprb KB279282 |
---|
|