Hi,
I have 2 harddrive: maxtor 60GB (/dev/hda, master) and seagate 20GB (/dev/hdb, slave) connected by Parallel ATA (ide0) and another harddrive: maxtor 120GB (/dev/hde) connected by SATA (ide2). In addition to that, /dev/hdc is CDRW and /dev/hdd is DVDRW. My motherboard runs on nForce2 chipset.
Currently I'm getting very slow performance on /dev/hda (but not /dev/hdb and /dev/hde). I have enabled DMA to no avail. Here's the information churned out by my computer (/dev/hdb and /dev/hde is given as reference).
# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 1560 MB in 2.00 seconds = 779.73 MB/sec
Timing buffered disk reads: 4 MB in 8.92 seconds = 459.01 kB/sec #This reading varies between 400kB/s to 700kB/s which is unacceptably slow
# hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 120103200, start = 0
# hdparm -i /dev/hda
/dev/hda:
Model=Maxtor 6Y060L0, FwRev=YAR41BW0, SerialNo=Y2SXS03E
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=120103200
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
Reading of /dev/hdb:
# hdparm -Tt /dev/hdb
/dev/hdb:
Timing cached reads: 1408 MB in 2.00 seconds = 702.35 MB/sec
Timing buffered disk reads: 66 MB in 3.06 seconds = 21.56 MB/sec
# hdparm /dev/hdb
/dev/hdb:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 39761/16/63, sectors = 40079088, start = 0
#hdparm -i /dev/hdb
/dev/hdb:
Model=ST320430A, FwRev=3.11, SerialNo=7BX0A09R
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=0
BuffType=unknown, BuffSize=512kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=40079088
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version: 1 2 3 4
* signifies the current active mode
Reading from /dev/hde:
# hdparm -Tt /dev/hde
/dev/hde:
Timing cached reads: 1500 MB in 2.00 seconds = 750.11 MB/sec
Timing buffered disk reads: 160 MB in 3.01 seconds = 53.22 MB/sec
# hdparm /dev/hde
/dev/hde:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 240121728, start = 0
# hdparm -i /dev/hde
/dev/hde:
Model=Maxtor 6Y120M0, FwRev=YAR511W0, SerialNo=Y3NYTLTE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7936kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=240121728
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: disabled (255) WriteCache=enabled
Drive conforms to: (null):
* signifies the current active mode
PCI reading:
# lspci | grep IDE
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
#dmesg
...
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda

MA, hdb

MA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc

MA, hdd

MA
Probing IDE interface ide0...
hda: Maxtor 6Y060L0, ATA DISK drive
hdb: ST320430A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: TDK CDRW401248B, ATAPI CD/DVD-ROM drive
hdd: TSSTcorpCD/DVDW TS-H552U, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
SiI3112 Serial ATA: IDE controller at PCI slot 0000:01:05.0
SiI3112 Serial ATA: chipset revision 1
SiI3112 Serial ATA: 100% native mode on irq 11
ide2: MMIO-DMA , BIOS settings: hde

io, hdf

io
ide3: MMIO-DMA , BIOS settings: hdg

io, hdh

io
Probing IDE interface ide2...
hde: Maxtor 6Y120M0, ATA DISK drive
ide2 at 0xe081c080-0xe081c087,0xe081c08a on irq 11
hda: max request size: 128KiB
hda: 120103200 sectors (61492 MB) w/2048KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 >
hdb: max request size: 128KiB
hdb: 40079088 sectors (20520 MB) w/512KiB Cache, CHS=39761/16/63, UDMA(33)
hdb: cache flushes not supported
hdb: hdb1 hdb2 hdb3
hde: max request size: 64KiB
hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63
hde: cache flushes supported
hde: hde1 hde2 hde3 hde4 < hde5 hde6 hde7 hde8 >
hdc: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33)
The driver for IDE is compiled directly into kernel, not as module, otherwise DMA can't be turned on (the module's name, when compiled as module, is, I think, amd7xxx).
Any help will be greatly appreciated. Thank you very much.
cHeers.
Chris