Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Some programs do not work as expected when large files are opened


View products that this article applies to.

Symptoms

Certain programs such as Microsoft Excel and Microsoft Word do not work as expected when you open medium to large files. A network trace shows that the redirector issues sequential reads that are 4 kilobytes (KB) to 8 KB large. The trace shows a high number of small reads posted by program when the large files are read.

↑ Back to the top


Cause

This problem occurs because the redirector does not use the ReadAhead feature.

↑ Back to the top


Resolution

Windows Server 2003

To resolve this problem, obtain the latest service pack for Windows Server 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
889100 How to obtain the latest service pack for Windows Server 2003
Note If the application reads large files sequentially, you must manually enter 8 as the value for the
ReadAheadGranularity
registry entry. For more information, see the "MORE INFORMATION" section.

Windows XP

Service pack information

To resolve this problem, obtain the latest service pack for Windows XP. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
322389 How to obtain the latest Windows XP service pack

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
    Date         Time   Version            Size    File name
   --------------------------------------------------------------
   24-Jun-2003  18:11  5.1.2600.1239     401,920  Mrxsmb.sys
   24-Jun-2003  18:11  5.1.2600.1239     156,160  Rdbss.sys

   27-Jun-2003  01:17  5.1.2600.1239      92,160  Cscdll.dll       
   27-Jun-2003  01:17  5.1.2600.1239   1,120,256  Ole32.dll        

Windows 2000

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date         Time   Version            Size    File name
   --------------------------------------------------------------
   20-Jun-2003  18:29  5.0.2195.6760     407,792  Mrxsmb.sys
   20-Jun-2003  18:29  5.0.2195.6760     169,520  Rdbss.sys

   20-Jun-2003  18:50  5.0.2195.6760     944,400  Ole32.dll        
   20-Jun-2003  18:50  5.0.2195.6753     432,400  Rpcrt4.dll       
   20-Jun-2003  18:50  5.0.2195.6760     187,664  Rpcss.dll        

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section. This problem was first corrected in Microsoft Windows XP Service Pack 2.

↑ Back to the top


More information

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

The redirector has been enhanced to enable the ReadAhead feature on sequential reads. Therefore, when a program reads 4-KB or 8-KB segments in a sequential manner, the redirector engages the cache manager and prefetches the data to cache by reading a larger set of data.

Also, the following registry entry has been introduced to control the ReadAhead size:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkStation\Parameters


Value name: ReadAheadGranularity
Data type: REG_DWORD
Value data: Number of pages to read ahead. The valid range is 0 to 16. The default setting is 8 pages (32 KB).
The ReadAhead feature is disabled if hotfix 894463 is installed. Therefore, you must manually enter the ReadAheadGranularity registry entry. To do this, following these steps:
  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate and then right-click the following registry subkey:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanWorkStation\Parameters
  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type ReadAheadGranularity, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. Click Decimal, type 8 in the Value data box, and then click OK.
Note There are few scenarios where you may have to modify the
ReadAheadGranularity
registry entry . For example, you may have to change this setting on a lossy WAN link or a heavily loaded Terminal server to a setting of 4 ( this setting equals a 16-KB read size). Typically, when Windows reads large files sequentially, the program performs better if the program posts larger read sizes. For more information about how to obtain a hotfix for Windows 2000 Datacenter Server, click the following article number to view the article in the Microsoft Knowledge Base:
265173 The Datacenter Program and Windows 2000 Datacenter Server Product

↑ Back to the top


Keywords: kbautohotfix, kbhotfixserver, kbwinxpsp2fix, kbwinxppresp2fix, kbwin2000presp5fix, kbqfe, kbbug, kbfix, KB328237

↑ Back to the top

Article Info
Article ID : 328237
Revision : 9
Created on : 2/19/2007
Published on : 2/19/2007
Exists online : False
Views : 509