Re: External USB2 HDD affects speed hda

From: Petr Vandrovec
Date: Wed Jun 01 2005 - 14:23:24 EST


Rene Herman wrote:
Mark Lord wrote:

Look at "cat /proc/interrupts" and see if the USB is sharing
an IRQ line with ide0. If so, then the best explanation I can
see is that the USB driver must have a *really slow* interrupt
handler up to the point where it determines that the interrupt
is not for it.


No, that's not it. Both ide0 (14) and EHCI (3) are on private, unshared IRQs. rmmodding ehci_hcd as per Pavel's sugestion gets me back my speed. Exactly _why_ I've no idea though. I've just added you to the CC on that reply...

Because EHCI hardware continuously watches some memory area to
find whether there are some transfers from host to your USB
devices ready... You just need better memory bandwidth so all
your devices transfers fit on your bus. Or maybe EHCI driver
could program hardware to not query transfer descriptors
that often. But it would increase latency for people
who use USB only and do not care about other parts of system.

Petr Vandrovec

-
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/