home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / pc / diskutil / discache.lzh / DISCACHE.DOC next >
Encoding:
Text File  |  1987-01-12  |  11.0 KB  |  456 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.                          *** DISCACHE  V0.01 ***
  27.  
  28.  
  29.  
  30.                     Hard-disk System Speed-up Utility
  31.  
  32.  
  33.                          For the IBM/PC family and
  34.                                Compatibles
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. (C) Copywrite 1986, WEG Systems.
  64.  
  65.                                 1
  66.  
  67.  
  68.                          DISCACHE.DOC   Version: 0.01
  69.  
  70.  
  71.                           NO WARRANTIES OR GUARANTEES
  72.                            ARE EXPRESSED OR IMPLIED
  73.                          WITH THE USE OF THIS PROGRAM
  74.                             IN ANY ONE ENVIRONMENT
  75.  
  76.      (Any deviation from the instructions supplied below could produce unknown
  77. and possibly undesired results).
  78.  
  79.  
  80. Discache works by keeping commonly accessed disk data in memory so that
  81. when such data is read it is copied from memory rather than read from disk.
  82. Three types of memory are supported by DISCACHE:
  83.  
  84. 1. Conventional memory (i.e. PC memory within the normal 640k limit)
  85.  
  86. 2. Extended memory (i.e. AT memory accessed via the standard BIOS INT 15
  87. interface).
  88.  
  89. 3. Expanded memory (i.e. memory accessed via an interface compatible with
  90. the Lotus/Intel EMS).
  91.  
  92.  
  93.                     Contents of the DISCACHE Program Disk
  94.                     -----------------------------------
  95.  
  96. This disk contains two files:
  97.  
  98. DISCACHE.EXE  is the disk caching program itself
  99.  
  100. DISCACHE.DOC  is a text file containing these instructions.
  101.  
  102. Before going any further, you should make a back up copy of the contents of
  103. this disk. You should then use the back up copy for the installation
  104. procedure (described below).
  105.  
  106.  
  107.                          Installing DISCACHE
  108.                          -------------------
  109.  
  110. This section describes how to install DISCACHE on a PC.
  111. This involves two steps:
  112.  
  113.  
  114.                Step 1: Copy DISCACHE.EXE onto the System Disk
  115.                --------------------------------------------
  116.  
  117. You should first copy the file DISCACHE.EXE onto the System Disk used to
  118. boot the PC (or, if on a network server, and the server boots off drive C,
  119. copy the file onto that drive). To do this, you can use the DOS command
  120. COPY or the facilities provided within your  network.
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128. (C) Copywrite 1986, WEG Systems
  129.  
  130.                                 2
  131.  
  132.                     Step 2: Specifying DISCACHE parameters
  133.                     ------------------------------------
  134.  
  135. You should then edit the AUTOEXEC.BAT file on the System Disk, adding a new
  136. line which loads DISCACHE.EXE and which specifies particular caching
  137. parameters.
  138.  
  139. DISCACHE can take six optional parameters in the command line. These
  140. parameters are described below, together with the syntax you should use.
  141.  
  142. /M:<mem-size> allocates the specified number of Kbytes of conventional
  143. memory for caching. If using in a network environment you should remember
  144. to leave enough memory to load the  network software itself.
  145.  
  146. /E:<mem-size> allocates the specified number of Kbytes of extended memory
  147. for caching.
  148.  
  149. /X:<mem-size> allocates the specified number of Kbytes of expanded memory
  150. for caching.
  151.  
  152. /H:<table-size> sets the number of hash table entries to the table-size. If
  153. this option is not specified, a suitable default value is calculated.
  154.  
  155. /P:<prefetch-size> sets the data prefetch size (in bytes). If you do not
  156. specify a prefetch size, a default value of 2048 bytes is used. The
  157. maximum value you can specify is 16384 bytes.
  158.  
  159. /D:<disk-drive> caches disk accesses to the disk-drive. More than one disk
  160. may be cached by repeating this option.
  161.  
  162. An example of an AUTOEXEC.BAT file which includes the DISCACHE command line
  163. is given below:
  164.  
  165. PATH C:\DOS;C:\
  166. PROMPT $P$G
  167. CLOCK.CMD
  168. DISCACHE/M:64/D:C
  169. CLS
  170. MENU1
  171.  
  172. Configured this way, DISCACHE will allocate 64 Kbytes of conventional
  173. memory for caching on drive C.
  174. Other examples follow:
  175.  
  176. DISCACHE/M:36/X:2048/D:D
  177.           (allows for 36K of conventional memory and 2MB of expanded memory
  178.           for caching drive D:)
  179.  
  180. DISCACHE/X:2048/P:4096/D:C/D:D
  181.           (sets up 2MB expanded memory for caching of drives C: & D: using a
  182.           prefetch size of 4096K bytes verses the default 2048)
  183.  
  184. DISCACHE/X:2048/E:1024/P:4096/D:C/D:D
  185.           (sets up 2MB of expanded memory and 1MB of extended memory for
  186.            caching of drives C: & D: using a prefetch size of 4096K bytes)
  187.  
  188. DISCACHE/E:1024/P:4096/D:C/D:D
  189.           (sets up 1MB of extended memory for caching of drives C: & D: using
  190.           a prefetch size of 4096K bytes)
  191.  
  192.  
  193.                                            (C) Copywrite 1986, WEG Systems
  194.  
  195.                                 3
  196.  
  197.                               Error Messages:
  198.                               --------------
  199.  
  200. This section gives a list of error messages relating to DISCACHE, together
  201. with guidelines on dealing with them.
  202.  
  203.  
  204. No cache memory allocated
  205.  
  206. DISCACHE has not been able to allocate any memory for caching. Check your
  207. system memory configuration settings.
  208.  
  209.  
  210. Insufficient table space - caching not enabled
  211.  
  212. There is not enough space in conventional memory to hold the tables
  213. required by DISCACHE. The table space used increases in proportion to the
  214. amount of memory allocated to caching, so if this error occurs, the amount
  215. of memory allocated to caching must be reduced.
  216.  
  217. Alternatively, you can increase the prefetch size, as this will cause a
  218. proportional reduction in the table space required.
  219.  
  220.  
  221. Invalid disk specified - caching not enabled
  222.  
  223. ** Only a hard disk accessible through the standard BIOS interface is
  224. supported by DISCACHE. ** This error message is displayed if any other
  225. type of disk is specified.  Do not specify RAM-disks, or floppy disks.
  226.  
  227.  
  228. Invalid command line - caching not enabled
  229.  
  230. An illegal option has been specified in the DISCACHE command line. Refer to
  231. the command line options section for details of valid options.
  232.  
  233.  
  234. Insufficient conventional memory - <n> Kbytes allocated
  235.  
  236. The amount of conventional memory specified in the command line is more
  237. than there is available. DISCACHE has allocated the maximum amount
  238. available.
  239.  
  240.  
  241. Insufficient extended memory - <n> Kbytes allocated
  242.  
  243. The amount of extended memory specified in the command line is more than
  244. there is available. DISCACHE has allocated the maximum amount available.
  245.  
  246.  
  247. Insufficient expanded memory - <n> Kbytes allocated
  248.  
  249. The amount of expanded memory specified in the command line is more than
  250. there is available. DISCACHE has allocated the maximum amount available.
  251.  
  252.  
  253. No extended memory available
  254.  
  255. Extended memory has been specified in the command line, but none is
  256. available.
  257.  
  258. (C) Copywrite 1986, WEG Systems
  259.  
  260.                                 4
  261.  
  262. No expanded memory available
  263.  
  264. Expanded memory has been specified in the command line, but none is
  265. available.
  266.  
  267.  
  268. Error while accessing expanded memory
  269.  
  270. DISCACHE has detected a fault while accessing the expanded memory. The most
  271. likely cause of this error is a fault in the expanded memory hardware.
  272.  
  273.  
  274. Error reading drive <disk drive> - caching not enabled
  275.  
  276. DISCACHE has detected a fault while reading the specified disk drive.
  277.  
  278.  
  279. Invalid prefetch size for drive <disk drive> - caching not enabled
  280.  
  281. The prefetch size is not compatible with the disk drive specified. The
  282. prefetch size must be an exact multiple of the sector size of the disk.
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323. (C) Copywrite 1986, WEG Systems
  324.  
  325.                                 5
  326.  
  327.                               Tips and Such:
  328.                               -------------
  329.  
  330. The following tips will help you get the maximum performance from DISCACHE:
  331.  
  332. * Choose the right application - DISCACHE will slightly degrade disk write-
  333. accesses and therefore any disk which is used predominantly for writing
  334. data may not benefit from disk caching. However in most applications, disk
  335. read activity predominates, and these will perform better with disk
  336. caching. DISCACHE is particularly effective with multi-user database
  337. applications.
  338.  
  339. * The more memory made available for caching, the more likely it is that
  340. data will be retained in memory. Any mix of the three supported types of
  341. memory may be used, so any spare conventional memory should be allocated
  342. for caching.
  343.  
  344. * A slight performance improvement may be obtained by increasing the size
  345. of the hash table, using the /H: switch. Each hash table entry requires
  346. two bytes of conventional memory. The default setting is the total size of
  347. cache memory (in bytes) divided by twice the prefetch size.
  348.  
  349. * Performance may be improved by experimenting with the prefetch size. The
  350. optimal value in most cases will be the cluster size of a disk (ie 2048
  351. bytes for an AT and 4096 bytes for an XT). However, doubling these values
  352. could improve performance under certain circumstances.
  353.  
  354. * To get maximum performance from a file server, it is recommended that you
  355. should not run any other server or user tasks on that machine.
  356.  
  357. *  File server performance may be improved by increasing the number of
  358. internal DOS buffers. To do this, you specify a BUFFERS= command in the
  359. CONFIG.SYS file. The default value is 3. We suggest that you increase this
  360. to a maximum of 20. Each additional buffer uses 512 bytes of memory.
  361.  
  362. * It is recommended that DISCACHE using extended memory not be used on PCs
  363. acting as gateway servers.
  364.  
  365. * DISCACHE will support hard disks that go beyond the 33MB DOS barrier.
  366.   However, because most of these hard disks use a DEVICE DRIVER to make all
  367.   of the extra space accessable by DOS, DO NOT try to use DISCACHE with any
  368.   device driver that splits the larger disk into two or more logical disks.
  369.   If you do us it in this type of configuration (i.e. a 60MB disk divided
  370.   logicaly into two drives C: & D:) DISCACHE will support the first disk C:
  371.   but it will not recognize the second one D:.  This is due to the calls for
  372.   D: not being routed through the standard BIOS INT 15 that DISCACHE
  373.   requires.  If your device driver will let you support the ENTIRE disk as
  374.   one unit, DISCACHE will support that disk.
  375.  
  376. ** For further information, or if you believe you are having a problem, our
  377. support line can help you 24hrs daily, 7-days weekly.  The support line is
  378. operated via the WAFRUG_BBS located in Northern Virginia at: (703)-425-
  379. 0695.  (300/1200 baud) Using a computer and a modem you can obtain
  380. information or help by calling into our BBS.  If the SYSOP is not there to
  381. help you immediately simply leave a message with phone number in the message
  382. area shown as: WEG Systems Mail Support Area  and we will get back to you
  383. promptly.                        -OR-
  384.  
  385.                WRITE TO:     WEG Systems
  386.                              P.O. Box 5072
  387.                          Springfield, VA 22150
  388.                      Attn: Eunhee S. Hunter, Pres.
  389.  
  390.                                 6
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.  
  404.  
  405.  
  406.  
  407.  
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.  
  455.                                 7
  456.