Article View: news.software.nntp
Article #23230Re: Stripe versus no Stripe filesystems
From: Matt Dillon
Date: Thu, 13 Nov 1997 00:00
Date: Thu, 13 Nov 1997 00:00
66 lines
3433 bytes
3433 bytes
:In article <19971113142747.296$6Y@newsreader.com>,
:Curt Welch <curt@kcwc.com> wrote:
:>Mike Wilson <mwilson@flash.net> wrote:
:>> He claims since the drives are connected in a serial you can't have more
:>> than one command running to a drive at a time.
:>
:>I don't know much about scsi at that level, but I know from experience that
:>this just isn't true.
:>
:>I think the way it works on scsi is that you issue read and write
:>commands, but then free the bus for use by other drives. So while one
:>drive is busy getting the data, you can still issue commands to the
:>other drives. One controller and one scsi bus can keep a large number of
:>drives busy at once.
Not only can you have commands queued to several different physical
drives simultaniously, you can have SEVERAL commands queued to EACH
physical drive simultaniously.
We use one UW SCSI controller on each of our machines. The only
limitation is the transaction rate. The controller is limited
to around 500 or 600 transactions/sec. A typical drive does not use
more then 100 transactions/sec (this isn't sectors, this is commands.
One transaction may transfer dozens of sectors).
Thus, one controller will support at least four or five drives. Disk
bandwidth is not an issue either... disks tends to be seek limited
and a UW SCSI bus is capable of 40 MBytes/sec... and can actually achieve
that number.
You've probably heard of 'disconnection' with SCSI. This is usually
the default. It means that the controller sends the device a SCSI
command, then 'disconnects', freeing the SCSI bus. When the device
completes the command and wants to return status, it signals the
controller and the controller then 'reconnects' to the device to
read the data and/or status.
While the device is busy chomping on a command, the controller is free
to issue another command to another device or even issue another command
to the same device. Controllers typically have chained DMA able to
support between 16 and 256 queued commands.
The top half dozen disk drive brands support tagged command queueing. I
personally believe that Seagate has the best SCSI firmware of all the
brands, though.
:>It's true that only one drive at a time can use the bus, but the command
:>structure is complex enough to allow all the drives to be kept busy
:>at the same time.
:>
:>To maximize performance, you need to balance your I/O across all the
:>drives.
:>
:>--
:>Curt Welch http://CurtWelch.Com/
:>curt@kcwc.com Webmaster for http://NewsReader.Com/
Exactly.
-Matt
Technical Details
Message-ID:
<64fmg3$pna$1@flea.best.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<346B415A.24C6FC6B@flash.net> <19971113142747.296$6Y@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <64fmg3$pna$1@flea.best.net> Subject: Re: Stripe versus no Stripe filesystems Date: Thu, 13 Nov 1997 00:00:00 +0000 From: dillon@best.net (Matt Dillon) References: <346B415A.24C6FC6B@flash.net> <19971113142747.296$6Y@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 289312302 X-Trace: 879451460 19032 dillon 206.184.139.132 Organization: Best Internet Communications, Inc. - 650 964 BEST Newsgroups: news.software.nntp