Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Christoph Zens <e9126506@student.tuwien.ac.at>
To: Quant-X Alpha Linux Support <support@quant-x.com>
Cc: axp-list@redhat.com
Subject: assigning SCSI IDs (Re: ...and went SCSI the Cabriolet)
Date: Sun, 16 Aug 1998 12:25:17 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.3.95.980816102402.594A-100000@alpha.home.at> (raw)
In-Reply-To: <199808121857.UAA00925@stefan.sime.com>


> 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 <e9126506@student.tuwien.ac.at>



  parent reply	other threads:[~1998-08-16 10:25 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-11 22:43 Took the plunge and went SCSI the Cabriolet dca2
1998-08-11 23:15 ` Jeff Sturm
1998-08-11 23:38   ` dca2
1998-08-12  0:50     ` dca2
1998-08-12  4:05       ` Maurice Hilarius
1998-08-12  4:03     ` Maurice Hilarius
1998-08-12  4:22       ` dca2
1998-08-12  4:31         ` Maurice Hilarius
1998-08-12  4:41           ` dca2
1998-08-12  8:15   ` Geert Uytterhoeven
1998-08-12  3:45 ` Maurice Hilarius
1998-08-12  4:15   ` Brian E.W. Wood
1998-08-12  5:12     ` Chris Price
1998-08-12  7:48     ` Randal Carpenter
1998-08-12  7:54     ` Michal Jaegermann
1998-08-12 18:57 ` Quant-X Alpha Linux Support
1998-08-13  3:34   ` Keith Baker
1998-08-13  2:46     ` Brian E.W. Wood
1998-08-16 10:25   ` Christoph Zens [this message]
1998-08-17  9:44     ` assigning SCSI IDs (Re: ...and went SCSI the Cabriolet) Quant-X Alpha Linux Support
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox