Setting 32bit IO on SATA drives
Hi all...
I have a bunch of SATA drives on a RAID-5 setup.
I was investigating the usual things on ide disks to optimize performance, with hdparm.
The defalt settings, as they boot:
sata_promise version 1.00
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 17 (level, low) -> IRQ 177
ata1: SATA max UDMA/133 cmd 0xF0802200 ctl 0xF0802238 bmdma 0x0 irq 177
...
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata1: dev 0 configured for UDMA/133
nada:~# lsscsi -l [0:0:0:0] disk ATA Maxtor 7Y250M0 YAR5 /dev/sda state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30
nada:~# hdparm /dev/sda
/dev/sda:
HDIO_GET_MULTCOUNT failed: Operation not supported
IO_support = 0 (default 16-bit) readonly = 0 (off) readahead = 256 (on) geometry = 30515/255/63, sectors = 251000193024, start = 0
nada:~# hdparm -c /dev/sda
/dev/sda:
IO_support = 0 (default 16-bit)
nada:~# hdparm -c1 /dev/sda
/dev/sda:
setting 32-bit IO_support flag to 1
HDIO_SET_32BIT failed: Invalid argument
IO_support = 0 (default 16-bit)
How can I make 32bit IO active ?
TIA
--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.1 (Community) for i586
Linux 2.6.9-jam1 (gcc 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)) #4
Quoted 1 line · J.A. Magallon
How can I make 32bit IO active ?
32bit isn't relevant if you are using DMA.
libata is hardcoded to use 16bit PIO data transfers.
Jeff
Quoted 1 line
HDIO_GET_MULTCOUNTfailed: Operation not supported
Fyi, I have removed that bogus error message from my working copy of hdparm.
Cheers
Signature · 2 lines
Mark Lord (hdparm keeper & the original "Linux IDE Guy")
Quoted 4 lines · Mark Lord
Quoted 1 line
HDIO_GET_MULTCOUNTfailed: Operation not supportedFyi, I have removed that bogus error message from my working copy of hdparm.
I thought it wasn't supported. I presume you mean you detected that the operation should not be attempted rather than causing an error to fail silently.
Signature · 3 lines
-bill davidsen ([email protected]) "The secret to procrastination is to put things off until the last possible moment - but no longer" -me