Re: Awful hard drive performance



On Thu, 31 Jul 2008 13:29:58 -0500, Robert Heller wrote:

On Thu, 31 Jul 2008 13:29:58 -0500, Robert Heller wrote:

At Thu, 31 Jul 2008 15:39:53 +0000 (UTC) "James H. Newman"
<NewJames@xxxxxxxxxxx> wrote:


I have a box running Slackware 11 with a 2.6.19.1 kernel. This
box
has two IDE disks, which at boot time are detected as follows:

Probing IDE interface ide0...
hda: SAMSUNG SP0802N, ATA DISK drive
hdb: WDC WD1200JB-00EVA0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on
irq 14
Probing IDE interface ide1...
Probing IDE interface ide1...
hda: max request size: 512KiB
hda: 156368016 sectors (80060 MB) w/2048KiB Cache, CHS=16383/255/63,
UDMA (100)
hda: cache flushes supported
hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
hdb: max request size: 512KiB
hdb: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63,
UDMA (100)
hdb: cache flushes supported
hdb: hdb1

With more detail, the lshw application returns this
information:

*-disk:0
description: ATA Disk
product: SAMSUNG SP0802N
physical id: 0
bus info: ide@xxx
logical name: /dev/hda
version: TK200-04
serial: S00JJ40Y284813
size: 74GB
capacity: 74GB
capabilities: ata dma lba iordy smart security pm partitioned
partitioned:dos
configuration: mode=udma5 smart=on

*-disk:1
description: ATA Disk
product:WDCWD1200JB-
00EVA0
vendor: Western
Digital
physical id: 1
bus info:
ide@xxx
logical name: /dev/hdb
version:
15.05R15
serial: WD-WMAEK2624312
size:
111GB
capacity:
111GB
capabilities: ata dma lba iordy smart security pm partitioned
partitio
ned:dos
configuration: mode=udma5
smart=on

When I run the hdparm command on them (either of them) this is what I
get:

/dev/hda:
multcount = 0
(off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 16383/255/63, sectors = 234441648, start = 0

The problem is, when I try to enable DMA on these drives by
means
of hdparm -d, using_dma remains off. Anybody can offer an explanation
as to why? I understand this must be turned on in order to have decent
disk performance. In fact, I noticed that when transferring big files
from this box to other boxes in my LAN via SCP, instead of attaining
the roughly 8-10 MBs expected, the transfer rate never goes above 2.3
MBs. I wonder if this is the reason why?

Just guessing: Does your IDE controller support DMA? Is this
functionality enabled/disabled in the BIOS? There may be other BIOS
settings 'getting in the way' -- you might want to check your BIOS
settings.

The IDE controller is the one for Intel PIIXn chipsets, which I
also have in other machines and it does indeed support DMA. By the way, my
motherboard is an AOpen i915Pa-PLF (E) (Why do motherboards have such
obscure names, anyway?) with an Intel 915P chipset. I assume the
controller above is the right one, correct?

Thanks for your BIOS suggestion; I'll check it out.

.



Relevant Pages

  • Re: Awful hard drive performance
    ... Probing IDE interface ide0... ... hdb: WDC WD1200JB-00EVA0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on ... ata dma lba iordy smart security pm partitioned ...
    (comp.os.linux.misc)
  • Re: Awful hard drive performance
    ... Probing IDE interface ide0... ... hdb: WDC WD1200JB-00EVA0, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on ... ata dma lba iordy smart security pm partitioned ...
    (comp.os.linux.misc)
  • Slow boot
    ... hde, hdc is the CD, and hda, hdb and hdd are unused. ... Probing IDE interface ide0... ... no response, ...
    (Fedora)
  • Re: scary -fixed-
    ... > ACPI: IRQ0 used by override. ... > usbcore: registered new driver usbfs ... > Probing IDE interface ide0... ... > hdb: ...
    (alt.linux)
  • Missing Hard Drive
    ... WDC WD800JB-00JJA0, ATA DISK drive ... hdb: ... I/O error, dev hdb, sector 0 Buffer I/O error on device hdb, ... I/O error, dev hdb, sector 8 Buffer I/O error ...
    (alt.os.linux.suse)