home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / xenix / sco / 3550 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  5.5 KB

  1. Xref: sparky comp.unix.xenix.sco:3550 biz.sco.general:4854
  2. Path: sparky!uunet!consult!bob
  3. From: bob@consult.UUCP (Bob Willey)
  4. Newsgroups: comp.unix.xenix.sco,biz.sco.general
  5. Subject: SCO Xenix w/SCSI Performance Testing/Results
  6. Keywords: SCSI Adaptec
  7. Message-ID: <74@consult.UUCP>
  8. Date: 28 Dec 92 02:45:22 GMT
  9. Organization: CCS Enterprises, Inc.
  10. Lines: 92
  11.  
  12.  
  13. >        OLD MACHINE                             NEW MACHINE
  14. > 386/33 w/8mb memory 64kcache           486/DX266 w/16mb memory 256k cache
  15. > Ultrastor 12F ESDI controller          Adaptec 1542 SCSI controller
  16. > Maxtor 338mb drive (~ 16ms)            HP 667 SCSI-2 drive (~13ms)
  17. > CMS Enhancement 250mb tape             Archive ST-525 mb tape (SCSI)
  18. > SCO Xenix 2.3.2                        SCO Xenix 2.3.4 GT
  19. >                  Tape backup results when using CTAR
  20. > Typical:  2.3mb/min                    Typical:  5.8mb/min
  21. > While the backup time is noticeable faster, the dd command for disk transfer
  22. > appears noticeable SLOWER on the new machine???  Is there anything obvious
  23. > in the above configuration that can cause problems?  Is there anything
  24. > special that needs to be done to the Adaptec controller to get better
  25. > performance??  This is very uncomforting since we are upgrading to obtain
  26. > more throughput.
  27.  
  28. Relative seek times aren't likely to make a noticable difference.  Most
  29. disks spin at 3600rpm (or the same order of magnitude), which is 16.67ms
  30. per revolution.  Obviously you can't get the data off a track faster
  31. than one revolution.  Also, you're reading consecutive tracks, so you're
  32. getting the "track-to-track" (fastest), not the average seek time.  The
  33. drives might be 4ms vs. 3ms in track-to-track, making only a 1ms
  34. difference out of ~20ms per track, optimum.  That's if the drive doesn't
  35. lose revolutions.  Much more important is the number of physical
  36. 512-byte sectors per track on the drive.  Ignore the translated
  37. parameters, get out the drive manuals and look up physical sectors/track
  38. when formatted 512 bytes/sector; and also rotational speed.  From these
  39. you can work out the fastest possible transfer rate off the disk.
  40.  
  41. Transfer rates are extremely sensitive to block sizes, and sometimes to
  42. raw device vs. block device, and (this one is weird) your results may be
  43. VERY different when accessing the whole-partition device (/dev/hd0a) vs.
  44. a division device (/dev/root), which is how you most likely normally
  45. access your data.  So, try the following variations on both machines.
  46. Make a table of the results.  Post it.
  47.  
  48.   time dd if=/dev/rhd0a of=/dev/null bs=2k count=8192 (original flavor)
  49.   time dd if=/dev/hd0a of=/dev/null bs=2k count=8192  (blk device)
  50.   time dd if=/dev/rhd0a of=/dev/null bs=256k count=64 (raw device, large blk)
  51.   time dd if=/dev/hd0a of=/dev/null bs=256k count=64  (blk device, large blk)
  52.  
  53.   time dd if=/dev/rroot of=/dev/null bs=2k count=8192 (divvy device, raw)
  54.   time dd if=/dev/root of=/dev/null bs=2k count=8192  ( ", blk)
  55.   time dd if=/dev/rroot of=/dev/null bs=256k count=64 ( ", raw, large blk)
  56.   time dd if=/dev/root of=/dev/null bs=256k count=64  ( ", blk, large blk)
  57.  
  58.   time dd if=/dev/rhd00 of=/dev/null bs=2k count=8192 (whole-disk, raw)
  59.   time dd if=/dev/hd00 of=/dev/null bs=2k count=8192  ( ", blk)
  60.   time dd if=/dev/rhd00 of=/dev/null bs=256k count=64 ( ", raw, large blk)
  61.   time dd if=/dev/hd00 of=/dev/null bs=256k count=64  ( ", blk, large blk)
  62.  
  63. That's 12 tests * 2 machines, have fun!  ;-}  Note that the third set
  64. will FAIL on the ESDI drive if there are any bad sectors in the first
  65. 16MB of the drive.  
  66.  
  67.   sh$ time dd if=/dev/DEVICE of=/dev/null bs=BLOCKSIZE count=COUNT
  68.   (BLOCKSIZE * COUNT = 16MB)
  69.  
  70. Results:
  71.                         -----Old System------  -----New System------
  72. DEVICE BLOCKSIZE COUNT  REALTIME USER  KERNEL  REALTIME USER  KERNEL
  73. ====== ========= =====  ======== ====  ======  ======== ====  ======
  74. rhd0a     2k     8192    25.4    0.2    5.0      38.8   0.2     1.6  
  75. hd0a      2k     8192    38.3    0.5   15.1      59.9   0.0    26.7
  76. rhd0a    256k     64     25.6    0.0    3.8      36.8   0.0     1.3
  77. hd0a     256k     64     25.6    0.0   12.9      59.6   0.0    26.5
  78. rroot     2k     8192    26.8    0.3    5.0      38.8   0.1     1.9
  79. root      2k     8192    34.4    0.5   15.6      59.6   0.1    26.9
  80. rroot    256k     64     25.9    0.0    3.8      36.9   0.0     1.8
  81. root     256k     64     25.9    0.0   13.0      59.6   0.0    26.7
  82. rhd00     2k     8192    25.4    0.5    4.7      38.8   0.1     1.8
  83. hd00      2k     8192    34.7    0.5   14.5      59.6   0.1    27.0
  84. rhd00    256k     64     25.7    0.0    3.7      36.9   0.0     1.9
  85. hd00     256k     64     27.0    0.0   13.1      59.7   0.0    27.0
  86.  
  87. Interpretation:
  88. Real conclusions: you'd better run some extensive tests like this before
  89. you can even begin to understand the transfer rate characteristics of
  90. your disk & CPU combination -- and that's only one small part of
  91. characterizing the overall performance of your disk subsystem.
  92.  
  93. Note:  I got the dd program from SCO Xenix 2.3.2 (386 binary) and was
  94. able to do 256K transfers.  There are the results included above.  Did 
  95. change some of the transfers (especially for 2k).  Hopefully I will get
  96. the SCSICNTL.EXE from adaptex this week.  I got the phone #, but the
  97. login: password: info was truncated, so I will await a reply.
  98. -- 
  99. >.. Bob Willey, CDP          ..  |  ..  uunet!consult!bob  bob@ccs.com   ..<
  100. >.. CCS Enterprises, Inc.    ..  |  ..   Office: (410) 820-4670          ..<
  101. >.. P.O. Drawer 1690         ..  |  ..      FAX: (410) 476-5261          ..<
  102. >.. Easton, Maryland 21601 ......|......... BBS: (410) 476-5098 ...........<
  103.