Re: Extremely slow IO with a PCMCIA CompactFlash adapter

From: Robert Hancock
Date: Sun Aug 02 2009 - 13:04:31 EST


On Sun, Aug 2, 2009 at 4:58 AM, Alan Cox<alan@xxxxxxxxxxxxxxxxxxx> wrote:
>> irq 3: nobody cared (try booting with the "irqpoll" option)
>> Pid: 23488, comm: modprobe Not tainted 2.6.31-rc4 #2
>> Call Trace:
>
> Something is misrouting interrupts on your machine. COuld be an ACPI bug,
> could be wrong tables in the BIOS etc.
>
>> Now I rebooted with irqpoll and everything looks good in dmesg:
>
> It will recover from the problem sort of
>
>> Now my transfer rate has increased to 20 kilobyte / second read, about
>> 4 times faster than before but still pretty slow.
>
> You should see nearer 200K/sec (PIO 0) but if the device IRQ is being
> lost due to misrouting then the device is being polled off the timer tick
> and that will drastically reduce performance.
>
> So its a firmware/acpi/irq sort of problem not an IDE one. Try running
> with acpi=off and without irqpoll just as a test.

I'm kind of doubtful it's a misrouting, the driver thinks it should be
on IRQ3 and we end up getting spurious interrupts on IRQ3, so I'm
guessing that somehow that card is producing excess interrupts that
we're not expecting, or something?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/