How to Improve Data Transfers over RAS, RRAS, or Slow Links

Last reviewed: December 22, 1997
Article ID: Q151996
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Workstation versions 3.5 and 3.51
  • Microsoft Windows NT Server versions 3.5 and 3.51

SUMMARY

In most instances, data transfer over a Remote Access Service (RAS) connection, or other forms of slow network links, is performed by the Windows NT redirector using core mode, because one of the redirector requirements for raw mode (that the I/O is to take no longer than 5 seconds to complete) is not satisfied. You can change this time limit requirement so that when all other requirements for raw mode are satisfied, data transfer over RAS or other slow links can be performed using raw mode.

MORE INFORMATION

You can configure the Windows NT redirector to accept a longer timeout period by changing the registry value (shown below) so that this requirement for raw mode might be more frequently satisfied when all other requirements are also satisfied. This should result in more frequent raw mode data transfers over RAS and other slow links.

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start Registry Editor (Regedt32.exe).

  2. Go to the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Rdr\Parameters

  3. If this value does not exist, you will need to add it using the following parameters:

          Value name: RawIoTimeLimit
          Data type:  REG_DWORD
          Data range: 0-65535
          Default: 5 (seconds)
    

    NOTE: You must stop and restart the redirector, using the commands net stop rdr and net start rdr from a command prompt to put the new setting into effect.

The above registry value in place at a higher setting does not guarantee that data transfer will always occur using raw mode, because there are other requirements that must also be satisfied for the redirector to use raw mode.

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q152081
   TITLE     : Use of Raw Data Transfer Mode Influenced by Application

The redirector locks the virtual circuit (VC) during raw I/O data transfers; therefore, all other pending I/O for that VC will not complete until after the current raw I/O is completed. In the case of large raw I/O (that is, a large file transfer with the above registry value in place at a higher setting) the result is significant performance degradation for other processes requiring access to the VC being used for the raw mode transfer.


Additional query words: enhanced
Keywords : nthowto ntnetserv NTSrvWkst kbnetwork
Version : WinNT:3.1,3.5,3.51
Platform : winnt
Issue type : kbinfo


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.