Re: External USB2 HDD affects speed hda

From: Rene Herman
Date: Wed Jun 01 2005 - 14:54:50 EST


Petr Vandrovec wrote:

Rene Herman wrote:

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.

I see. I was totally unaware of that, many thanks for the information. Getting more memory bandwidth (to/from the PCI bus at least) will have to wait for my next system, I suppose.

Added EHCI maintainer to this one as well. If possible, this looks like a good candidate for a /proc or /sys knob?

Or maybe even starting out with a low querying frequency and dynamically adjusting it up (and down again!) with traffic? Probably not that. I'd like to have the knob though, so that I can have EHCI builtin and still tell the controller to take it easy (certainly after I've switched of the external HDD again, but on this system possibly also while in use).

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