home *** CD-ROM | disk | FTP | other *** search
/ PC World 1999 July / PCWorld_1999-07_cd.bin / Hardware / Drivers / cd-bench / CDBENCH.TXT < prev    next >
Text File  |  1999-01-10  |  9KB  |  166 lines

  1.  
  2.  
  3.                                  CD-BENCH v2.1
  4.  
  5.  
  6.          Many  people think that the data transfer rate of CD-ROM  drives
  7.       is constant from the beginning to the end of the disc, but this  is
  8.       true  only  for old-and-slow models, the  so-called  CLV  (Constant
  9.       Linear  Velocity) drives.  High speed drives use the CAV  (Constant
  10.       Angular  Velocity) technology or the mixed CLV/CAV one.  The  speed
  11.       of  CAV drives grows continuosly from the beginning to the  end  of
  12.       the disc while in CLV/CAV drives it rises quickly up to the maximum
  13.       and then remains constant.
  14.  
  15.          Many common benchmarks report a completely wrong result  because
  16.       they suppose that the reading speed is constant, so they read  only
  17.       at  the  beginning  of the disc.  CD-BENCH, instead,  is  the  only
  18.       benchmark that reads the disc in six different points and  displays
  19.       six results, so you can see if and how the speed varies.
  20.          To  perform  a  complete  test (six readings),  you  need  a  CD
  21.       containing at least 301500 sectors (589 MB).  Note that CAV  drives
  22.       reach  the  maximum speed only towards the end of the  disc  (of  a
  23.       *full* disc) so you should use the fullest disc you have.
  24.          If  you  use  the -S switch, CD-BENCH reports the  size  of  the
  25.       inserted  disc  without performing any test.  Note  that  many  DOS
  26.       programs (including Microsoft DosShell) report a wrong size.
  27.          By  the  -D  switch you can change the delay that precedes  each
  28.       reading.   During  this  time the  drive's  read-ahead  buffer  (an
  29.       internal  cache  memory) is filled with the data that  CD-BENCH  is
  30.       going to read.  The default is -D=500 (500 milliseconds), it should
  31.       be  enough to let your drive perform well.  With -D=0 the drive  is
  32.       tested in the worst case (it prevents read-ahead operations).
  33.          By  the  -B  switch you can change the  quantity  of  data  that
  34.       CD-BENCH  reads.   High  values reduce  the  influence  of  drive's
  35.       internal cache so giving worse results; in other words you can  use
  36.       this  switch to modulate the influence of caching on results.   The
  37.       default  is  -B=50  that means 50 blocks of 30  sectors  each (1500
  38.       sectors).
  39.          Many  drives  slow  down  or stop the disc  after  a  period  of
  40.       inactivity.   CD-BENCH,  before starting its tests,  performs  some
  41.       access to the disc to spin it up.  If you think that it is  already
  42.       spinning  at the maximum speed, you can use the -I switch to  start
  43.       the testing process immediately.
  44.          If  six readings are too much for you, it's possible  to  reduce
  45.       this number to 3 by the -Q switch.
  46.  
  47.          CD-BENCH also measures the average access time by performing 100
  48.       random accesses to sectors located in the first 300 MB of the disc.
  49.       Using  a fixed portion of the disc ensures that the result  depends
  50.       only  on  the drive speed and not on the disc size.   If  the  disc
  51.       contains less than 300 MB of data, CD-BENCH skips this test.
  52.          The  sequence of 100 accesses is only apparently random:  it  is
  53.       always  the  same, every time you perform the test;  in  this  way,
  54.       again, the result depends only on the drive speed.
  55.  
  56.          You  can  effect  only  the  first  test  (data  transfer   rate
  57.       evaluation) or only the second one (access time evaluation) by  the
  58.       -1 and -2 switches.
  59.  
  60.          CD-BENCH can also be used to verify whether a disc is  defective
  61.       (that  is whether it causes read errors or not): by the -A  switch,
  62.       in  fact,  you  get CD-BENCH to read the  whole  disc.   Of  course
  63.       this task takes several minutes.
  64.          IMPORTANT NOTE.   Many drivers have  a  little bug  that  causes
  65.       CD-BENCH  to read farther the end of the disc so generating a  read
  66.       error.   This  problem takes its origin from a wrong formula  in  a
  67.       Microsoft's  official  document;  a more  recent  version  of  that
  68.       document  is  correct but many drivers are still  buggy  (including
  69.       Windows 95's internal driver!).  Before starting this test CD-BENCH
  70.       tries  to read the last sector of the disc: if this  attempt  fails
  71.       the  most  probable cause is a bug in your  driver  (buggy  drivers
  72.       report  a number of sectors higher than the real one so the  sector
  73.       that CD-BENCH tries to read is out of the used space).
  74.  
  75.          CD-BENCH  interacts  with  the  8253  timer  chip  to  get  high
  76.       resolution timing (0.1 ms) and, therefore, highly accurate results.
  77.          IMPORTANT  NOTE.   Mitsumi drivers (at least  v1.54  and  v1.58)
  78.       "steal"  timer ticks, in other words they stop the  PC's  real-time
  79.       clock  (RTC)  during  read  operations.   When  this  happens   any
  80.       benchmark, including CD-BENCH, reports a speed higher than the real
  81.       one;  however CD-BENCH can detect this anomalous, wrong,  behaviour
  82.       by  comparing the DOS' clock and the CMOS' one: if  the  difference
  83.       between  them  becomes greater than 2 seconds CD-BENCH  displays  a
  84.       warning.
  85.  
  86.          The  presence  of  a  disk cache like  SMARTDrive  can  lead  to
  87.       unrealistic  results.   CD-BENCH  temporarily  disables  SMARTDrive
  88.       v4.0+  or  compatible caches (PC-Cache v8.0+ and  the  most  recent
  89.       versions  of Norton Cache are known to be compatible) and  restores
  90.       their  original status before returning to DOS, even if  you  abort
  91.       the  program by pressing Ctrl-Break or ejecting the disc  (I  don't
  92.       lock them so you are free to do as you like).
  93.  
  94.          If no parameter is supplied on the command line, CD-BENCH  tests
  95.       all  the available CD-ROM drives; if you want to test only  one  of
  96.       them, just specify its letter.
  97.          IMPORTANT  NOTE.  If you didn't install both MSCDEX.EXE  and   a
  98.       proper device driver for your CD-ROM drive, CD-BENCH can't see  the
  99.       drive and displays the message "No CD-ROM drive found".
  100.  
  101.          CD-BENCH  cannot  run as a DOS task of Windows 95 or  OS/2:  you
  102.       have to use "plain" DOS.
  103.  
  104.  
  105.                                    --=<>=--
  106.  
  107.  
  108.       How to get good results.
  109.  
  110.       1)  Use a clean, unscratched, "silver" disc.  CD-Recordable  weakly
  111.       reflect  the  laser beam so they are harder to read.  When  a  read
  112.       error  occurs  the drive repeats the read operation twice  or  more
  113.       times  and can also reduce the spin (some models only).  Of  course
  114.       this behaviour influences negatively the result.
  115.  
  116.       2) Some discs are unbalanced and cause strong vibrations when  they
  117.       rotate  at  high speed.  Some drives detect  these  vibrations  and
  118.       reduce  the spin, so, if the first run doesn't give  good  results,
  119.       try to use another disc.  BTW: never attach labels on CD-ROMs!
  120.  
  121.       3)  Visit  the  web site of your  drive's  manufacturer  and  check
  122.       whether a new version of the driver is available.
  123.       NOTE.   I'm  maintaining a CD-ROM drivers  page  containing  direct
  124.       links to the download page of each manufacturer.  Its URL is at the
  125.       end of this document.
  126.  
  127.       4)  Some old BIOS is programmed in the way that it  recognizes  any
  128.       CD-ROM drive as a "PIO Mode 0" device.  This is not a good thing if
  129.       you  have  a  very  fast drive (20x or more)  because  PIO  mode  0
  130.       actually  holds your drive back.  If this is your case, you  should
  131.       contact your mainboard vendor for a BIOS upgrade so that your  high
  132.       speed drive will be recognized as a PIO mode 4 device.
  133.  
  134.  
  135.                                    --=<>=--
  136.  
  137.  
  138.          CD-BENCH  is a copyrighted free program.  It can be freely  used
  139.       and  distributed  but  cannot be  bundled  with  hardware  products
  140.       (drives, CD recorders, etc.) without my written permission.
  141.  
  142.          Your feedback is welcome.
  143.  
  144.  
  145.       My addresses are:
  146.  
  147.       E-mail:  pnavato@poboxes.com
  148.                pnavato@geocities.com
  149.                Pino Navato, 2:335/225.18  (The Bits BBS, Fidonet)
  150.  
  151.       WWW:     http://www.poboxes.com/pnavato/
  152.                (currently forwards to
  153.                  http://www.geocities.com/SiliconValley/4421/)
  154.  
  155.       Mail:    Pino Navato
  156.                Via Pittore, 164
  157.                80046 S.Giorgio a Cremano (NA)
  158.                ITALY
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.                            *     *     *     *     *
  166.