Block Writes Across Net May Cause Performance Hit

Last reviewed: September 7, 1996
Article ID: Q152348
The information in this article applies to:
  • Microsoft Windows NT Server versions 3.5 and 3.51

SYMPTOMS

When you are performing RAW mode writes using the redirector, you may incur a performance hit from disk reads.

CAUSE

When the redirector sends a large block size across the net, it must divide the blocks into chunks less than 64K to fit into a server message block (SMB) packet. The redirector takes the size of the block and divides it by the maximum data size (less than 64K) and uses this size to send the blocks across the net. This result in an odd size being written to the disk on the server side.

When the server receives the block to write (for example, 30K) it must then write this information on page boundaries. On i386 and MIPS this is 4K, on the DEC Alpha this is 8K. In the process of writing this data, it will be forced to write information that is only part of a 4K or 8K page. In this case is must read the portion of the page that has not changed, thus causing the writes.

STATUS

Microsoft has confirmed this to be a problem in Windows NT version 3.51. This problem was corrected in the latest Windows NT 3.51 U.S. Service Pack. For information on obtaining the Service Pack, query on the following word in the Microsoft Knowledge Base (without the spaces):

   S E R V P A C K


KBCategory: kbnetwork
KBSubcategory: ntprotocol NTSrv
Additional reference words: 3.50 3.51 prodnt slow


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: September 7, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.