scsi_chains

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Sun, 20 Feb 2000 13:30:17 -0700
From: "D. Stimits" <stimits@idcomm.com>
Subject: Re: SCSI devices on one bus

Keith Rhodes wrote:
> 
> I seem to remember a while ago having read that is devices
> of varying speeds are connected to the same SCSI bus, all
> the devices on that bus run at the speed of the slowest
> device.
> 
> 1. Is this in essence true?

Yes.

> 2. If a SCSI card has an internal connecter and an external
> connecter, are the external devices on the same bus as the
> internal devices?

It depends on the hardware. I know on the integrated Adaptec 7890/7895
boards that have both a 50 pin and larger pin connector, the 50 is
sitting on the faster uw or u2w bus; adding something slow to the bus
will slow all on it. During bootup, you should see a bios or other
scsi detection routine, and most likely it will tell you which chain
it is on. On my dual chain, I keep only slow devices on one chain,
including a SCSI cd rom, and all the faster stuff on the other chain.

> 
> If this is the case, then surely it is better to have two
> SCSI cards... a slower (ergo cheaper?) card for slow devices
> e.g. CD burner, tape streamer, and a second, fast card for
> hard disks.

Correct. Otherwise you lose performance.

> 
> KR.

Path: nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.idt.net!newsfeed.mathworks.com!cam-news-hub1.bbnplanet.com!lsanca1-snf1!news.gtei.net!newsfeed2.earthlink.net!newsfeed.earthlink.net!nntp.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail
Mime-Version: 1.0
X-Newsreader: knews 1.0b.1
Organization: Disgruntled Micro$oft Refugees
References: <38B044A9.98830341@club-internet.fr>
    <38B04ED9.A060CC16@idcomm.com>
From: ericp@earthlink.net (Eric Potter)
Subject: Re: SCSI devices on one bus
Newsgroups: comp.os.linux.hardware
Content-Type: text/plain; charset=us-ascii
Lines: 17
Message-ID: <Vpes4.24814$Zp1.856362@newsread1.prod.itd.earthlink.net>
Date: Mon, 21 Feb 2000 17:16:37 GMT
NNTP-Posting-Host: 209.178.160.57
X-Complaints-To: abuse@earthlink.net
X-Trace: newsread1.prod.itd.earthlink.net 951153397 209.178.160.57 (Mon, 21 Feb 2000 09:16:37 PST)
NNTP-Posting-Date: Mon, 21 Feb 2000 09:16:37 PST
Xref: nntp.stanford.edu comp.os.linux.hardware:220862

[snip]
> 
>> 
>> If this is the case, then surely it is better to have two
>> SCSI cards... a slower (ergo cheaper?) card for slow devices
>> e.g. CD burner, tape streamer, and a second, fast card for
>> hard disks.
> 
> Correct. Otherwise you lose performance.
> 

Strictly speaking, I believe you'll only lose performance if the slower device
is in use.  All good SCSI adapters will feature auto disconnect, which as the
name implies, will electronically disconnect an idle device from the SCSI chain.
Try to figure out how much you will be using these extra devices to determine
if it is worth it for you to buy a second card.
  

Path: nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newshub2.home.com!news.home.com!news.rdc2.mi.home.com.POSTED!not-for-mail
From: stu@c49395-a.wodhvn1.mi.home.com (Stuart R. Fuller)
Subject: Re: SCSI devices on one bus
Newsgroups: comp.os.linux.hardware
References: <38B044A9.98830341@club-internet.fr>
Reply-To: stufuller@usa.net
Distribution: world
Lines: 20
X-Newsreader: TIN [UNIX 1.3 BETA-950824-16colors PL0]
Message-ID: <a57s88.47n.ln@localhost>
Date: Mon, 21 Feb 2000 21:10:04 GMT
NNTP-Posting-Host: 24.2.253.183
X-Complaints-To: abuse@home.net
X-Trace: news.rdc2.mi.home.com 951167404 24.2.253.183 (Mon, 21 Feb 2000 13:10:04 PST)
NNTP-Posting-Date: Mon, 21 Feb 2000 13:10:04 PST
Organization: @Home Network
Xref: nntp.stanford.edu comp.os.linux.hardware:220909

Keith Rhodes (klrhodes@club-internet.fr) wrote:
: I seem to remember a while ago having read that is devices
: of varying speeds are connected to the same SCSI bus, all
: the devices on that bus run at the speed of the slowest
: device.
: 
: 1. Is this in essence true?

NO, IT IS NOT TRUE!

The controller will query each device and run the bus at the fastest speed
that the device and controller can do.  For slower devices, it'll run at the
slower device's speed.  For faster devices, it'll run the bus at the faster
device's speed.  The bus runs at the fastest speed that each device will run
at.

Now, if you have a stupid tape drive that won't disconnect from the bus while
it's rewinding, then everything stops while it rewinds.

        Stu

Message-ID: <38B1E876.D7D3DFBF@idcomm.com>
Date: Mon, 21 Feb 2000 18:37:58 -0700
From: "D. Stimits" <stimits@idcomm.com>
Reply-To: stimits@idcomm.com
X-Mailer: Mozilla 4.61 [en] (X11; U; Linux 2.2.12 i686)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.linux.hardware
Subject: Re: SCSI devices on one bus
References: <38B044A9.98830341@club-internet.fr> <a57s88.47n.ln@localhost>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: x2-pip59.idcomm.com
X-Original-NNTP-Posting-Host: x2-pip59.idcomm.com
X-Trace: 21 Feb 2000 18:16:39 -0700, x2-pip59.idcomm.com
Lines: 31
X-Original-NNTP-Posting-Host: superego.idcomm.com
Path: nntp.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!hermes.visi.com!news-out.visi.com!pulsar.dimensional.com!dimensional.com!mindmeld.idcomm.com!x2-pip59.idcomm.com
Xref: nntp.stanford.edu comp.os.linux.hardware:220953

"Stuart R. Fuller" wrote:
> 
> Keith Rhodes (klrhodes@club-internet.fr) wrote:
> : I seem to remember a while ago having read that is devices
> : of varying speeds are connected to the same SCSI bus, all
> : the devices on that bus run at the speed of the slowest
> : device.
> :
> : 1. Is this in essence true?
> 
> NO, IT IS NOT TRUE!
> 
> The controller will query each device and run the bus at the fastest speed
> that the device and controller can do.  For slower devices, it'll run at the
> slower device's speed.  For faster devices, it'll run the bus at the faster
> device's speed.  The bus runs at the fastest speed that each device will run
> at.
> 
> Now, if you have a stupid tape drive that won't disconnect from the bus while
> it's rewinding, then everything stops while it rewinds.
> 
>         Stu

There is another possible complication. Sometimes there is also a
different electrical specification, not just speed. In particular, low
voltage differential (LVD) drives may function on a chain with other
hardware that is not LVD, but even if those drives disconnect
*control* of the bus, I have to wonder if maybe LVD can be achieved by
any device on the bus (the other hardware is still on the chain, even
if it isn't controlling it). I'd be interested if anyone knows for
sure on that subject, since I'm doing some guessing.

Path: nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!chnws03.mediaone.net!24.128.1.101!cyclone.ne.mediaone.net!24.128.8.202!typhoon.ne.mediaone.net.POSTED!not-for-mail

===

Subject: Re: SCSI devices on one bus
From: Johan Kullstam <kullstam@ne.mediaone.net>
Date: Tue, 22 Feb 2000 03:53:55 GMT

"D. Stimits" <stimits@idcomm.com> writes:

> "Stuart R. Fuller" wrote:
> > 
> > Keith Rhodes (klrhodes@club-internet.fr) wrote:
> > : I seem to remember a while ago having read that is devices
> > : of varying speeds are connected to the same SCSI bus, all
> > : the devices on that bus run at the speed of the slowest
> > : device.
> > :
> > : 1. Is this in essence true?
> > 
> > NO, IT IS NOT TRUE!
> > 
> > The controller will query each device and run the bus at the fastest speed
> > that the device and controller can do.  For slower devices, it'll run at the
> > slower device's speed.  For faster devices, it'll run the bus at the faster
> > device's speed.  The bus runs at the fastest speed that each device will run
> > at.
> > 
> > Now, if you have a stupid tape drive that won't disconnect from the bus while
> > it's rewinding, then everything stops while it rewinds.
> > 
> >         Stu
> 
> There is another possible complication. Sometimes there is also a
> different electrical specification, not just speed. In particular, low
> voltage differential (LVD) drives may function on a chain with other
> hardware that is not LVD, but even if those drives disconnect
> *control* of the bus, I have to wonder if maybe LVD can be achieved by
> any device on the bus (the other hardware is still on the chain, even
> if it isn't controlling it). I'd be interested if anyone knows for
> sure on that subject, since I'm doing some guessing.

see <URL:http://www.scsifaq.org/>

the bus is *either* in LVD *or* in single ended (SE) mode.  if any
device is SE, then the whole bus is operated in SE.

once in SE mode, you can mix fast and slow devices without slowing
each other down.  they don't have to talk to each other, just to the
controller.  

for example, with a UW controller, a UW hard drive and a fast, narrow
(FN) CD-R, the hard disk can still talk at 40MB/sec despite the
presence of the 10MB/sec limited CD-R.

however, when they are using the bus, slow/narrow devices occupy
more time on the bus and can cut into the total throughput of the
bus.  in the above case, the CD-R will occupy 4 times as many time
slots as the hard disk to move the same amount of data.  (i dislike
referring bandwidth because the scsi bus is *not* frequency sliced,
but time sliced.)

-- 
J o h a n  K u l l s t a m
[kullstam@ne.mediaone.net]
Don't Fear the Penguin!

Path: nntp.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!cyclone-east.rr.com!news.rr.com!news-east.rr.com!cyclone-west.rr.com!news.rr.com|news-west.rr.com!newsf2.san.rr.com!typhoon2.san.rr.com.POSTED!not-for-mail
Message-ID: <38B216B6.19D2967C@acm.org>
From: "Robert W. Cunningham" <rcunning@acm.org>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.12-20 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.os.linux.hardware
Subject: Re: SCSI devices on one bus
References: <38B044A9.98830341@club-internet.fr> <a57s88.47n.ln@localhost> <38B1E876.D7D3DFBF@idcomm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 23
Date: Tue, 22 Feb 2000 04:55:23 GMT
NNTP-Posting-Host: 24.30.132.112
X-Complaints-To: abuse@rr.com
X-Trace: typhoon2.san.rr.com 951195323 24.30.132.112 (Mon, 21 Feb 2000 20:55:23 PST)
NNTP-Posting-Date: Mon, 21 Feb 2000 20:55:23 PST
Organization: Time Warner Cable of San Diego, CA
Xref: nntp.stanford.edu comp.os.linux.hardware:220975

"D. Stimits" wrote:

> There is another possible complication. Sometimes there is also a
> different electrical specification, not just speed. In particular, low
> voltage differential (LVD) drives may function on a chain with other
> hardware that is not LVD, but even if those drives disconnect
> *control* of the bus, I have to wonder if maybe LVD can be achieved by
> any device on the bus (the other hardware is still on the chain, even
> if it isn't controlling it). I'd be interested if anyone knows for
> sure on that subject, since I'm doing some guessing.

That's right.  A SCSI bus is capable of LVD operation ONLY when ALL devices on
that cable are capable of LVD operation.  Otherwise, LVD devices fall back to
normal bus drive circuitry.  There is the odd case where one controller talks to
two cables of differing width or impedance, and if the controller terminates and
drives each cable separately, then LVD and non-LVD devices can share the same SCSI
address space, but not the same cable.  The Diamond FirePort 40 uses this trick to
talk to devices on separate 8-bit and 16-bit cables (though it is not LVD
capable).

-BobC




the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu