home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13518 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  4.0 KB

  1. Path: sparky!uunet!sun-barr!olivea!sgigate!odin!atl380.atlanta.sgi.com!georges
  2. From: georges@atl380.atlanta.sgi.com (George Smith)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: SCSI disconnect or lack thereof in kernel/devices
  5. Message-ID: <1992Sep11.120817.3032@odin.corp.sgi.com>
  6. Date: 11 Sep 92 12:08:17 GMT
  7. References: <2935@contex.contex.com>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Organization: Silicon Graphics, Inc.
  10. Lines: 73
  11. Nntp-Posting-Host: atl380.atlanta.sgi.com
  12.  
  13.  
  14.  I'll take a stab at this one.. Dave can straighten out in incorrect info.
  15.  
  16. In article <2935@contex.contex.com>, jeff@hobbes.contex.com (Jeff Carey) writes:
  17. |> 
  18. |> We have a SCSI device attached to a SGI PI25 running IRIX 4.0.5A that I know
  19. |> does not support SCSI disconnect.
  20. |> The kernel, in particular /usr/sysgen/master.d/scsi, has not been changed.
  21. |> There is a line in there that currently reads:
  22. |> int scsi_enable_disconnect[SC_MAXADAP] = {1,1,1,1};
  23. |> 
  24. |> The device seems to work, and just as importantly, the whole system seems
  25. |> to work just fine while using the non-disconnecting device.  Obviously,
  26. |> the SCSI bus is locked down when said device is being accessed.
  27. |> 
  28.  
  29.   By default we allow SCSI devices to disconnect from the bus. A device is not
  30. required to do so however. The problem comes from the fact that our SCSI
  31. devices, disks, tapes, etc do disconnect and your device doesn't. The disconnected
  32. devices are expected  to reconnect to their initiator with in a timeout period which is
  33. around 30 seconds for the disk drives. If they cannot the SCSI bus will be reset.
  34. Hence your message on the console and SYSLOG that a timeout has occurred and the 
  35. SCSI bus has been reset. 
  36.   Since SCSI device activity is outside of a user's control ( to some extent anyway)
  37. one can never be sure how long is too long to hold the bus. Hence with non-disconnecting
  38. devices you may run in to trouble even if the device only holds the bus for short periods
  39. of time. For devices which require many seconds of bus time you will almost allways
  40. run into problems.
  41.  
  42. |> My questions are:
  43. |> 1.  Is it necessary for some as-yet unrecognized reason to disable disconnect
  44. |>     on the host adapter with said device?
  45.  
  46.   Yes. (see above)
  47.  
  48. |> 2.  Is it beneficial (integrity, speed, dependability-wise) to disable
  49. |>     disconnect on the host adapter?
  50.  
  51.  Generally system performance will suffer when not allowing disconnects. In particular
  52. if you are using a tape device with a high SCSI id (often SCSI id 7 on SGI machines).
  53. The higher the SCSI id the higher the arbitration priority for the SCSI bus. With
  54. tape devices taking the bus often and for long periods of time system performance
  55. goes down the tubes.
  56.  
  57. |> 3.  Should I expect similar success(/failure) rates on other machines, such
  58. |>     as PI35s, Indigos, Crimsons (with their two host adapters), etc?  (I can
  59. |>     not imagine graphics options 8-bit, Elan, etc. would have any affect.)
  60. |> 
  61.   Any SCSI bus will in general have the same problems with non-disconnecting devices.
  62. On the ASD machines ( Crimsons, etc) with a IO3 there are two SCSI buses. If one
  63. is used for you device and the other for you disks then system performance should not
  64. be impacted to the same extent as a single SCSI bus. Also I believe on the IO3 you
  65. could allow disconects on one bus while disallowing disconnects on the other so impact
  66. might be eliminated. ( Dave can confirm/deny this..)
  67.  
  68. |> Could someone (Dave) expound on the usage and potential advantages of the
  69. |> scsi_enable_disconnect variable beyond what the comments in the
  70. |> /usr/sysgen/master.d/scsi file and the last note in the dks(7M) man page
  71. |> say when using non-disconnecting devices.
  72. |> 
  73. |> Thanks for all your help,
  74. |> 
  75. |> -jeff
  76. |> 
  77. |> -- 
  78. |> Jeff Carey
  79. |> jeff@contex.com       (or: contex!jeff@uunet.uu.net)
  80.  
  81. -- 
  82. + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +
  83. |  George Smith  (Systems Engineer) | ph.(404)392-1333              |
  84.    Silicon Graphics Inc.              Email: georges@sgi.com         
  85. |  Atlanta,Ga.                      | Vaya con Dios            |
  86.