[linux-usb-devel] Dynamic USB buffer sizes (Was: Option driver enhancement)
Oliver Neukum
oliver at neukum.org
Thu Oct 4 10:00:19 UTC 2007
Am Donnerstag 04 Oktober 2007 schrieb Indan Zupancic:
> E.g. some mechanism where the buffer size and buffer count is chosen
> dynamically depending on how fast the device turns out to be, and some
> latency constraints. For number of buffers it's easy to do, e.g. new buffers
> could be allocated up to nr_bufs_in_flight * 2. Doing the buffer sizes
How do you define "in flight"? You can submit any number of URBs
to which buffers correspond. You'd have to measure the actual throughput.
Regards
Oliver
More information about the devel
mailing list