home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_07 / ICDP655A.ZIP / DOCS / ENGLISH / RATEHD.DOC < prev    next >
Text File  |  1994-06-03  |  8KB  |  182 lines

  1. RATEHD.PRG & RATEHD.DOC
  2. Copyright 1989-1991  ICD, Inc.
  3.  
  4. This document and the program RATEHD.PRG, may be distributed by 
  5. any non-commercial means (may not be sold) as long as the they
  6. are distributed together and no modifications are made.  
  7. Language translations are allowed.
  8.  
  9. The copyright holder is:
  10.  
  11.      ICD, Inc.
  12.      1220 Rock Street
  13.      Rockford, IL  61101-1437
  14.  
  15.      Voice:  (815) 968-2228
  16.      BBS:    (815) 968-2229
  17.      FAX:    (815) 968-6888
  18.  
  19. RATEHD.PRG was written in Personal Pascal, a product of ICD, Inc.
  20. -----------------------------------------------------------------
  21.  
  22. RATEHD was written to show performance characteristics of 
  23. various hard disk drives.  It was developed at ICD to allow fair
  24. comparison when evaluating hard disk drive mechanisms, embedded
  25. SCSI drives and SCSI controllers when used on the Atari ST.  It
  26. does not go through a hard disk handler (like ICDBOOT.SYS) so it
  27. is not useful in rating the speed of different handlers.  
  28. Generally, the ICD hard disk handler provides a significant 
  29. speed improvement in actual use due to its caching.
  30.  
  31. We were a bit apprehensive about releasing this to the public 
  32. because of our fears that people would not understand it and 
  33. will use it for the wrong purpose.  It is intended as a
  34. comparison test and should not be used to verify a drive or
  35. controller against printed specifications.  Drive manufacturers
  36. test their drives on specialized test equipment and not on an
  37. Atari ST.  Data rates are also usually shown as a burst rate.  
  38. What we are measuring is the sustained rate, which is closer to
  39. the top end in real life usage.
  40.  
  41. Our final decision to release RATEHD was twofold:
  42.  
  43. 1) There is too much misinformation out there when it comes to 
  44.    computers and hard drives.  There needed to be a uniform
  45.    benchmark test for the Atari ST.  Magazine reviews have
  46.    typically mislead the public, not maliciously, but because of
  47.    the reviewer's ignorance on the subject and lack of 
  48.    scientific testing methods.  Now you have a benchmark; just
  49.    don't abuse it.
  50.  
  51. 2) When we finished the FA-ST Tape Backup, we realized that a 
  52.    hard drive system would need a certain amount of finesse to
  53.    keep up with the streaming tape.  If the tape had to keep
  54.    backing up and waiting for the hard drive to catch up, the
  55.    backup time would become laboriously long and almost not 
  56.    usable.  A data rate of about 300 K/s (kilobytes per second)
  57.    is required to keep the tape moving without any stopping and
  58.    backing up.  As the data rate gets slower, the tape will begin
  59.    to backup and restart several times per partition.  A data
  60.    rate of less than 200 K/s would probably become unbearable at
  61.    attempting a backup.
  62.  
  63. We have tested many drives and controllers at their optimum 
  64. interleaves and found that Adaptec MFM controllers (including
  65. Atari SH204, Megafile 20) run about 300 K/s if they are formatted
  66. at 1:1 interleave.  Adaptec RLL controllers (including Atari
  67. Megafile 30 and 60) run about 315 K/s at 2:1 interleave.  Omti
  68. MFM controllers move along about 360 K/s using 1:1 with Omti RLL
  69. at about 375 K/s at 1:1.  Embedded controller drives are usually
  70. the speedsters with the Seagate ST138N and ST157N cruising at 550
  71. K/s at 1:1.  The quickest we have measured was a Quantum LP105S
  72. which flies at 1197 K/s which is probably fast enough to do real
  73. time video.  It also had 21 ms average access time and had a 105
  74. Megabyte formatted capacity.
  75.  
  76.  
  77. THE PROBLEM WITH MOST TEST METHODS
  78. ----------------------------------
  79.  
  80. There are many variables in something as complex as a computer 
  81. with a hard disk drive that can make testing a cumbersome task.  
  82. The most obvious way to test hard drive speed is to copy files
  83. from a hard drive to a RAMDISK and then back to a clean hard
  84. drive while timing the process.  Although on the surface a test
  85. like this appears sufficient, it cannot give an accurate picture
  86. of what to expect in performance after using the drive for a
  87. while.  Both hard drives would need to be freshly formatted (no
  88. files yet) and with identical partition sizes.  If not freshly
  89. formatted, the DOS fat table delays and fragmentation would enter
  90. a significant amount of error into the rating equation.  Of
  91. course the same DOS and same computer must also be used.
  92.  
  93. While this seems like a reasonable test method, it would only 
  94. show the data rate (assuming both drives were formatted at their
  95. optimal interleave).  Step rate in this type of test would not be
  96. a measurable factor as it would later on when the files on the
  97. drives become fragmented.  Fragmentation occurs as a hard drive
  98. gets used and files are modified.  They increase in size and 
  99. when rewritten to the drive, not all the file parts are in
  100. consecutive sectors anymore, probably not even in the same area
  101. of the disk.  The file eventually becomes a group of "fragments."
  102. This is where the movement of the head from track to track (step
  103. rate measured as average access time) really becomes an 
  104. important speed factor.  It would not be an easy task to create 
  105. two freshly formatted drives of different manufacture with
  106. identical fragmentation on each drive.
  107.  
  108. Many of the magazine reviews we have seen give no indication of 
  109. the test method.  It is almost as if the numbers were arrived at
  110. by magic.  We now offer RATEHD as a solution to all magazine
  111. reviewers desiring to test hard disk drives.  If you all use
  112. this, then the results can be believable.
  113.  
  114. Since RATEHD does not use the OS nor the hard disk handler, it 
  115. is easily repeatable and virtually foolproof.  Both are important
  116. factors in any test method.  It will run on any hard drive and
  117. does not care about how the partitions are set up nor does it
  118. matter what the file structure is like.  Since RATEHD *never*
  119. writes to the disk, it is totally safe and can be run at any 
  120. time.
  121.  
  122.  
  123. ABOUT THE PROGRAM
  124. -----------------
  125.  
  126. RATEHD begins at SCSI ID #0, Logical Unit Number 0, and proceeds 
  127. to check LUNs 0-3 for each SCSI ID going through all SCSI IDs 0-7
  128. except special cases for ID #6 (reserved for our real time clock)
  129. and ID# 7 (where it only reads LUN 0).  When the program finds a
  130. hard drive present, it will print the manufacturers
  131. identification under Device Name, and proceed with the tests.
  132. After each drive is tested, it will display the results and
  133. search for the next drive.  When finished with all drives, RATEHD
  134. will allow you to RETEST or EXIT back to the desktop.  (A screen
  135. dump will print the results.)
  136.  
  137. Don't worry: It is only a read test so no damage will be done to
  138. your drive data.
  139.  
  140.  
  141. ABOUT THE TESTS
  142. ---------------
  143.  
  144. The Data Rate Test
  145.      In this test, one megabyte of data is read (2,000 sectors) 
  146.      in 100 sector continuous blocks (burst mode).  This is timed
  147.      and the math is done to calculate the number of K/s
  148.      (Kilobytes read in one second).
  149.  
  150. The Average Access Test
  151.      The Average Access is based on an assumed 16 megabyte 
  152.      partition beginning with sector 0 and ending with sector
  153.      31,000.  The head is told to read a sector at the innermost
  154.      cylinder of the partition area (31,000) then to read one in
  155.      the outermost cylinder (0).  This is repeated 50 times but
  156.      each time the sector number is adjusted so that the head
  157.      will move 1/50 less distance. If there were 51 tries, the
  158.      head would end up on the center cylinder of the partition
  159.      (15,500), not stepping at all for the inner and outer
  160.      cylinders.
  161.  
  162.      This movement is timed and the sector read time is removed. 
  163.      An average time for the head travel is then calculated and
  164.      shown in ms (milliseconds).  Since this average time also
  165.      includes the command overhead time, it will be slightly
  166.      higher than specifications from the drive manufacturer.
  167.  
  168.  
  169. WHAT YOU HAVE LEARNED
  170. ---------------------
  171.  
  172. There are really only two significant variables concerning 
  173. performance with a hard disk.  These are Data Rate and Average
  174. Access.  We are assuming that you are concerned about speed and
  175. have the optimum interleave on your drive.
  176.  
  177. There is one other bottleneck that does affect hard disk 
  178. performance.  The Disk Operating System is a major slowdown.  To
  179. optimize your DOS speed get TOS 1.4 from Atari as soon as you
  180. can.  Using it, we have seen a tremendous improvement in both 
  181. speed and reliability.  Thank you Atari!
  182.