From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 2234 invoked from network); 16 Aug 1998 10:25:46 -0000 Received: from stud1.tuwien.ac.at (193.170.75.11) by mail2.redhat.com with SMTP; 16 Aug 1998 10:25:46 -0000 Received: from alpha.home.at (root@e30.dialin.tuwien.ac.at [192.35.243.190]) by stud1.tuwien.ac.at (8.8.8/8.8.8) with ESMTP id MAA45534; Sun, 16 Aug 1998 12:26:45 +0200 Received: from localhost (root@localhost) by alpha.home.at (8.8.5/8.8.5) with ESMTP id MAA01156; Sun, 16 Aug 1998 12:25:17 +0200 Date: Sun, 16 Aug 1998 12:25:17 +0200 (CEST) From: Christoph Zens Reply-To: Christoph Zens To: Quant-X Alpha Linux Support cc: axp-list@redhat.com Subject: assigning SCSI IDs (Re: ...and went SCSI the Cabriolet) In-Reply-To: <199808121857.UAA00925@stefan.sime.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT > Oachkatzlschwoaf ! DŽEhre > An (bad ?) example: If you have an old streamer without > disconnect/reconnect support it maybe loose > the "selection war" if it has a lower SCSI-ID. Yes, a bad example as there are hardly any devices without disconnect because they are quite unusable in most serious applications. > I really suggest to use id 0 for the first harddrive and so on. > It's not worth to care about selection priority in 99.9999% of > all cases, and most people will do it that way. (This is not > a real argument !) Agreed. Using only disconnect-able devices, the SCSI-recommended solution is to assign higher priorities (IDs) to devices having longer access times. In detail, assign IDs starting from 0 upwards to your hard-drives and from 6 downwards to tapes, CDROMs, ZIPs and so on. This uses the fact, that a device with long access times disconnects for some milliseconds after receiving a command (accessing the data) and thus can never lock up the bus seriously. The specified bus-free-delay is only 800ns, so there remains plenty of time for other devices to start a bus arbitration phase. A fast HD could send a lot of data using just the seek-window of a slow device, completing the transfer even before the slow device is ready again. If you do it the other way round (assign high IDs to fast devices) chances are, that a very fast HD blocks (by nearly sustained bus usage) a CDROM or something at lower IDs. However, this is valid only for target reconnects, as the host adapter uses the highest ID availabe and therefore is able to gain access to the bus at any time and initiate a new connection to whatever device it likes. As can be seen (every new connection is made by the host adapter), there is also a big dependency on the OS-level priority of the tasks demanding access to SCSI devices (and the device drivers in general) because owning ID 7 for the host adapter, the OS has priority over all SCSI devices. > PS.: I hope that you are totally confused now ;-} I wonder if IBM-HDs come with ID 6 jumpered because IBM didnŽt read the papers or becaus they know that the user will be able to set every useful ID (7 doesnŽt count) with two or less jumpers, so they provide the user with 2 of them by setting ID 6 (could have been 3 or 5 also). -- _ _ // \X/ Christoph Zens