Re: MAX_USBFS_BUFFER_SIZE

From: Duncan Sands
Date: Fri Mar 03 2006 - 03:09:45 EST


> Have you ever considered how many TDs have to be allocated to transfer
> a data buffer this big? No, seriously. If your application cannot deliver
> the tranfer speeds with 16KB URBs, we ought to consider if the combination
> of our USB stack, usbfs, libusb and the application ought to get serious
> performance enhancing surgery. The problem is obviously in the software
> overhead.

If you queue a large number of 16KB urbs, rather than one jumbo urb,
does that make any difference to the number of TDs allocated? I thought
TDs were allocated for all queued urbs at the moment they are queued...

Ciao,

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