Skip to contentSkip to conversation

libata ACPI support

PATCH Lukas Hejtmanek 3 participants 9 messages Feb 20, 2007 – Feb 21, 2007 libata

lore
Share & tools
lore
#0 lore raw

Hello,

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

Signature · 1 line
Lukáš Hejtmánek
#1 lore raw
Quoted 6 lines · Lukas Hejtmanek

Hello,

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

Does performance come back if you also use acpi=off ?

Jeff

#7 lore raw
Quoted 6 lines · Jeff Garzik
Quoted 4 lines

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

Also, please add hardware info (full dmesg, full lspci) to the bug.

done.

Signature · 1 line
Lukáš Hejtmánek
#2 lore raw
In reply to Jeff Garzik
Quoted 6 lines · Jeff Garzik
Quoted 4 lines

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

Does performance come back if you also use acpi=off ?

It does not.

With 2.6.20-git15, hdparm -t /dev/sda says 28MB/s, with 2.6.20, hdparm -t /dev/sda says 32MB/s.

Signature · 1 line
Lukáš Hejtmánek
#3 lore raw
Quoted 10 lines · Lukas Hejtmanek
Quoted 5 lines · Jeff Garzik
Quoted 4 lines

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

Does performance come back if you also use acpi=off ?

It does not.

With 2.6.20-git15, hdparm -t /dev/sda says 28MB/s, with 2.6.20, hdparm -t /dev/sda says 32MB/s.

Can you narrow down the -gitX release further? i.e. does 2.6.20-git13 perform at full speed? -git13 includes several libata changes, but does not include the ACPI additions.

Since this is an ACPI execution error in the bug, that would tend to point to bad BIOS tables. But since there is a performance drop that does not disappear with acpi=off, there might also be another factor, unrelated to ACPI, at play here.

Jeff

#8 lore raw
In reply to Lukas Hejtmanek
Quoted 6 lines · On Tue, 20 Feb 2007 22:47:17 +0100 Lukas Hejtmanek <[email protected]>…

Hello,

introducing SATA ACPI does not work for me (I've filled the bug
report: http://bugzilla.kernel.org/show_bug.cgi?id=8046) beside those error messages, IDE performance is decreased. libata.noacpi=1 option works ok but the performance is still slightly degraded (about 10%).

The performance degradation appears unrelated to the ACPI errors. If you ignore the ACPI errors something has broken ata_piix cable detection.

Alan

#4 lore raw
In reply to Jeff Garzik
Quoted 8 lines · Jeff Garzik

Can you narrow down the -gitX release further? i.e. does 2.6.20-git13 perform at full speed? -git13 includes several libata changes, but does not include the ACPI additions.

Since this is an ACPI execution error in the bug, that would tend to point to bad BIOS tables. But since there is a performance drop that does not disappear with acpi=off, there might also be another factor, unrelated to ACPI, at play here.

I have found that the issue is between git12 and git13.

I have also found another issue, not sure whether it is also presented by git13, however in git15, IDE interrupts are no more unmasked.

Signature · 1 line
Lukáš Hejtmánek
#5 lore raw
In reply to Jeff Garzik
Quoted 8 lines · Jeff Garzik

Can you narrow down the -gitX release further? i.e. does 2.6.20-git13 perform at full speed? -git13 includes several libata changes, but does not include the ACPI additions.

Since this is an ACPI execution error in the bug, that would tend to point to bad BIOS tables. But since there is a performance drop that does not disappear with acpi=off, there might also be another factor, unrelated to ACPI, at play here.

I've noticed on lkm another bug report which has pointed me to this:
ata_piix 0000:00:1f.1: version 2.00ac7
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 18
PCI: Setting latency timer of device 0000:00:1f.1 to 64
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x0001ffa0 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x0001ffa8 irq 15 scsi0 : ata_piix
ata1.00: ATA-6: ST9100824A, 3.04, max UDMA/100
ata1.00: 195371568 sectors, multi 16: LBA48
ata1.01: ATAPI, max UDMA/33
ata1.00: configured for UDMA/33
ata1.01: configured for UDMA/33

Both ports are for some reason configured as UDMA/33.

Signature · 1 line
Lukáš Hejtmánek