Optimizing the File Systems on Win98 and WinME

[ Home ] [ Site Map ] [ Site Search ] [ Back to last page ]


This white paper discusses how to optimize file system performance.  What it does, the possible impact of doing so, and how to change it.  And since we're here, we'll also check a few other settings as well.


This page also applies to WinME as well.  The only difference is that on the hard disk tab there is another setting called System Restore disk space use.  This setting is simply to tell Windows the maximum disk space that can be used by the System Restore utility.

What does it do?

From the Windows 98 Resource Kit:

To optimize file system performance

  1. In Control Panel, double-click System, click the Performance tab, and then click File System.

  2. In the Typical role of this computer box, select the most common role for this computer, and then click OK. Table 26.3 describes each role in the list.

Table 26.3 Computer role descriptions

Role

Description


Desktop computer

A normal computer acting primarily as a network client, or an individual computer with no networking. This configuration assumes that there is more than the minimum required RAM, and that the computer is running on power (rather than battery).

Mobile or docking system

Any computer with limited memory. This configuration assumes that RAM is limited and that the computer is running on battery, so the disk cache should be flushed frequently.

Network server

A computer used primarily as a peer server for file or printer sharing. This configuration assumes that the computer has adequate RAM and frequent disk activity, so the system is optimized for a high amount of disk access.


Each disk performance profile adjusts the values of the following file system settings in the registry:

The values to be assigned to each disk performance profile are stored in the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\
CurrentVersion\FS Templates

The following subkey contains the actual settings for the profile currently used:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\
Control\FileSystem

Optimizing CD-ROM File System Performance

The CD-ROM cache is separate from the cache used for disk file and network access because the performance characteristics of the CD-ROM are different. This cache can be paged to disk (the file and network cache cannot), reducing the working set for Windows 98 but still allowing for better CD-ROM performance. When Windows 98 is retrieving data from a compact disc, it is still faster to read a record from the cache even if it has been paged to disk, because the disk-access time is much faster than the compact disc–access time.

Tip

A small CD-ROM cache makes a big difference in streaming performance, but a much larger cache does not pay off as significantly, unless the cache is large enough to contain entire multimedia streams.

To set the supplemental cache size for CDFS

  1. In Control Panel, double-click System, click the Performance tab, and then click File System.

  2. Click the CD-ROM tab, and drag the slider to set the Supplemental cache size.

    Move the Supplemental Cache Size slider to the right to allocate more RAM for caching data from the CD-ROM drive or to the left to allocate less RAM for caching data.

    Note

    Many multimedia programs perform better with a smaller cache, because they tend not to reuse data.

  3. In the Optimize access pattern for box, select a setting based on your computer’s CD-ROM drive speed. Table 26.4 shows the size of the cache created for each CD-ROM drive speed setting.

    Table 26.4 Optimizing cache size

CD-ROM drive speed

Cache size


No read-ahead

1088 KB

Single-speed drives

1088 KB

Double-speed drives

1138 KB

Triple-speed drives

1188 KB

Quad-speed or higher

1238 KB


  1. Click OK, and then shut down and restart the computer.

Optimizing DVD File System Performance

Digital video discs (DVDs) primarily use the Universal Disk Format (UDF) for their file systems. UDF uses the main file system cache (VCACHE), and there are no performance settings for end users to change.

Optimizing Removable Disk Drive Performance

Windows 98 gives you the option to use write-behind caching to improve the performance of removable disk drives, such as the ZIP or JAZ drive.

To set write-behind caching for removable disk drives

  1. In Control Panel, double-click System, click the Performance tab, click File System, and then click the Removable Disk tab.

  2. Select the Enable write-behind caching on all removable disk drives check box. Click OK.

  3. If this causes a problem with disk operations, follow step 1, and then click to clear the Enable write-behind caching on all removable disk drives check box. Click OK.


Now in plain text:

Windows 98 uses a small amount of ram (system memory) to remember some recently used file names and their paths.  This increases the performance of the file system by reading the name and path of a recently used file rather than reading this information from the hard drive.  Since ram is so much faster than any hard drive, and it takes less CPU time to read from ram than from the hard drive, you will gain a small performance increase whenever Windows needs to re-read a file.

By increasing the amount of ram reserved for this, you increase the chance that a file will already have it's name and path in the system cache.  As you can see from above, the amount of ram being reserved is small.


What's the down side?

According to Microsoft, if you have less than 32 megs of ram, you could actually degrade file system performance.  To my knowledge this is the only possible risk.  Since most 'puters today have quite a bit more ram in them I feel that this tweak is an absolute must to do.


How do I change it?

Go to start | settings | control panel | then double-click on the System icon | then click on the Performance tab.

Notice all the info you see here?

FYI...If you do not see the statement, Your system is configured for optimal performance.  You have other problems!

To continue, click on the button labeled File System.


It's not too hard...

Here I want you to choose Network server, even if it isn't one.  This gives the best performance as long as you have over 32 megs of ram.

Then, move the slider next to Read-ahead optimization: all the way to the right.


Why? Do you get a new floppy each time you start your 'puter?

Since we're in the neighborhood, we might as well tweak a few more settings.

Uncheck the box next to Search for a new floppy disk drives each....This will slightly decrease the time it takes for Win98 to start.

Note: If you have a laptop with a remove-able floppy leave this checked.


Almost done...

Move the slider next to Supplemental cache size: all the way to the right to increase CD-ROM performance.

Note: If you have under 32 megs of ram you should leave it by Small.  Also, some game makers say that you'll get better performance with it set to Small.

In the drop-down box always choose Quad-speed or higher.


It feels faster...

Check the box next to Enable write-behind caching on all removable disk drives.  This will increase the perceived performance.  I like it.

Notice the troubleshooting tab?  Don't touch it!


Just say yes!

Are all programs closed?  Files saved?  Then say yes.


That wasn't too painful, was it?  Again, by itself you might not even notice a performance increase.  But when added to the other tweaks you do, you will notice a difference!

 


[ Home ] [ Site Map ] [ Site Search ] [ Back to last page ]

Last Revised: 10/20/2000