home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 31 / CDASC_31_1996_juillet_aout.iso / vrac / cdqck130.zip / CDQUICK.TXT < prev    next >
Text File  |  1995-03-28  |  65KB  |  1,303 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.                                   C D - Q U I C K
  19.                                      C a c h e
  20.  
  21.                                     Version 1.30
  22.  
  23.  
  24.  
  25.  
  26.                               Program Reference Manual
  27.  
  28.  
  29.                         Copyright (c) 1994-96 by Peter Volpa
  30.                                 All Rights Reserved
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.                                     _______
  45.                                ____|__     |                (R)
  46.                             --|       |    |-------------------
  47.                               |   ____|__  |  Association of
  48.                               |  |       |_|  Shareware
  49.                               |__|   o   |    Professionals
  50.                             -----|   |   |---------------------
  51.                                  |___|___|    MEMBER
  52.  
  53.  
  54.  
  55.                                     Peter Volpa
  56.                                   Circuit Systems
  57.                                   418 Church Road
  58.                           Sicklerville, NJ 08081-1727  USA
  59.  
  60.  
  61.  
  62.  
  63.  
  64.                                  TABLE OF CONTENTS
  65.  
  66.  
  67.  
  68.  
  69.         Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . .  1
  70.              Features . . . . . . . . . . . . . . . . . . . . . . . . . .  2
  71.              System Requirements  . . . . . . . . . . . . . . . . . . . .  2
  72.  
  73.         License . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  3
  74.  
  75.         Ordering Information  . . . . . . . . . . . . . . . . . . . . . .  4
  76.              Registering CD-QUICK Cache by Credit Card  . . . . . . . . .  4
  77.              Registering via CompuServe . . . . . . . . . . . . . . . . .  5
  78.  
  79.         Disclaimer  . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
  80.  
  81.         Trademarks  . . . . . . . . . . . . . . . . . . . . . . . . . . .  5
  82.  
  83.         Measuring Existing CD-ROM Performance . . . . . . . . . . . . . .  6
  84.  
  85.         Installing CD-Quick Cache . . . . . . . . . . . . . . . . . . . .  7
  86.              UnInstalling the Software  . . . . . . . . . . . . . . . . .  7
  87.  
  88.         Choosing a Cache Size . . . . . . . . . . . . . . . . . . . . . .  8
  89.  
  90.         Using Multiple CD-ROM Drives  . . . . . . . . . . . . . . . . . .  8
  91.  
  92.         CD-Quick Command Line Parameters Reference  . . . . . . . . . . .  9
  93.              Memory Usage and CD-Quick  . . . . . . . . . . . . . . . . . 12
  94.  
  95.         CD-ROM Drive Performance Testing  . . . . . . . . . . . . . . . . 13
  96.              Displaying Cache Statistics from DOS . . . . . . . . . . . . 14
  97.              Displaying Cache Statistics from Windows . . . . . . . . . . 14
  98.  
  99.         CD-ROM Drive Mechanics and Why CD-Quick Cache Helps . . . . . . . 15
  100.  
  101.         Revision History  . . . . . . . . . . . . . . . . . . . . . . . . 16
  102.  
  103.         Appendix A - Error Messages . . . . . . . . . . . . . . . . . . . 18
  104.  
  105.         Appendix B - Common Questions and Answers . . . . . . . . . . . . 20
  106.  
  107.         Appendix C - Comparing CD-Quick to Microsoft's SmartDrive 5.0+  . 22
  108.  
  109.         Appendix D - Distribution Points for CD-Quick Cache . . . . . . . 24                                                                            1
  110.  
  111.         Introduction
  112.  
  113.         CD-ROM drives are wonderful pieces of technology.  By using optics
  114.         instead of magnetics, vast amounts of data can be stored in a small
  115.         amount of space on a plastic disc.  But as with most technology,
  116.         there are always design tradeoffs made.  In the case of a data
  117.         storage system, the tradeoff is between the amount of data that can
  118.         be stored and the speed with which you can access that data.  Even
  119.         with quadruple speed CD-ROM drives, the average time it takes to
  120.         reposition a drive's read head to a new location and start reading
  121.         data is at least a couple of HUNDRED milliseconds.  Compare that
  122.         with the under 15 millisecond access times of today's hard drives. 
  123.         Due to the nature of CD-ROM drive mechanics, this situation will not
  124.         be changing any time soon.  In a word, CD-ROM drives are slow.
  125.  
  126.         Data caching has been used for years to speed up the performance of
  127.         magnetic disk drives.  Caching is a memory management technique that
  128.         reads and stores frequently used data in a memory buffer for fast
  129.         access.  With caching, every time you request data from your drive,
  130.         this data is also placed in a memory buffer.  The next time the data
  131.         is needed it can be found in RAM, so actual disk reads are saved.  
  132.         This results in a tremendous increase in performance.  Until re-
  133.         cently, effective CD-ROM caching has been unavailable.
  134.  
  135.  
  136.         Presenting CD-Quick Cache
  137.  
  138.         CD-Quick Cache will dramatically improve the performance of your
  139.         CD-ROM drive.  By storing frequently read data in fast extended
  140.         (XMS) memory, disc reads are almost instantaneous.  CD-Quick uses an
  141.         intelligent caching algorithm and dynamic read-ahead buffering to
  142.         insure top performance.
  143.  
  144.         CD-Quick is compatible with virtually all CD-ROM hardware and
  145.         software.  It will work with CD-ROM applications that require a DOS
  146.         drive letter as well as with software that bypass the Microsoft CD-
  147.         ROM Extensions (MSCDEX.EXE) and access the CD-ROM device driver
  148.         directly.  The software will also work seamlessly with Microsoft
  149.         Windows and will not conflict with any hard disk caching software.
  150.  
  151.         CD-Quick will operate with up to 26 CD-ROM drives (the DOS maximum
  152.         for drive letters).
  153.  
  154.         Included with CD-Quick Cache are two CD-ROM utilities, CDTEST and
  155.         QUICKMON.  CDTEST will evaluate the performance of your CD-ROM
  156.         system by measuring the time it takes to walk through a CD's direc-
  157.         tory structure and read data.  You can run this test with or without
  158.         CD-Quick installed to benchmark your CD-ROM drive's performance.  
  159.         QUICKMON is a Microsoft Windows application that will give you
  160.         statistical information on CD-ROM and CD-Quick Cache reads.  This
  161.         utility will show the total reads requested by your application, how
  162.         many reads CD-Quick has saved and what this percentage was.                                                                            2
  163.  
  164.         CD-Quick loads as a terminate and stay resident program (TSR).  On
  165.         most systems, the program will use only 11K of conventional memory.  
  166.         This is usually comparable to the typical amount of memory used for
  167.         MSCDEX buffers.  With CD-Quick loaded, these buffers can be reduced. 
  168.         The result in most cases, is almost the same amount of memory is
  169.         used with CD-Quick as without it.  Under DOS 5+, CD-Quick may be
  170.         loaded "high".
  171.  
  172.  
  173.          
  174.         Features:
  175.  
  176.  
  177.              *    Will work with any CD-ROM drive.
  178.  
  179.              *    Can use up to 10MB of extended (XMS) memory for a CD-ROM
  180.                   cache.
  181.  
  182.              *    Easily handles multiple CD-ROM drives.
  183.  
  184.              *    Uses only 11K of conventional memory and can be loaded
  185.                   "high".
  186.  
  187.              *    Uses an intelligent caching algorithm to keep the most
  188.                   frequently read data in the cache and a dynamic read-ahead
  189.                   strategy to anticipate and read the data that needs to be
  190.                   read next.
  191.  
  192.  
  193.  
  194.         System Requirements:
  195.  
  196.              *    An IBM or compatible computer with an 80286 or higher
  197.                   processor and a minimum of 384KB extended (XMS) memory.
  198.  
  199.              *    At least one CD-ROM drive.
  200.  
  201.              *    PC or MS-DOS 3.1 or later.
  202.  
  203.              *    Any standard XMS memory manager such as MS-DOS HIMEM.SYS,
  204.                   386MAX by Qualitas or Quarterdeck's QEMM-386.                                                                            3
  205.  
  206.         License
  207.  
  208.         CD-QUICK Cache is distributed as "shareware".  It is NOT public
  209.         domain or free software.
  210.  
  211.         Non-registered users of this software are given the opportunity to
  212.         evaluate the complete CD-QUICK Cache software package for 30 days
  213.         with no obligation.  If, after the evaluation period, you find
  214.         CD-QUICK to be suitable for your needs, you must register your copy
  215.         or discontinue using CD-QUICK.
  216.  
  217.         What we're saying is if you use this program, then you should pay
  218.         for your copy.  That way Circuit Systems will be able to provide
  219.         updates, support, and generally stay in business.
  220.  
  221.         When you register CD-QUICK you will receive a personal KeyCode and
  222.         the latest version of all the software that comprises the CD-Quick
  223.         package.  Your KeyCode will disable the opening shareware screen and
  224.         may be used with all future versions of CD-Quick.  This means once
  225.         you've registered, you're registered for life.  You may use any new
  226.         versions of CD-Quick Cache as they become available free of charge.
  227.  
  228.         Your KeyCode is derived from your name and may not be distributed in
  229.         any manner.  CD-Quick Cache is LICENSED TO THE SINGLE PERSON WHO
  230.         REGISTERED THE PROGRAM.
  231.  
  232.         All users are granted a limited license to copy the UNREGISTERED
  233.         version (this means everything except your KeyCode) of CD-Quick
  234.         Cache for the trial use of others.  Please feel free to give copies
  235.         of CD-Quick to your friends and associates.  That's what shareware
  236.         is about.
  237.  
  238.         This license does NOT include distribution or copying of this
  239.         software:
  240.  
  241.  
  242.              *    In conjunction with any other product or service.
  243.  
  244.              *    In general use within a company or school.
  245.  
  246.              *    For any "disk fee" other than a small (generally $2.00 to
  247.                   $5.00) copying charge.
  248.  
  249.              *    For distribution in any modified form.  The file contain-
  250.                   ing this license information MUST be included along with
  251.                   full documentation and all the files that make up this
  252.                   software package.
  253.  
  254.  
  255.         The data record in the included VENDINFO.DIZ file contains detailed
  256.         license information governing distribution.                                                                            4
  257.  
  258.         Ordering Information
  259.  
  260.         A CD-Quick Cache registration licenses you to use the product on a
  261.         regular basis.  Registration also entitles you to lifetime technical
  262.         support and allows you free use of all future versions of CD-Quick
  263.         Cache.
  264.  
  265.         An individual registration costs $29.  Upon receipt of your paid
  266.         registration form, we will send you the latest registered version of
  267.         CD-Quick Cache with full documentation on the disk.  New Jersey
  268.         residents should include 6% sales tax.
  269.  
  270.         Site licensing is also available.  Prices are based on the estimated
  271.         number of users.  Please write for more information.
  272.  
  273.         A CD-Quick Cache registration form is included in the distribution
  274.         package for your convenience.  You may print an order form when CD-
  275.         Quick loads by answering "Yes" when asked.  You may also print the
  276.         file ORDERFRM.TXT anytime.  Please take time to fill this out and
  277.         return it.  If you would like high-quality software to continue to
  278.         be made available on a try-first basis and for a reasonable cost, it
  279.         is up to YOU to support such programs.
  280.  
  281.         Please send your registration form, suggestions and any
  282.         comments that you might have to:
  283.  
  284.  
  285.                    Peter Volpa         or       For questions only,
  286.                  Circuit Systems                 no orders.  Call
  287.                  418 Church Road                  (609) 875-5433
  288.              Sicklerville, NJ  08081-1727         12 - 8 PM EST
  289.  
  290.  
  291.         Questions may also be sent by Email on CompuServe to 72202,3043 or
  292.         via the Internet at '72202.3043@compuserve.com'.
  293.  
  294.  
  295.         Registering CD-QUICK Cache by Credit Card
  296.  
  297.         We have established a special arrangement with the Public (software)
  298.         Library for those of you who wish to order by credit card.  For
  299.         credit card orders only, you can order from PsL with your Master
  300.         Card, Visa, AmEx or Discover card by calling 800-242-4PsL (from
  301.         overseas: 713-524-6394).  You may also FAX to 713-524-6398 or
  302.         CompuServe to 71355,470 or mail to PsL, P.O. Box 35705, Houston, TX
  303.         77235-5705.  THESE NUMBERS ARE FOR ORDERING ONLY.  Circuit Systems
  304.         can NOT be reached at those numbers.  To contact Circuit Systems for
  305.         information about dealer pricing, volume discounts, site licensing,
  306.         the status of shipment of the product, the latest version number or
  307.         for technical information, please call Circuit Systems at 609-
  308.         875-5433 or write to Circuit Systems, 418 Church Road, Sicklerville
  309.         NJ 08081-1727 USA.  PsL's order number for CD-QUICK is #11726.
  310.  
  311.         PsL's office hours for phone orders are 7AM-6PM CST Monday-Thursday
  312.         and 7AM-12:30PM CST on Fridays.  Please give your name exactly as it
  313.         appears on your card and the billing address for the card.                                                                            5
  314.  
  315.         Registering via CompuServe
  316.  
  317.         If you are a CompuServe member, you can register CD-Quick Cache
  318.         online.  CD-Quick's registration fee will be included in your
  319.         monthly CompuServe bill.  After you logon, just type 'GO SWREG' for
  320.         CompuServe's shareware registration service.  CD-Quick's registra-
  321.         tion number is 4214.
  322.  
  323.  
  324.         DISCLAIMER
  325.  
  326.         ALTHOUGH WE HAVE EXTENSIVELY TESTED CD-QUICK CACHE AND BELIEVE IT
  327.         WILL PERFORM AS DESCRIBED IF USED CORRECTLY, WE SUPPLY THIS PROGRAM
  328.         AS IS.  CIRCUIT SYSTEMS DISCLAIMS ALL WARRANTIES, EXPRESSED OR
  329.         IMPLIED, THAT THIS PROGRAM IS FIT FOR ANY PURPOSE.  CIRCUIT SYSTEMS
  330.         ALSO ASSUMES NO LIABILITY FOR ANY DAMAGES EITHER DIRECT OR CONSE-
  331.         QUENTIAL, WHICH MAY RESULT FROM THE USE OF THIS PROGRAM.
  332.  
  333.  
  334.         Trademarks
  335.  
  336.         MS-DOS is a registered trademark and Windows is a trademark of
  337.         Microsoft Corporation.
  338.  
  339.         386MAX is a registered trademark of Qualitas, Inc.
  340.  
  341.         QEMM-386 is a registered trademark of Quarterdeck Office Systems,
  342.         Inc.
  343.  
  344.         PC-DOS, PC/AT, PC/XT, and PS/2 are registered trademarks of
  345.         IBM Corporation.
  346.  
  347.         Mayo Clinic is a trademark of Mayo Foundation for Medical Education
  348.         and Research.
  349.  
  350.  
  351.         Association of Shareware Professionals
  352.  
  353.         This program is produced by a member of the Association of Shareware
  354.         Professionals (ASP).  ASP wants to make sure that the shareware
  355.         principle works for you. If you are unable to resolve a share-
  356.         ware-related problem with an ASP member by contacting the member
  357.         directly, ASP may be able to help. The ASP Ombudsman can help you
  358.         resolve a dispute or problem with an ASP member, but does not
  359.         provide technical support for members' products.  Please write to
  360.         the ASP Ombudsman at 545 Grover Road, Muskegon MI 49442-9427 or send
  361.         a Compuserve message via CompuServe Mail to ASP Ombudsman
  362.         70007,3536.  The OMB may be contacted by FAX by sending to the ASP
  363.         FAX number: (616) 788-2765.  In communication with the OMB please
  364.         include a telephone number and/or FAX if available.                                                                            6
  365.  
  366.         Before You Begin
  367.  
  368.         The very first thing that you should do before going any further is
  369.         to make a backup copy of your distribution disk.  To do this just
  370.         use the DOS command DISKCOPY.  This will work whether or not you
  371.         have two floppy disk drives.  It also doesn't matter if the diskette
  372.         you want to copy to is formatted or not.  DISKCOPY will format it
  373.         for you.
  374.  
  375.         From the DOS prompt type this:
  376.  
  377.                   DISKCOPY A: A:
  378.  
  379.         You will be asked to "Insert source diskette in drive A:".  This
  380.         should be your original CD-Quick Cache disk.  Continue to follow the
  381.         directions on the screen and you will have your backup copy.
  382.  
  383.  
  384.         Measuring Existing CD-ROM Performance
  385.  
  386.         Before actually installing CD-Quick Cache you may want to use the
  387.         included CDTEST utility to evaluate your CD-ROM drive's performance
  388.         without a cache installed.  To run CDTEST with your backup disk in
  389.         drive A:, just type A:CDTEST.  Since different CD-ROM's contain
  390.         differing file layouts (some have many files in a few subdirectories
  391.         while others have fewer files in many subdirectories) it may be
  392.         helpful to have a few CD-ROM's to test with.
  393.  
  394.         You must have MSCDEX.EXE loaded to run CDTEST (most systems are set
  395.         up to load this automatically).  If you are running Microsoft
  396.         Windows in Enhanced mode you should exit Windows and return to DOS
  397.         for this test.  Window's Enhanced mode multi-tasking prevents
  398.         accurate timing results.
  399.  
  400.         If you have more than one CD-ROM drive, you can select which drive
  401.         to test.  When comparing the performance of one drive to another, be
  402.         sure you test with the same CD-ROM in each drive.
  403.  
  404.         With a CD-ROM in your drive, select the "Walk directories" test. 
  405.         This test will scan the entire CD-ROM searching for the largest
  406.         file.  When it finishes the scan, it reports the time taken.
  407.  
  408.         Next select "Do read test".  This test will read the largest file
  409.         found (must be a least 2MB) first sequentially and then randomly. 
  410.         The test will be repeated three times.  Individual and total times
  411.         will be reported.
  412.  
  413.         You should now print your results to enable you to compare this
  414.         performance to your system's performance with CD-Quick installed.
  415.  
  416.         It's also possible to test your CD-ROM drive's performance without a
  417.         cache even with CD-Quick installed.  Use the '/OFF' option on CD-
  418.         Quick to disable the cache.  You can use the '/ON' option to enable
  419.         it again.                                                                            7
  420.  
  421.         Installing CD-Quick Cache
  422.  
  423.         CD-Quick Cache includes an Install program to make installation very
  424.         easy.  The Install program can be used to install CD-Quick on your
  425.         computer and configure it for caching CD-ROM data.  Install can also
  426.         be used to update a previous CD-Quick configuration.
  427.  
  428.         When you start Install, you will first be asked for the source
  429.         (where the CD-Quick files are now) and destination (where you want
  430.         CD-Quick to be copied to) drives and path.
  431.  
  432.         When this information is provided the Install program will create a
  433.         subdirectory on your hard drive called "\CDQUICK".  The default
  434.         "from" drive is the drive where INSTALL.EXE is located and the
  435.         default "to" drive is drive C:.  These may be changed to any other
  436.         drives or directories as needed.  Install will copy all the needed
  437.         CD-Quick Cache files from your floppy drive to that subdirectory.
  438.  
  439.         Next you will be asked if you want CD-Quick to determine the amount
  440.         of memory to use for data caching or if you would rather assign this
  441.         yourself.
  442.  
  443.         Install will scan your AUTOEXEC.BAT file looking for at least one
  444.         line containing MSCDEX.EXE, the Microsoft CD-ROM Extensions.  If
  445.         found, the command to load CD-Quick will be added to your
  446.         AUTOEXEC.BAT file.  A backup of your unmodified AUTOEXEC.BAT file
  447.         will be saved in the file AUTOEXEC.CDQ.  The number of buffers
  448.         MSCDEX uses will be lowered to 6.
  449.  
  450.         To run the install program, insert your backup copy of CD-Quick
  451.         Cache into your floppy drive and type:
  452.  
  453.                   A:INSTALL
  454.  
  455.         Follow the directions and before you know it, you will have CD-Quick
  456.         Cache installed, speeding up your CD-ROM drive.  If your memory
  457.         manager includes software to optimize upper memory use, you may want
  458.         to rerun it after CD-Quick has been installed.
  459.  
  460.         If you are using the Install program to upgrade your software, an
  461.         option has been added to prompt you for your Name and KeyCode.  Just
  462.         start Install with the '/R' switch.  e.g. INSTALL  /R
  463.  
  464.  
  465.         Running CD-Quick with Microsoft's SmartDrive
  466.  
  467.         CD-Quick Cache will run just fine with SmartDrive.  If you have 
  468.         SmartDrive version 5.0 or later (included with MS-DOS v6.2), you
  469.         need to add the '/U' switch when loading SmartDrive.  This turns off
  470.         SmartDrive's CD-ROM caching.  If you used CD-Quick's Install pro-
  471.         gram, this will be done for you automatically.
  472.  
  473.  
  474.         UnInstalling the Software
  475.  
  476.         If for any reason you want to return your system to the way it was
  477.         before you installed CD-Quick, just use the DOS COPY command to copy
  478.         AUTOEXEC.CDQ to AUTOEXEC.BAT.  Then delete the CD-Quick files.                                                                            8
  479.  
  480.         Choosing a Cache Size
  481.  
  482.         With CD-Quick and its install program it's possible to automatically
  483.         determine a cache size.  The amount of XMS memory allocated for the
  484.         cache depends on the amount of free XMS memory in your system when
  485.         CD-Quick loads.  If you let CD-Quick choose the amount of memory,
  486.         the following guide will be used.
  487.  
  488.         If your system has:      CD-Quick will:
  489.  
  490.              <= 512KB free  -    Use all available XMS memory
  491.              <= 1MB   free  -    Use 512KB for the cache
  492.              <= 4MB   free  -    Use 1MB for the cache
  493.              >  4MB   free  -    Use 2MB for the cache
  494.  
  495.         You may also decide to set the cache size yourself.  In setting a
  496.         cache size, you should realize that larger cache sizes will increase
  497.         performance because more data is available.  With the cache holding
  498.         more data, the chances of finding the data you need increase and the
  499.         much slower reads of your CD-ROM drive are avoided.
  500.  
  501.         You should keep in mind that the amount of memory you allocate to
  502.         CD-Quick must be balanced against the needs of other applications in
  503.         your system.  It's possible to improve the performance of the cache
  504.         but slow down an application that runs faster with more memory.  The
  505.         statistics that CD-Quick provides may be helpful in selecting a
  506.         cache size and optimizing overall performance.
  507.  
  508.         If you have problems running certain applications when CD-Quick is
  509.         loaded and they go away when CD-Quick is not loaded, it's due to the
  510.         way you have your memory apportioned.  The memory you have allocated
  511.         to CD-Quick is no longer available to other application.  You can
  512.         reduce your cache size by setting it manually.  Please see appendix
  513.         B for more information.
  514.  
  515.  
  516.         Using Multiple CD-ROM Drives
  517.  
  518.         There are two methods used to support multiple CD-ROM drives.  The
  519.         first setup uses a single hardware device driver for all CD-ROMs. 
  520.         Each drive is assigned a separate "unit" number.  This scheme is
  521.         almost always used with multiple SCSI CD-ROM drives.  All drives are
  522.         connected to a single SCSI controller and the hardware device driver
  523.         works with this controller.  If you use only one hardware device
  524.         driver, a single loading of CD-Quick will cache all drives.  CD-
  525.         Quick is aware of the separate unit numbers and will behave accord-
  526.         ingly.  The hardware device driver is loaded by a line in your
  527.         CONFIG.SYS file.  Check the instructions that came with your CD-ROM
  528.         drive if you need more information on this.
  529.  
  530.         The second method used with multiple drives, is to load a separate
  531.         hardware device driver for each drive.  This is usually needed when
  532.         each drive uses a proprietary interface and each is from a different
  533.         manufacturer.  For multiple device drivers, CD-Quick must be loaded
  534.         once for each device driver.  If you use the included Install
  535.         program, either case will be handled automatically.                                                                            9
  536.  
  537.         CD-Quick Command Line Parameters Reference
  538.  
  539.         If you don't use the supplied Install program to automatically
  540.         modify your AUTOEXEC.BAT file, and for general reference, we will
  541.         describe how CD-Quick is installed.
  542.  
  543.         As previously mentioned, CD-Quick Cache is a TSR.  Its only require-
  544.         ment is that it must be loaded before MSCDEX.EXE (Microsoft CD-ROM
  545.         Extensions).  When loaded, CD-Quick is positioned between your CD-
  546.         ROM's hardware device driver and MSCDEX.  MSCDEX interacts with CD-
  547.         Quick instead of your device driver.
  548.  
  549.         CD-Quick allows you to set a few parameters when it loads.  The only
  550.         one required in order to load is the name of your CD-ROM hardware
  551.         device driver.  The others are optional.  All parameters may be
  552.         specified in any order.
  553.  
  554.         CD-Quick command line format:
  555.  
  556.          CDQ [/D:<drivername>] [cachesize] [/C] [/F] [/NAME=<username>]
  557.              [/KEY=<code>] [/NOHMA] [/ON] [/OFF] [/HELP] [/?]
  558.  
  559.  
  560.         /D:<drivername>
  561.  
  562.         This parameter tells CD-Quick the name of your CD-ROM's hardware
  563.         device driver and is required for CD-Quick to work.  The hardware
  564.         device driver is loaded by a line in your CONFIG.SYS file.  It will
  565.         look something like:
  566.  
  567.           DEVICE=CDROMDRV.SYS  /D:MSCD001
  568.  
  569.         Since this driver is supplied by the manufacturer of your CD-ROM
  570.         drive, its name will vary.  The thing to look for is the driver name
  571.         parameter used when loading MSCDEX.  The Microsoft CD-ROM Extensions
  572.         require the same parameter in the same form as CD-Quick.  So if you
  573.         have:
  574.  
  575.           MSCDEX  /D:MSCD001
  576.  
  577.         in your AUTOEXEC.BAT file, you know you need the following line
  578.         (before MSCDEX) in order to load CD-Quick:
  579.  
  580.           CDQ  /D:MSCD001
  581.  
  582.  
  583.         Cachesize
  584.  
  585.         This parameter sets the amount of memory allocated to CD-Quick's
  586.         data cache.  It is just the number in "KB" (Kilobytes) that you
  587.         want CD-Quick to use.  If you set Cachesize to zero or omit it, CD-
  588.         Quick will determine its cache size itself based on the amount of
  589.         free XMS memory in your system.  As an example, for a 1024K (1MB
  590.         cache), you would have:
  591.  
  592.           CDQ  1024                                                                           10
  593.  
  594.         /C
  595.  
  596.         If CD-Quick doesn't always recognize disc changes, you should try
  597.         loading it with the '/C' switch.  When this switch is used, CDQ
  598.         will flush its cache whenever your CD-ROM device driver says the
  599.         disc has changed or is not sure.  Older drives will be more likely
  600.         to need this option than will newer drives.  Don't use this option
  601.         unless you need it, as it may slow performance on some systems.
  602.  
  603.  
  604.         /F
  605.  
  606.         After CD-Quick is installed, you can use the '/F' switch to flush 
  607.         the cache for all CD-ROM drives.  Normally CD-Quick will do this 
  608.         automatically when needed.  This option has been added for those
  609.         people who have old CD-ROM drives that may not properly report disc
  610.         changes.  With this "flush" option you can manually clear the cache
  611.         yourself if needed.
  612.  
  613.  
  614.         /NAME=<username>
  615.  
  616.         This parameter is for people who have registered CD-Quick.  When
  617.         you register you will receive a KeyCode that is derived from your
  618.         name.  This parameter is needed so CD-Quick can compare your
  619.         KeyCode to your name.  If they match, the opening shareware screen
  620.         will not be displayed.  Any spaces in your name should be replaced
  621.         by underscores.  Case is not important.
  622.  
  623.  
  624.         /KEY=<keycode>
  625.  
  626.         This is the companion parameter used with "/NAME=" which was just
  627.         described.  Registered users receive a 4 digit hexadecimal number
  628.         to supply as your KeyCode.  For an example, if your name is John
  629.         Smith and your KeyCode is 5A27, you should have:
  630.  
  631.           CDQ  /NAME=JOHN_SMITH  /KEY=5A27
  632.  
  633.  
  634.         /NOHMA
  635.  
  636.         If you are using DOS v5.0+, and you have DOS loaded in the High
  637.         Memory Area (HMA), CD-Quick will attempt to use any free HMA memory
  638.         to store its cache index.  There are a few other programs that can
  639.         also use free memory in the HMA.  This switch allows you to disable
  640.         CD-Quick's use of the HMA and make more of it available to other
  641.         applications.  The cache index will be allocated in conventional
  642.         memory instead.  This option should rarely be needed.
  643.  
  644.  
  645.         /ON
  646.  
  647.         After CD-Quick is installed, it's possible to turn the cache on and
  648.         off.  The default when loaded is on.  If you've previously turned
  649.         it off, this option will re-enable it.                                                                           11
  650.  
  651.         /OFF
  652.  
  653.         As mentioned, it's possible to turn CD-Quick's caching on and off. 
  654.         This switch will disable caching for all CD-ROM drives.
  655.  
  656.  
  657.         /HELP or /?
  658.  
  659.         Gives a brief summary of CD-Quick's command line options.
  660.  
  661.  
  662.         An Example Please
  663.  
  664.         As an example of all of this, let's assume you have in your
  665.         AUTOEXEC.BAT file the line:
  666.  
  667.           MSCDEX  /D:MSCD001
  668.  
  669.         You want to use 2048KB (2MB) of XMS memory for a data cache.  You
  670.         have registered your copy of CD-Quick Cache (thank you!) and your
  671.         name is Jack Sprat.  Your KeyCode is '83C9'.  You would add this
  672.         line to your AUTOEXEC.BAT file before MSCDEX:
  673.  
  674.           CDQ  /D:MSCD001  2048  /NAME=JACK_SPRAT  /KEY=83C9                                                                           12
  675.  
  676.         Memory Usage and CD-Quick
  677.  
  678.         To get the most out of both your computer and CD-Quick, it may be
  679.         helpful to know a little about how CD-Quick uses memory.  CD-Quick
  680.         uses three different blocks of memory when it's loaded.  The first
  681.         block contains the actual program and is 11K in size.  CD-Quick
  682.         discards all of its start up code and data when it goes resident. 
  683.         The 11K remaining is only the code for the cache itself.
  684.  
  685.         The next and probably most obvious block is in extended (XMS)
  686.         memory.  This area is used to store the data from your CD-ROM.
  687.  
  688.         CD-Quick uses a cache index to locate the correct block of XMS
  689.         memory when it's needed.  This index can be located in the High
  690.         Memory Area, Upper Memory Area or in conventional memory.  CD-Quick
  691.         needs approximately 6KB of cache index for each 1MB of XMS cache. 
  692.         This cache index will be allocated in the HMA if DOS is loaded high
  693.         and there is enough room.  If the HMA can't be used, the Upper
  694.         Memory Area is tried next and finally conventional memory.  The HMA
  695.         is the best place for this data.  There is usually about 20KB of
  696.         free memory in this area and very few programs can use it.  It's
  697.         not easy to see the amount of free HMA memory.  DOS v6.2 has a
  698.         barely documented switch on the MEM command to display it however. 
  699.         You can type:
  700.  
  701.              MEM  /a
  702.  
  703.         to list the amount of free memory in the HMA.
  704.  
  705.         If MS-DOS is loaded into the HMA, it will attempt to place its
  706.         buffers in the HMA as well.  Each buffer uses approximately 532
  707.         bytes of memory.  If are using caching software for your hard
  708.         drive, having more than 10 buffers set wastes memory and can
  709.         prevent CD-Quick from using the HMA.  The number of buffers is set
  710.         by the BUFFERS= parameter in your CONFIG.SYS file.  
  711.  
  712.         One of the few applications that will use the HMA is DOS's own 
  713.         DoubleSpace (or DriveSpace) disk compression.  If you use disk
  714.         compression, the HMA is actually a good place for working data. 
  715.         However it will most likely leave insufficient memory in the HMA
  716.         for CD-Quick.  CD-Quick will be forced to use other memory instead. 
  717.         There's not much you can do about this, but it's important to know
  718.         what's going on here.
  719.  
  720.  
  721.         Reducing MSCDEX Buffers With CD-Quick
  722.  
  723.         As mentioned in the Install section, the buffers normally used with
  724.         MSCDEX should be reduced with CD-Quick.  With most CD-ROMs these
  725.         buffers waste memory and do not improve performance.  There are a
  726.         few CDs that benefit from having a few buffers set.  The optimum
  727.         number of buffers to use with CD-Quick is 6.  More than this gives
  728.         no benefit.  You may even want to set this lower.  However, 4 is
  729.         the minimum you can set.  Keep in mind that each MSCDEX buffer uses
  730.         2KB of memory.
  731.  
  732.         INSTALL will make the proper change for you, but if you don't use
  733.         the Install program, add "/M:6" to MSCDEX.                                                                           13
  734.  
  735.         CD-ROM Drive Performance Testing
  736.  
  737.         It's always helpful, when you're doing things to increase the
  738.         performance of your system, to have some way of quantifying this
  739.         improvement.  To make this easier, and to show the effectiveness of
  740.         CD-Quick, we have included a testing utility called CDTEST.
  741.  
  742.         CDTEST will perform two timed tasks on a CD-ROM.  The first test
  743.         will walk the directory structure of your CD-ROM.  By walking the
  744.         directory structure, we mean this test will visit every subdirec-
  745.         tory and look at each file.  As it's doing that, it will search for
  746.         the largest file on your CD-ROM.
  747.  
  748.         CD-ROM's differ in the number of subdirectories and also in the way
  749.         these are laid out.  Some CD-ROM's have very few if any subdirec-
  750.         tories and only a few very large files.  This type of CD won't give
  751.         you very meaningful results for this test.  With so few files and
  752.         directories, it only takes a fraction of a second to read them all.
  753.  
  754.         A CD-ROM that has many subdirectories and files is what you need
  755.         for this test.  If CDTEST finds you have too few directories and
  756.         files, it displays a message warning of this fact.
  757.  
  758.         Since the way CD-ROM's are laid out varies from CD to CD, it's best
  759.         to have a few CD-ROM's to use when testing.  Some CD's will have
  760.         all their subdirectories in the root directory.  Others will have a
  761.         real tree structure with many levels of subdirectories.  With CD-
  762.         Quick loaded, you will notice varying degrees of improvement
  763.         (depending on file layout) when doing a directory walk.
  764.  
  765.         The second test CDTEST can perform is a read test.  The program
  766.         will read the largest file on your CD-ROM (found while doing the
  767.         directory walk).  This file is first read sequentially and then
  768.         randomly.  For the sequential read, 256 blocks are read from the
  769.         beginning of the file.  Each block on a CD-ROM is 2048 bytes (2KB),
  770.         so the test reads 512KB.  A CD-ROM block is the same thing as a
  771.         sector.  CDTEST will display the time it takes to do this read.
  772.  
  773.         Next a random read will read 128 blocks (256KB) from the same file. 
  774.         These blocks will be scattered all over the CD.  Since it's impor-
  775.         tant for the random test to access data that is widely dispersed,
  776.         the file to be read must be at least 2MB in size.  Actually it
  777.         should be as large as possible.  As with the sequential read test,
  778.         the time taken will be reported.
  779.  
  780.         These read tests are repeated for three trials.  Each time the same
  781.         data is read and the time reported.  After the three tests are
  782.         completed, the total time taken is also displayed.
  783.  
  784.         With CD-Quick loaded, you will notice a dramatic difference between
  785.         the first read test and the following tests.  For the first test,
  786.         the CD-ROM must be read directly.  When it's time to read the data
  787.         again, the cache can quickly find the data in memory.  It should be
  788.         noted that since the total amount of data read is 768KB, you must
  789.         have at least that much RAM allocated to the cache for this test. 
  790.         Otherwise the cache will not be large enough to hold all the data
  791.         and your CD-ROM will have to be read directly.  Remember, direct
  792.         reads are slow.  Cache reads are FAST!                                                                           14
  793.  
  794.         Displaying Cache Statistics from DOS
  795.  
  796.         CD-Quick has the ability to display cache statistics.  This is
  797.         another way to get a feel for the improvement CD-Quick provides. 
  798.         Anytime after CD-Quick is loaded, you can type CDQ from the DOS
  799.         prompt to display status information.
  800.  
  801.         Displayed will be:
  802.         Cache size, type and drive, Logical transfers (the total number of
  803.         2048 byte blocks requested), Physical transfers (the total number
  804.         of blocks that had to be read from the CD-ROM), Transfers saved
  805.         (the total number of blocks read from the cache), and Percent saved
  806.         (the percent of cache transfers vs. physical transfers).
  807.  
  808.         A sample might look like this:
  809.  
  810.         CD-QUICK Cache, v1.30 Copyright (c) 1994-96 by Peter Volpa, Circuit
  811.         Systems
  812.  
  813.         Using 1024K XMS cache for drive E:
  814.               1411  Logical transfers
  815.                659  Physical transfers
  816.                752  Transfers saved
  817.                 53  percent saved.
  818.  
  819.         Because of CD-Quick's read-ahead buffering, your actual time
  820.         savings will almost always be better than what is represented here. 
  821.         With read-ahead buffering,  CD-Quick will read more data than is
  822.         requested, saving all of it in the cache.  When that data is later
  823.         requested (and your CD-ROM's read head is usually somewhere else)
  824.         this data will be retrieved from RAM.  Performance is improved
  825.         because the drive didn't have to reposition its read head.  Unfor-
  826.         tunately the numbers can't reflect this action.  Transfers weren't
  827.         saved because data was requested only once and read from the CD
  828.         only once, but TIME was saved because the drive head didn't have to
  829.         move.  Any time you avoid moving the drive head you save time.
  830.  
  831.  
  832.         Displaying Cache Statistics from Windows
  833.  
  834.         Also included with CD-Quick is a status utility that runs under
  835.         Microsoft Windows.  This utility called QUICKMON, is located in the
  836.         same directory as CD-Quick.  QUICKMON will display the same status
  837.         information as CDQ will under DOS, but all information will be
  838.         displayed in a small pop-up window.  This allows you to view cache
  839.         operation in real time.  As you're using an application to access
  840.         your CD-ROM, you'll see the cache statistics as they update!  You
  841.         can also Reset and Enable/Disable the cache from here.  QUICKMON is
  842.         initially set to be "Always on top" so it can easily be seen.  This
  843.         operation can be changed by a choice on its pull down menu.  
  844.  
  845.         You can use Windows' File Manager to start QUICKMON.  Just change
  846.         to the "\CDQUICK" subdirectory and double-click on QUICKMON.  To
  847.         make operation easier, you may want to add QUICKMON to one of your
  848.         Windows program groups.
  849.  
  850.         The same attention to CD-Quick's read-ahead buffering applies when
  851.         interpreting QUICKMON's statistics.  Refer to the section above.                                                                           15
  852.  
  853.         CD-ROM Drive Mechanics and Why CD-Quick Cache Helps
  854.  
  855.         For those of you who are interested, I'd like to give you a brief
  856.         explanation of the inner workings of CD-ROM drives.  After you
  857.         understand some of what goes on behind the scenes you'll see why a
  858.         CD-ROM cache is really a necessity with today's computers.
  859.  
  860.         Data on a CD-ROM is recorded in equal length sectors on a single
  861.         spiral track that starts at the inner edge of the disc and finishes
  862.         at the outer edge.  This track is on the order of .6 microns wide,
  863.         with a turn spacing of 1.6 microns.  A micron, if you don't happen
  864.         to remember, is equal to a millionth of a meter.  A human hair is
  865.         about 100 microns in diameter.  A CD-ROM has a track density of
  866.         about 16,000 turns per inch if you measured across the disc.  If
  867.         you stretched this track out into a straight line it would measure
  868.         over 3 miles in length!
  869.  
  870.         A drive's read head assembly consists of a solid state laser,
  871.         lenses, a beam splitting mirror and a photo diode to detect the
  872.         reflected light.  In relative terms this assembly is massive.  The
  873.         magnetic heads used in hard disk drives are tiny by comparison.
  874.  
  875.         CD-ROM drives utilize a principle called constant linear velocity
  876.         (CLV).  With CLV the data must pass across the read head at the
  877.         same speed, no matter where on the disc it is positioned.  Because
  878.         data sectors on the outer and inner edges are the same length, the
  879.         rotational speed of the disc must constantly change as the read
  880.         head changes position.  If it didn't, the bits on the outer edge of
  881.         the disk would pass by almost 3 times faster than those near the
  882.         center.
  883.  
  884.         So to summarize the mechanical problem we face, we must precisely
  885.         follow a very narrow track of data using a relatively massive laser
  886.         assembly.  At the same time we must constantly vary the rotational
  887.         speed of the disc so the data passes at a constant linear speed
  888.         when we move the read head.  And we want to be able to reposition
  889.         this read head and be ready to access new data as quickly as
  890.         possible.
  891.  
  892.         As you can imagine, it's just not possible to do this very quickly. 
  893.         The more mass something has, the slower you can whip it around.  If
  894.         in addition, you have to position it with sub-micron accuracy, this
  895.         takes more time.  And if you also have to readjust to a new rota-
  896.         tional speed, you need more time still.
  897.  
  898.         This is why CD-ROM access times are slow and it's not going to
  899.         change any time soon.  Although triple and quadruple speed drives
  900.         have increased the raw data rate (by increasing the rotational
  901.         speed), access times have not dropped proportionally.
  902.  
  903.         The key to speeding up CD-ROM performance is to minimize the number
  904.         of times we reposition the read head.  Because every time we move
  905.         this head, we waste time.  The way to reduce head movement is to
  906.         use a cache like CD-Quick.  Once data is read into the cache, it
  907.         will be accessed from RAM instead of the CD.  If we can anticipate
  908.         data to read when we are positioned at this data, we can minimize
  909.         head movement.  CD-Quick uses advanced caching techniques to help
  910.         ensure that the data you need most will be found in the cache.                                                                           16
  911.  
  912.         Revision History
  913.  
  914.  
  915.         Version 1.30 - 3/25/96
  916.         Improved support to work under Windows 95 with Real Mode CD-ROM 
  917.         drivers.  Changed QuickMon's Flush button to a Reset button.  This 
  918.         still flushes the cache, but also resets all measurement totals. 
  919.         Fixed problem with Install program; If CDQ was added to the PATH 
  920.         and Install was rerun, the PATH line would be removed from the 
  921.         Autoexec.Bat.  Fixed color detection for all DOS programs when 
  922.         running in a Windows 95 DOS box.
  923.  
  924.         Version 1.20 - 6/12/95
  925.         It was possible for some other Windows programs to assume 
  926.         QuickMon's Rabbit icon when minimized.  Fixed.  If a cache size
  927.         greater than 10MB was specified and memory was available, it would
  928.         be allocated.  Fixed.  Improved compatibility with some older
  929.         drives that don't handle disc changes quite right.  Also added a
  930.         "Change Fix" option to CDQ.  Improved performance for triple and
  931.         quad speed drives.  In CDTEST if a CD-ROM was changed after doing a
  932.         directory walk, and a read test was attempted, it failed.  Added a
  933.         warning message.  Added a documentation file in Windows Write
  934.         format.  Changed the default cache size when automatic size deter-
  935.         mination is used.
  936.  
  937.         Version 1.11 - 3/15/95
  938.         If you used a single hardware device driver with multiple CD-ROM
  939.         drives, the Install program would put multiple instances of CDQ in
  940.         your AUTOEXEC.BAT file.  Fixed.
  941.  
  942.         Version 1.10 - 3/6/95
  943.         Now smaller and even faster!  All start up code and data are now
  944.         discarded before going resident.  This reduces the resident program
  945.         size to 11KB.  The data for the cache index has been separated from
  946.         the program and will use the HMA if available.  The cache search
  947.         routine has been improved to speed lookups, increasing cache
  948.         throughput.  Added flush and enable/disable options to CDQ and
  949.         QuickMon.  Added help option to CDQ.  QuickMon was unable to start
  950.         up minimized.  Fixed.  No longer supports locating the cache data
  951.         in upper memory.
  952.  
  953.         Version 1.02 - 1/18/95
  954.         In the opening shareware screen, if you choose to print an order
  955.         form and your printer was offline, CD-Quick would wait for the
  956.         printer to be put back online.  This gave the appearance that the
  957.         software was hung.  Logic to detect this condition has been added. 
  958.         Enhanced the Install program to work with any type of CD-ROM
  959.         extensions (not just Microsoft's MSCDEX).  Changes made to the
  960.         AUTOEXEC.BAT file might not get saved if you used a hard drive
  961.         cache that did write caching and you rebooted from within the
  962.         install program.  Fixed.   QUICKMON would display a cache size of
  963.         1024K on startup if the CD-ROM drive had not been accessed first. 
  964.         Fixed.  A real artist created a better looking icon for QUICKMON.                                                                           17
  965.  
  966.         Version 1.01 - 12/30/94
  967.         While Microsoft's MemMaker was optimizing upper memory use, CD-
  968.         Quick was unable to find your CD-ROM's real hardware device driver. 
  969.         This resulted in too high a number of CD-ROM drives being reported,
  970.         and caused MSCDEX to report an error.  CD-Quick has been changed to
  971.         enable it to always find the true device driver.
  972.  
  973.         Version 1.00 - 12/20/94
  974.         First release.                                                                           18
  975.  
  976.                             Appendix A - Error Messages
  977.  
  978.  
  979.         Cache has already been installed.
  980.  
  981.              You have already loaded CD-Quick using this Device Driver
  982.              name.  If you want to use CD-Quick with another device driver,
  983.              specify a different driver name.
  984.  
  985.  
  986.         Cache must be installed before MSCDEX.
  987.  
  988.              CD-Quick requires that it be loaded AFTER your CD-ROM hardware
  989.              device driver and BEFORE Microsoft's MSCDEX.EXE.  Check your
  990.              AUTOEXEC.BAT and/or CONFIG.SYS files to make sure that is the
  991.              case.
  992.  
  993.  
  994.         CD-Quick's executable has been corrupted.  Please reinstall.
  995.  
  996.              Someone or something (another program perhaps) has changed
  997.              your copy of CDQ.EXE.  CD-QUICK checks itself every time it
  998.              runs and this check has failed.  Reinstall the program.
  999.  
  1000.  
  1001.         Device driver not found: 'XXXXXXXX'.  Please install before
  1002.         CD-QUICK.
  1003.  
  1004.              The hardware device driver you told CD-Quick to use has not
  1005.              been loaded.  This is done by a line in your CONFIG.SYS file. 
  1006.              Make sure this driver is loaded and the driver name is cor-
  1007.              rect.
  1008.  
  1009.  
  1010.         Extended Memory Manager not present.
  1011.  
  1012.              CD-Quick requires the extended memory in your system be man-
  1013.              aged by a memory manager.  It's the memory manager's job to
  1014.              turn extended memory into XMS memory.  The XMS memory manager
  1015.              HIMEM.SYS comes with DOS and should be loaded by a line in
  1016.              your CONFIG.SYS file.  See your DOS manual if you need help
  1017.              with this.  Any memory manager supporting version 2.0 of the
  1018.              XMS specification will work with CD-Quick.
  1019.  
  1020.  
  1021.         Extended Memory allocation error.
  1022.  
  1023.              CD-Quick tried to allocate XMS memory and the XMS memory
  1024.              manager returned an error.  No memory could be allocated. 
  1025.              Check to see if you've got some free XMS memory available.
  1026.  
  1027.  
  1028.         Extended Memory not present or not-usable.
  1029.  
  1030.              You don't have any memory above 1MB in your system.  CD-Quick
  1031.              uses extended XMS memory for its data cache.  Since many 
  1032.              programs can perform better if you have some XMS memory, you 
  1033.              may want to add some to your computer.                                                                           19
  1034.  
  1035.         HMA can not be enabled.  Use /NOHMA option.
  1036.  
  1037.              You have enough free memory in the High Memory Area, but it
  1038.              can't be accessed.  Use the /NOHMA switch when loading CDQ to
  1039.              disable CD-Quick's HMA use.
  1040.  
  1041.  
  1042.         No valid CDROM device drivers selected.
  1043.  
  1044.              You didn't specify a CD-ROM hardware device driver to use with
  1045.              CD-Quick.  Check your AUTOEXEC.BAT file to make sure you have
  1046.              used the '/D:' parameter.
  1047.  
  1048.  
  1049.         Not enough Extended Memory, must have at least 64K free.
  1050.  
  1051.              Although you have XMS memory in your system, less than 64K is
  1052.              free when CD-Quick loads.  Either decrease the amount of XMS
  1053.              memory allocated to other applications that load before CD-
  1054.              Quick or buy more memory.
  1055.  
  1056.  
  1057.         Not enough Extended Memory, reducing number of buffers.
  1058.  
  1059.              You don't have enough free XMS memory to allocate a cache as
  1060.              large as you have specified.  CD-Quick will allocate a lesser
  1061.              number of cache buffers to fit in the memory you do have
  1062.              available.
  1063.  
  1064.  
  1065.         This program requires DOS 3.10 or later.
  1066.  
  1067.              You have a very old version of DOS.  Since MSCDEX.EXE or its
  1068.              equivalent requires DOS 3.1 or later, you should upgrade.
  1069.  
  1070.  
  1071.         Unable to allocate cache index table.
  1072.  
  1073.              You don't have enough memory to allocate CD-Quick's cache
  1074.              index table.  This shouldn't be possible since CD-Quick tries
  1075.              to use the HMA, UMA and also conventional memory.  Please let
  1076.              us know if you get this message.
  1077.  
  1078.  
  1079.         Your printer is NOT ready.
  1080.  
  1081.              You asked CD-Quick to print an order form but your printer is
  1082.              offline.  Check to see if your printer has power, has paper
  1083.              and its cable is connected.                                                                           20
  1084.  
  1085.                      Appendix B - Common Questions and Answers
  1086.  
  1087.  
  1088.         Q.   After installing CD-Quick, Windows won't load (or my Windows
  1089.              video driver, Wolfenstein or other whiz-bang program has
  1090.              problems).  If I remove CD-Quick everything works.  What's
  1091.              wrong?
  1092.  
  1093.         A.   The problems you are having are related to the way you have
  1094.              apportioned your memory.  CD-Quick uses XMS memory for its
  1095.              cache.  Your problems go away when CD-Quick is not loaded
  1096.              because you have freed up the memory used by CD-Quick.  It is
  1097.              now available for Windows (or other software) to use. You need
  1098.              to determine how you are allocating your XMS memory.  Are you
  1099.              using a cache for your hard drive?  If so, how much memory
  1100.              does it use?  Do you have a RamDrive or print spooler that
  1101.              uses XMS memory?  You should also check to see how much XMS
  1102.              memory CD-Quick is using.  From DOS, just type CDQ any time
  1103.              after CD-Quick has loaded.  From Windows start CD-Quick's
  1104.              QuickMon program.  CD-Quick's memory usage will be displayed.
  1105.  
  1106.              After you learn how your memory is being allocated, you can
  1107.              then determine the proper division of XMS memory for your
  1108.              software that uses this memory.
  1109.  
  1110.              If you allow CD-Quick to automatically determine its cache
  1111.              size, it may use too much memory in some cases.  CD-Quick
  1112.              can't anticipate your memory requirements after it loads.  So
  1113.              you have to be aware of any software that requires more XMS
  1114.              memory than is usual.  You can then set CD-Quick's cache size
  1115.              manually.
  1116.  
  1117.         Q.   If I allocate a 2MB cache for CD-Quick and 2MB for my disk
  1118.              cache, I've used up over half my memory (I've got 8MB).
  1119.  
  1120.         A.   A common mistake is to allocate too much memory to a hard
  1121.              drive cache.  With today's hard drives, 80% of your perfor-
  1122.              mance gain will be had with 256KB to 512KB of memory.  A 2MB
  1123.              hard drive cache just wastes memory that could be better used
  1124.              elsewhere.  CD-ROMs are 20 times slower and require a larger
  1125.              cache size.  We recommend a ratio of 1 to 4 when allocating
  1126.              memory to a hard drive cache and CD-Quick.  For instance, if
  1127.              you have CD-Quick set for a 2MB cache, you should set your
  1128.              hard drive cache to use 512KB.  If you want to set CD-Quick's
  1129.              cache lower, you should reduce your hard drive cache too.  For 
  1130.              a 1MB CD-ROM cache, use 256KB for your hard drive cache.
  1131.  
  1132.         Q.   I've been using QuickMon to monitor cache statistics.  On most
  1133.              CD-ROMs I see a good bit of improvement, but on my Mayo Clinic
  1134.              Family Health Book CD, QuickMon shows that no time was saved
  1135.              at all.  What's going on here?
  1136.  
  1137.         A.   There are a few CD-ROM applications that do their own caching. 
  1138.              That is, they read the data they need only once and save it in
  1139.              memory.  The next time you access the same information the
  1140.              application itself has it.  It never goes to the CD-ROM twice
  1141.              for data.  When an application does its own caching, CD-Quick                                                                           21
  1142.  
  1143.              never has a chance to speed things up and QuickMon will report
  1144.              that no reads were saved.  CD-ROM applications that do this
  1145.              are rare.  With the vast majority of CD-ROMs CD-Quick will be
  1146.              able to create a noticeable improvement.
  1147.  
  1148.         Q.   I don't use SmartDrive for my hard drive (I use a different
  1149.              cache).  What's wrong with using SmartDrive v5.0 to cache only 
  1150.              my CD-ROMs.
  1151.  
  1152.         A.   In a word, memory.  For a 2MB cache, SmartDrive uses 30K of
  1153.              conventional memory (45K before it goes resident!).  In most
  1154.              cases, CD-Quick uses 11K.  SmartDrive's use of XMS memory is
  1155.              equally inefficient.  Typically you need to allocate a larger
  1156.              cache size to equal CD-Quick's performance.  Or, to put it
  1157.              another way, CD-Quick will out perform SmartDrive for the same
  1158.              size cache.  See Appendix C for more information.                                                                           22
  1159.  
  1160.           Appendix C - Comparing CD-Quick to Microsoft's SmartDrive 5.0+
  1161.  
  1162.         The version of SmartDrive included with MS-DOS v6.2 is capable of
  1163.         caching CD-ROM drives as well as hard and floppy drives.  It's
  1164.         tempting, if you already have SmartDrive v5.0, to wonder how it
  1165.         compares to CD-Quick.
  1166.  
  1167.         SmartDrive has improved with each version of DOS, so that today it's
  1168.         not a bad disk cache.  However, it has some problems when used with
  1169.         CD-ROMs.  Its first problem is that it uses a single cache for hard
  1170.         drives, floppy drives and CD-ROMs.  If you read a large enough block
  1171.         of data from any one of these, you effectively flush the cache for
  1172.         all the others.  This can be something as simple as doing a file
  1173.         search of your hard drive with a program such as Norton's File
  1174.         Finder or similar "Where is" program.  Unless SmartDrive's cache is
  1175.         VERY large, any CD-ROM data will be flushed from the cache.  Tests
  1176.         I've run with a 345MB hard drive (87% full) and SmartDrive, show
  1177.         that a "Where is" search for a nonexistent file will flush the cache
  1178.         of CD-ROM data for cache sizes as great as 5MB!.
  1179.  
  1180.         Another problem with using a single cache for both hard drives and
  1181.         CD-ROMs is the big difference in access times between the two. 
  1182.         Average access times for most of today's hard drives are under 15
  1183.         milliseconds.  CD-ROMs are about 20 times slower!  When deciding on
  1184.         how much memory to allocate to a cache, you will always reach a
  1185.         point of diminishing returns.  For instance, doubling the cache size
  1186.         may only increase performance by 10%.  Sometimes, increasing cache
  1187.         size beyond a certain point will actually DECREASE performance.  At
  1188.         the very least, having a cache larger than needed will waste memory. 
  1189.         This point of diminishing returns for hard drives is much lower than
  1190.         it is for CD-ROMs.  To be able to tune your system for the best
  1191.         performance, you need to be able to set the size of your hard drive
  1192.         cache and your CD-ROM cache independently.  This can only be done if
  1193.         they're separate caches.  Very good hard drive performance can be
  1194.         had with a 256KB to 512KB cache.  A CD-ROM drive in the same system,
  1195.         might need a 2MB cache or larger.
  1196.  
  1197.         In addition to these considerations, SmartDrive doesn't use cache
  1198.         memory very efficiently.  SmartDrive does a lot of sector read-ahead
  1199.         buffering.  It reads more data than you ask for with the hope that
  1200.         you'll want it later.  This is fine for sequential data reads, but
  1201.         it's very wasteful if you're reading data stored in many random
  1202.         locations.  The cache can quickly fill with data you'll never want. 
  1203.         CD-Quick also uses sector read-ahead buffering, but it dynamically
  1204.         adjusts the amount of read-ahead based on the pattern of your reads. 
  1205.         It can drop the number of read-ahead sectors to zero if random data
  1206.         is being read.
  1207.  
  1208.         While the CDTEST utility included with CD-Quick is intended to 
  1209.         demonstrate the difference between using a CD-ROM cache and not
  1210.         using one, it can also be helpful when comparing caching software. 
  1211.         To illustrate SmartDrive's problem of using a shared cache, have
  1212.         CDTEST do a directory walk of a CD-ROM.  Now do the walk again.  If
  1213.         the directory data is found in the cache, it should only take a
  1214.         second or two.  Now try a "Where is" search for a nonexistent file
  1215.         on your hard drive.                                                                            23
  1216.  
  1217.         You can do this with the DOS DIR command.  Type:
  1218.  
  1219.              DIR  C:\weasel.dat  /S
  1220.  
  1221.         This will search for a 'WEASEL.DAT' file on your hard drive.  If you
  1222.         go back and run CDTEST's directory walk again, you will find the
  1223.         cache has been flushed (unless it's VERY large).  As mentioned
  1224.         before, CD-Quick's cache is not shared by non CD-ROM drives, so it
  1225.         can never be flushed by any reads you do on your hard drive.
  1226.  
  1227.         If you'd like to see the effect of SmartDrive's read-ahead buffer-
  1228.         ing, you can use CDTEST to do a directory walk followed by a read
  1229.         test.  If you go back and do another walk, you'll find in most cases
  1230.         the directory data has been flushed from the cache.  This second
  1231.         directory walk should be very quick, since the first walk has
  1232.         already read the needed data.  But with SmartDrive it will take much
  1233.         longer.  Tests I've run show this occurs with cache sizes of up to
  1234.         2MB.  Because CD-Quick makes better use of cache memory, you won't
  1235.         see this problem until you reduce CD-Quick's cache size to about
  1236.         1MB.
  1237.  
  1238.  
  1239.         A Word About Benchmarks
  1240.  
  1241.         All benchmark programs (CD-TEST included) are intended to test and
  1242.         quantify a particular aspect of a program's operation.  To properly
  1243.         apply a benchmark, you have to understand what the benchmark is
  1244.         intended to measure.  If you use it in a way other than that in
  1245.         which it was intended, your results may not be accurate.
  1246.  
  1247.         Here's a case in point.  CD-TEST was intended to compare CD-Quick's
  1248.         performance to a system's performance without a CD-ROM cache.  It
  1249.         will give meaningful results if you use it in that way.  Some people
  1250.         would like to use it to compare CD-Quick with other CD-ROM caches
  1251.         such as SmartDrive.  They might perform the following test: set
  1252.         SmartDrive to use a 2MB cache, run a directory walk then do CD-
  1253.         TEST's read test.  Repeat with CD-Quick set to use a 2MB cache and
  1254.         compare times.  If you do this, you probably won't see a big differ-
  1255.         ence in times.  You would then (erroneously) conclude that CD-Quick
  1256.         is not much better than SmartDrive.
  1257.  
  1258.         If you did this test with both SmartDrive and CD-Quick set to use a
  1259.         1MB cache, you would see a big difference in read times.  You would
  1260.         then conclude that CD-Quick IS much better than SmartDrive.
  1261.  
  1262.         What's going on here?  CD-TEST's read test reads a total of 384
  1263.         blocks (or 768KB) for the combined sequential and random read tests. 
  1264.         If you set both SmartDrive and CD-Quick to use a 2MB cache, this
  1265.         data easily fits in memory.  However, with a 1MB cache size, Smart-
  1266.         Drive can't hold 768KB of data!  If you ran this test with only the
  1267.         2MB caches you'd never see this.
  1268.  
  1269.         So be careful when using benchmarks.  Know what they're intended to
  1270.         test and use them accordingly.  Also don't rely on them as your only
  1271.         measure of performance.  If the benchmark doesn't test for it, the
  1272.         results can't show it.                                                                            24
  1273.  
  1274.                 Appendix D - Distribution Points for CD-Quick Cache
  1275.  
  1276.  
  1277.         The latest version of CD-Quick Cache may be found on the ASP's
  1278.         monthly CD-ROM.  All BBS's who are ASP members receive this CD each
  1279.         month.  Check for an ASP BBS near you.  The filename to look for is
  1280.         CDQCKxxx.ZIP (where xxx is the version number).
  1281.  
  1282.         CD-Quick may also be found in the PC Hardware forum on CompuServe
  1283.         (GO PCHW) in Lib 1.  Look for the filename CDQCK.ZIP.
  1284.  
  1285.         If you have Internet access, you can also find CD-Quick on either
  1286.         the ASP's Web site, at:
  1287.  
  1288.         http:\\www.asp-shareware.org
  1289.  
  1290.         or any of the several SIMTEL mirror sites.
  1291.  
  1292.         Lastly, CD-Quick is available via the ASP's Hub Network of BBS's. 
  1293.         If you are in North America, these BBS's all allow downloading of
  1294.         CD-QUICK on the first call:
  1295.  
  1296.  
  1297.              Consultant BBS, NY            (718) 837-3236
  1298.              Break RBBS, VA                (703) 680-9269
  1299.              Twilight Zone, WI             (715) 652-2758
  1300.              Data Exchange BBS, LA         (318) 239-2122
  1301.              SPACE BBS, CA                 (415) 323-4398
  1302.              Knightec BBS, Canada          (519) 940-0007
  1303.