home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1995 April / pslmonthlyvol3-4utilitiesapril1995.iso / utils / dos / harddisk / diskperf.txt < prev    next >
Text File  |  1986-12-27  |  4KB  |  83 lines

  1.  
  2.  
  3.               HARD DISK PERFORMANCE vs. INTERLEAVE FACTOR
  4.  
  5.  
  6.  
  7.  
  8.  
  9. System              Interleave factors     2     3     4     5     6
  10.  
  11. Theoretical
  12. Maximum                                 261K  174K  131K  104K   87K
  13.  
  14. 80286  measured (+)                     243K  162K
  15.  
  16.  8086  measured                                26K   28K  100K   80K
  17.  
  18. -----------------------------------------------------------------------
  19.  
  20. Compaq Portable                          27K  140K  110K   98K   77K
  21.  
  22. (An  interesting  exercise in technical logic is to determine why it  is
  23. that an 80286 running at 6Mhz outperforms the exact same machine running
  24. at 8Mhz in terms of effective data transfer rates.)
  25.  
  26. The  Compaq Portable is an obvious exception to the above in that it  is
  27. easily able to fully utilize an interleave factor of three.
  28.  
  29.                    CALCULATION OF DATA TRANSFER RATES
  30.  
  31. The  above  chart shows the significance of the interleave factor as  it
  32. relates  to  effective  data transfer rates for  all  5-1/4"  hard  disk
  33. systems.   The  top curve represents the theoretical data transfer  rate
  34. available from hard disks at each interleave factor (2 to 6).   The plus
  35. sign  (+) shows the actual measured data transfer rate using  interleave
  36. factors of 2 and 3 on a Compaq Deskpro 286 system.  The lower line shows
  37. actual  measured data transfer rates on a Compaq Deskpro (not a 286)  at
  38. interleave factors of 3 to 6.
  39.  
  40. What  is obvious from the chart is that the Deskpro 286 system should be
  41. configured with an interleave factor of 2.
  42.  
  43. Most  disturbing  from the chart is the effect of setting up  a  Deskpro
  44. (non-286)  with an interleave factor of 3 as is the standard  proceedure
  45. utilized  by many retailers.   In essence,  the resulting system is left
  46. with a hard disk subsystem that is performing at 1/4th of it's  ability.
  47. By  simply  setting the interleave factor to 5 (NOT 6!!!) the  effective
  48. data  transfer  rate  will  increase from 25,500  bytes  per  second  to
  49. 100,400.
  50.  
  51. Following  is the method used in determining theoretical  data  transfer
  52. rates (does not include control information transfer).
  53.  
  54. Assumptions:
  55. Disk spin rate =              3600 RPM
  56. Rated speed =                 5000000 bits per second
  57. Time to rotate once =         16.66666666 msecs  (60/3600)
  58. Maximum bits per track =      83333  (.016666666*5000000)
  59. Number of sectors per track = 17
  60. Maximum bytes per track =     10416  (83333/8)
  61. Maximum bytes per sector =    612  (10416/17)
  62. Therefore, bits per sector =  4901 (612*8)
  63. Time to transmit 1 sector =   980.4 usecs  (4901/5000)
  64. Data bytes per sector =       512
  65. Data transfer rate =          522240 Data bytes per second
  66.                               (Assuming interleave factor of 1)
  67. However,  we  have seen that between data bytes there are only 100 bytes
  68. (800 bits) which takes nearly 160 usecs to pass under the heads at  3600
  69. RPM.   The  80286,  using  programmed I/O moves a word (2 bytes) in  six
  70. machine  cycles.   At 6Mhz,  it takes 256 usecs to obtain the  512  data
  71. bytes  just read,  thus,  there is not enough time to do so and be ready
  72. to read the next sector before that sector reaches the head.  Therefore,
  73. an interleave factor of at least 2 must be used.  This provides nearly a
  74. full  millisecond  (980.4  usecs) between the end of a  sector  and  the
  75. beginning of the next logical one.
  76.  
  77. That  means that the Data transfer rate which is theoretically  possible
  78. at  an interleave factor of 1 is cut in half when the factor becomes  2.
  79. Therefore,  the maximum theoretical data trasfer rate possible on such a
  80. system  is  261,120 bytes per second.   Similarly,  with  an  interleave
  81. factor of three we must divide the maximum posible by 3 to yield 174,080
  82. bytes per second, and so forth.
  83.