home *** CD-ROM | disk | FTP | other *** search
- Vcache Operations
-
- Command Line Format
-
- The command line format for Vcache varies with the type
- of memory you want to use for your cache:
-
- cache [size] [options] for standard memory
-
- cache-at [size] [start] [options] for extended memory
-
- cache-em [size] [options] for expanded memory
-
- Brackets [ ] denote optional parameters and should not
- be entered on the command line.
-
- [size] specifies the cache memory size in Kbytes. If you
- do not specify a size, Vcache will automatically assign a
- default cache size as follows:
-
- cache - 128 Kb of standard memory will be reserved
- for use by other programs, and all remaining memory
- assigned to the cache.
-
- cache-at - Vcache will attempt to reserve any ex-
- tended memory used by DOS VDISK and assign all
- remaining extended memory to the cache.
-
- cache-em - all free expanded memory will be as-
- signed to the cache.
-
- [start] specifies the extended memory starting address
- in Kb for cache-at. If you do not specify a starting ad-
- dress, the cache will begin at the bottom of extended
- memory (1024Kb).
-
- 4-1 Vcache Operations
- If you are sharing the use of extended memory among
- several programs, you must explicitly assign non-overlap-
- ping blocks of extended memory to each program using
- location and size specifications.
-
- [options] are specified by a "/" followed by a letter. More
- than one option may be specified on a command line.
-
- options c through 0
-
- The option letters c through 0 are used to specify drives
- that require the use of a device driver (such as removable
- media drives or hard disks using non-standard partition-
- ing schemes). To instruct Vcache to support a specific
- drive, add the drive's DOS drive letter to the start-up com-
- mand. You may include up to 12 drive letters, provided
- that no more than 4 different device drivers are required.
-
- Use these options only if you are sure that your disk sub-
- system does not utilize standard BIOS calls and requires
- a device driver. For example, if you have a standard XT
- with a bootable hard disk and have added a non-bootable
- Bernoulli Box, then the command line might look like:
-
- cache /d/e
-
- options c* through 0*
-
- The options /c* through /0* instruct Vcache not to cache
- specific drives. For example, if you did not want to cache
- drive "D" you could enter the command line:
-
- cache /d*
-
- Vcache Operations 4-2
- option B = n
-
- This option specifies the LookAhead buffer size where n
- is any number from 0 to 32 Kb. If you do not include this
- option, a default size of 4Kb for PC-AT's or 2Kb for PC-
- XT's will be used.
-
- LookAhead is utilized during sequential disk access to im-
- prove system performance. Vcache continually monitors
- your disk activity and turns LookAhead on and off ac-
- cording to the type of reads being done. If you are per-
- forming sequential reads, Vcache will read large blocks of
- sectors into the LookAhead buffer. This saves time by
- anticipating future reads and "combining them with reads
- that have already been requested. If you are doing ran-
- dom reads, however, Vcache will automatically turn off
- LookAhead in order to avoid spending time reading data
- that won't be used.
-
- The LookAhead buffer is also used for deferred writes, as
- discussed below. If you specify B = 0, both LookAhead
- and the deferred write capability will be disabled.
-
- For example, for a LookAhead buffer size of 8 Kb you
- would enter:
-
- Cache-at /B = 8
-
- option T=n
-
- This option specifies a maximum delay value for disk
- writes. The delay value "n" may be O, 1, or 2 seconds. If
- you do not include this option, a delay value of 1 second
- will be used.
-
- 4-3 Vcache Operations
- If a non-zero delay value is specified, Vcache will defer
- single sector writes up to 1 or 2 seconds. This achieves
- substantial time savings by avoiding multiple updates of
- the same sector and by combining multiple small write
- commands into one larger write command.
-
- The LookAhead buffer (see above) is used when perform-
- ing deferred writes. The larger the buffer is, the more data
- Vcache can write per disk access, and the faster your
- system runs. You must have a LookAhead buffer to take
- advantage of deferred writes; if you specify B=0 the
- deferred write feature is disabled.
-
- If Vcache is unable to find a safe time-slot to complete the
- deferred writes, you will hear a snooze alarm sound every
- five seconds until the deferred writes have been com-
- pleted.
-
- If you reboot, Vcache will normally intercept the Ctl-Alt-
- Del keystroke and complete any deferred writes before
- continuing the boot sequence.
-
- option q
-
- This option terminates Vcache operation and releases al-
- located memory.
-
- option r
-
- This option instructs Vcache to discard the cache con-
- tents whenever a DOS Disk Reset function call is
- detected. This may be useful when changing removable
- media cartridges. Do not use this option with the Ber-
- noulli Box, as the normal device driver handles media
- changes properly.
-
- Vcache Operations 4-4
- option s
-
- This option enables AUTOCAD compatibility for Cache-
- AT. Ordinarily AUTOCAD will use all of the extended
- memory and overwrite your cached data. If you use this
- option, then only that extended memory below the cache
- area will be made available for use by other programs.
-
- option u
-
- This option accommodates certain disk partitioning
- schemes for disks larger than 33 megabytes which do not
- handle the disk BIOS interrupt correctly. This option is
- not required for normal MS-DOS partitioning or for Vfea-
- ture disk partitioning. When this option is used, only the
- first 256 Mbytes of each physical disk is cached.
-
- option v
-
- This option disables normal INT 19 capture. This may
- solve problems with rare and unusual programs that use
- INT 19 in a non-standard manner.
-
- option w
-
- This option may be required for correct operation of
- Vcache on "clone" PC-AT's which do not follow standard
- conventions for returning from 80286 protected mode. lt
- may also be required when using some extended
- memory expansion boards at speeds above 8 megahertz.
- If your computer stops when the cache is started, try
- using this option.
-
- 4-5 Vcache Operations
- option x
-
- Vcache normally performs a memory diagnostic before it
- begins caching the hard disk. When this option is used,
- the diagnostic step is skipped.
-
- option z
-
- This option disables the snooze-alarm sound when run-
- ning with deferred writes enabled.
-
- Displaying Status
-
- Vcache status may be displayed at any time after start-up
- by re-executing the cache program (cache, cache-at, or
- cache-em). Example:
-
- Disk Usage Statistics: Error Statistics:
- Kind Requested Actual % 0 Cache Memory Errors
- Reads 5933 551 9 0 Disk Transfer Errors
- Writes 480 237 49 0 Errors Ignored by User
-
-
-
- Disk usage statistics indicate the number of disk read and
- write requests, the actual number of disk reads and writes
- performed, and the percentage ratio of actual to re-
- quested reads and writes.
-
- Error statistics include the number of cache memory er-
- rors, disk transfer errors, and cache I/0 errors ignored by
- the user. These numbers include the number of retries re-
- quired to achieve an error-free transfer. Disk errors are
- associated with your disk subsystem. Memory errors are
- associated with your extended or expanded memory sub-
- system.
-
- Vcache Operations 4-6
- If the message cache@e inactive appears above the status
- display, a serious problem exists. This message will be
- followed by an error code; error 99 indicates that some
- other program is storing data in the cache tables; any
- other error number indicates a failure in your expanded
- memory subsystem.
-
- Quitting Vcache
-
- If you wish to terminate Vcache operation and release the
- cache memory, re-execute the cache command (cache,
- cache-at, or cache-em) using the q option.
-
- If another resident program has been started following
- Vcache start-up, Vcache may not be able to release
- standard memory, including the memory used for the
- cache program itself,. If this occurs, a diagnostic mes-
- sage will be displayed; in this case, quit the offending
- resident program and then quit Vcache again.
-
- 4-7 Vcache Operations