home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!boulder!caesar!drew
- From: drew@caesar.cs.colorado.edu (Drew Eckhardt)
- Newsgroups: comp.os.linux
- Subject: Re: SCSI vs IDE speed difference
- Message-ID: <1992Jul27.195851.20374@colorado.edu>
- Date: 27 Jul 92 19:58:51 GMT
- References: <14ve4sINNci7@agate.berkeley.edu>
- Sender: news@colorado.edu (The Daily Planet)
- Distribution: usa
- Organization: University of Colorado at Boulder
- Lines: 48
- Nntp-Posting-Host: caesar.cs.colorado.edu
-
- In article <14ve4sINNci7@agate.berkeley.edu> vojta@powdermilk.berkeley.edu (Paul Vojta) writes:
- >Various messages on comp.os.linux seem to indicate that it's faster to have
- >a SCSI disk than an IDE.
-
- Not with the current SCSI drivers. The "normal" disk driver will tell
- the disk controller to read X contigous blocks with one command, and
- will interrupt for each sector. Since the Minix fs code does a two
- block read ahead, that will typically be 6 sectors.
-
- The SCSI code needs to do one command per block, which means 2 sectors
- per command, and it will interrupt once per command.
-
- You loose a lot from the overhead of one command per block (ie, having to go
- through ARBITRATION / SELECTION / MESSAGE OUT / COMMAND OUT phases) as opposed
- to one command per X blocks. This means the current SCSI drivers are
- slower by almost a factor of 3.
-
- The new SCSI drivers (under development) will scatter / gather, and
- do all contigous reads as one SCSI command. With a bus mastering controller
- like the Adaptec, you'll see one interrupt when it's done, use a minimal amount
- of CPU time, and will see considerably better performance than IDE.
-
- I suspect that a larger block size, and bigger read ahead, will give
- better performance under both SCSI and IDE.
-
- >Yet, in the second-most-recent PC magazine, IDE drives come out best, unless
- >you have a caching controller on an EISA bus. They state that the faster
- >transfer speed of SCSI is not a factor, since the transfer speed is limited
- >anyway by how fast the disk spins. Their benchmarks were for DOS, but it
- >seems to me that their comment would apply to Linux, too.
- >
-
-
- Both SCSI and IDE can have on board buffers. If your drive is doing
- readahead, like most modern disks do, the faster transfer speed will
- be an issue.
-
- Also, IDE does not make sense in multiple disk installations. With SCSI,
- the drive will DISCONNECT when it is seeking, and another disk can use
- the bus. With IDE that doesn't happen.
-
- >So, since I am currently shopping for a system to run Linux on, which should
- >I get? Specific benchmarks, if available, would be appreciated.
- >
- >--Paul Vojta, vojta@math.berkeley.edu
-
- Unless you want to wait for a SCSI tape driver, or need a single large disk
- (large defined as > 300M), IDE is probably your best bet.
-