
SMARTDRV.DOC File
(C) Copyright Microsoft Corporation, 1992
================================< Contents >=================================
This file has 2 parts:
Part Contents
---- --------
1 Using the SMARTDRV.EXE Disk-Caching Program
2 Additional Notes
=============< Part 1: Using the SMARTDRV.EXE Disk-Caching Program >=========
Microsoft Macro Assembler includes SMARTDRV.EXE version 4.0, a
sophisticated block-oriented disk-caching program that significantly
improves assembly and link times. SMARTDRV.EXE is not required by MASM,
but it can reduce the amount of time your computer spends reading data
from your hard disk. SMARTDRV.EXE replaces the older version,
SMARTDRV.SYS, and is compatible with all versions of Windows 3.x.
SMARTDRV.EXE sets aside some expanded or extended memory as a cache for
its own use. SMARTDRV.EXE uses this disk cache to store the information
read from the hard disk when an application needs information from your
hard disk. When an application attempts to read additional information
from the hard disk, the SMARTDRV.EXE program supplies the information
directly from its cache instead. If you are using RAMDRIVE.SYS to create
one or more RAM drives, and are limiting the memory assigned to
SMARTDRV.EXE as a result, you can increase system speed by reassigning
some or all of the memory away from the RAM drive and adding it to the
memory available to SMARTDRV.EXE.
SMARTDRV.EXE automatically loads itself into HMA under MS-DOS 5.0 if
EMM386.EXE is loaded and upper-memory blocks are available as a result of
a DOS=UMB or DOS=UMB,HIGH command in your CONFIG.SYS file. SMARTDRV.EXE
can also be loaded into HMA with third-party memory managers such as
386-Max.
SMARTDRV.EXE must be specified in both your AUTOEXEC.BAT file and
CONFIG.SYS file because there are actually two device drivers in a single
file: a double-buffer driver and a disk cache. The double-buffer driver is
installed in CONFIG.SYS, and the cache component of SMARTDRV.EXE is
installed in AUTOEXEC.BAT. Some disk controllers do not need double
buffering; using this option when you do not need it results in a small
performance penalty. Therefore, once your system is running with
SMARTDRV.EXE, type:
SMARTDRV
at the command-line prompt. SMARTDRV.EXE displays disk-cache status
information about your system that looks like this:
Microsoft SMARTDrive Disk Cache version 4.0
Copyright 1991,1992 Microsoft Corp.
Cache size: 1,048,576 bytes
Cache size while running Windows: 1,048,576 bytes