Hi zusammen,
ich habe eine WD800JB Festplatte, 80 GB, 8 MB Cache, die am Promise onBoard Controller meines Gigabyte GA-8IEXP hängt.
Mein Kernel hat Unterstützung für den Promise.
[code:1]
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_PDC202XX_BURST=y
CONFIG_PDC202XX_FORCE=y
[/code:1]
Wie folgt habe ich meine Platte mir hdparm "versehen":
[code:1]
hdparm -d1 -c3 -m16 -X69 /dev/hdf
[/code:1]
Allerdings ist die HDD nur sehr langsam, 28 MB/s, sie sollte allerdings mind. 40 MB/s schaffen.
[code:1]
root@gentoo:~# hdparm -tT /dev/hdf
/dev/hdf:
Timing buffer-cache reads: 1500 MB in 2.00 seconds = 750.00 MB/sec
Timing buffered disk reads: 86 MB in 3.05 seconds = 28.20 MB/sec
root@gentoo:~# hdparm /dev/hdf
/dev/hdf:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
root@gentoo:~# hdparm -I /dev/hdf
/dev/hdf:
ATA device, with non-removable media
Model Number: WDC WD800JB-00CRA1
Serial Number: WD-WMA8E3032421
Firmware Revision: 17.07W17
Standards:
Supported: 5 4 3 2
Likely used: 6
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 40 Queue depth: 1
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Host Protected Area feature set
* Look-ahead
* Write cache
* Power Management feature set
Security Mode feature set
SMART feature set
* Device Configuration Overlay feature set
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
* SMART self-test
* SMART error logging
Security:
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
HW reset results:
CBLID- above Vih
Device num = 1 determined by CSEL
Checksum: correct
[/code:1]
Was mir hier auffiel ist, dass sie nur im udma2 Mode betrieben wird:
[code:1]
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4 udma5
[/code:1]
Die Frage ist, warum?
Beim Booten wird HDD und Controller richtig erkannt:
[code:1]
Nov 20 17:08:25 gentoo kernel: PDC20276: chipset revision 1
Nov 20 17:08:25 gentoo kernel: PDC20276: not 100%% native mode: will probe irqs later
Nov 20 17:08:25 gentoo kernel: PDC20276: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER Mode.
Nov 20 17:08:25 gentoo kernel: ide2: BM-DMA at 0xc400-0xc407, BIOS settings: hde:pio, hdf:pio
Nov 20 17:08:25 gentoo kernel: ide3: BM-DMA at 0xc408-0xc40f, BIOS settings: hdg:pio, hdh:pio
Nov 20 17:08:25 gentoo kernel: hda: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive
Nov 20 17:08:25 gentoo kernel: hdb: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
Nov 20 17:08:25 gentoo kernel: hdc: _NEC DVD_RW ND-1300A, ATAPI CD/DVD-ROM drive
Nov 20 17:08:25 gentoo kernel: hde: WDC WD800JB-00CRA1, ATA DISK drive
Nov 20 17:08:25 gentoo kernel: hdf: WDC WD800JB-00CRA1, ATA DISK drive
Nov 20 17:08:25 gentoo kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov 20 17:08:25 gentoo kernel: ide1 at 0x170-0x177,0x376 on irq 15
Nov 20 17:08:25 gentoo kernel: ide2 at 0xb400-0xb407,0xb802 on irq 11
Nov 20 17:08:25 gentoo kernel: blk: queue c017227c, I/O limit 4095Mb (mask 0xffffffff)
Nov 20 17:08:25 gentoo kernel: hde: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(33)
Nov 20 17:08:25 gentoo kernel: blk: queue c01723bc, I/O limit 4095Mb (mask 0xffffffff)
Nov 20 17:08:25 gentoo kernel: hdf: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=155061/16/63, UDMA(33)
Nov 20 17:08:25 gentoo kernel: Partition check:
Nov 20 17:08:25 gentoo kernel: /dev/ide/host2/bus0/target0/lun0: [PTBL] [9729/255/63] p1 p2 < p5 p6 p7 >
Nov 20 17:08:25 gentoo kernel: /dev/ide/host2/bus0/target1/lun0: [PTBL] [9729/255/63] p1 p2 < p5 p6 p7 p8 p9 p10 >
[/code:1]
Hat jemand einen Tipp warum ich so schlechte Performance habe?