On Thu, Sep 10, 2009 at 12:48 PM, Antti Palosaari<crope@xxxxxx> wrote: > Yes thats just what I tried to say for. Look my previous thread where all > currently sizes are listed. We need to define suitable values that are used. > For example USB2.0 DVB-C, DVB-T, ATSC and same values for USB1.1 too. And > stream size can vary much depending used transmission parameters too but I > think such kind resolution logic is not needed. > > Currently there is almost everything between 512 to 65k used for DVB-T that > makes huge difference to load device causing. > > Does anyone know if there is some table which says what are good USB > transmission parameters for each bandwidth needed? The problem is that there cannot be any single set of rules that apply to all devices. For each chip, the rules are different and either need to be reverse engineered by the maintainer or someone has to refer to the datasheet if available. It comes as no surprise that there is a huge variation on the URB sizes chosen, and there is almost certainly an opportunity for improvement on most bridges. I suspect the logic applied by most of the people who wrote the bridge drivers was to find the first value that "works" and then not do any subsequent tuning/optimization. Like the situation with power management or tuning time, this just doesn't seem to have been a priority. And given how few developers we have actually fixing bugs, adding support for new boards, and writing new drivers, I can hardly blame them. Unfortunately, with limited resources, we have to pick our battles - which is more important: having a slightly more optimal allocation that produces fewer wakeups? Or getting new product XYZ to work and fixing bugs that are highly visible to end-users? Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html