Two IDE drives up, Thanks!

Two IDE drives up, Thanks!

Post by Bill McCart » Sun, 26 Jun 1994 09:27:36

Just want to thank all who responded with suggestions re. my two IDE
drives and linux and dos. Got them up and booting. Thanks a lot. Nothin
like the 'net for good folk and plenty help!

Bill McCarthy

{new .sig under construction. CAUTION: we whistle at women.}
Linux + i486dx2/66 = neato!
cat bin/usual | sed -e 's/company opinons/ /my opinions/g' > disclaimer


1. Weird IDE performance issue with two IDE drives

Hi everyone,

I've been fruitlessly googling for days now trying to find an answer
to this issue, and have given up - so, following the advice in the
UDMA Mini-HOWTO, I'm posting this here :)

I have two IDE hard drives in my linux box, one is a Western Digital
Caviar WDC WD204BB, the other is an IBM Deskstar IC35L060AVER07-0.

I've been trying to use hdparm to get maximum performance out of both,
but so far, unsuccessfully.

Currently the WD is giving me buffered disc reads of ~25MB/s, but the
deskstar won't get much above ~6MB/s.

Here are the settings from hdparm for both drives :

Western Digital
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 2482/255/63, sectors = 39876480, start = 0

 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 7476/255/63, sectors = 120103200, start = 0

Once upon a time, both drives were on the same channel (i.e. as hda
and hdb) but someone suggested moving them to different channels to
see if it was the Master/Slave relationship that was the problem -
however, such does not appear to be the case - with much cursing I've
managed to recable everything into a working state inside the box so
that the drives are on different channels now.

IDE0 channel is also now sporting the DVD drive that used to be on
IDE1, and the CD-RW is still on IDE1 with the IBM now.

With this setup I get the following numbers (not run in single user
mode, so excuse me :) )

 Timing buffer-cache reads:   128 MB in  0.85 seconds =150.59 MB/sec
 Timing buffered disk reads:  64 MB in  2.75 seconds = 23.27 MB/sec

 Timing buffer-cache reads:   128 MB in  0.88 seconds =145.45 MB/sec
 Timing buffered disk reads:  64 MB in 15.28 seconds =  4.19 MB/sec

Crappy huh ?

Anyone got any ideas?

FWIW, the hdc drive (the deskstar) is the drive with the OS installed
on it, /dev/hda is only mounted under /opt and contains all my mp3s


2. i386/dmi_scan updates

3. Two-channel ide controllers + 3rd ide drive?

4. What was this miscreant looking for?

5. Added a second drive to second IDE channel.

6. AIX 3.2 VFIFO question

7. Is it possible to boot from a SCSI drive if two IDE drives are installed?

8. LILO Won't Install - PLEASE HELP

9. Large IDE Hard Drive as a Second Hard Drive

10. SCSI and IDE Drives - can't detect IDE drives

11. Shape Ups,Men's Shape Ups,Men's Skechers Shape Ups - new styles!

12. FreeBSD on second IDE drive

13. Second IDE Drive on IBM PS/1