On Sun, Feb 13, 2011 at 4:32 PM, Julian Calaby <julian.calaby@xxxxxxxxx> wrote: > The short term solution (but not an overall solution by any means) is > to reduce these buffers so that packets are dropped when links are > congested. The job of a device transmit buffer is just to couple the "real" generic networking layer buffer, where QoS, AQM, etc. are applied, to the network hardware. They should just be as small as is consistent with reasonable CPU utilization and throughput. There are many different problems with over-large buffers, but this particular one is very simple. >> This patch series teaches the driver to measure the average rate of >> packet transmission for each tx queue, and adjusts the queue size >> dynamically in an attempt to achieve ~2 ms of added latency. > > IMHO, I'm not sure that this is the best method of implementing this > solution: most wireless (and ethernet) devices have some form of > buffer for the same reason, so implementing a solution for iwlwifi is > not an overall solution - we need some method of doing this for *all* > network devices, not just iwlwifi. I agree, but I figure a good start is a good start, and at least it scratches my itch. Maybe the other driver developers will move faster once iwlwifi starts showing them up ;-). -- Nathaniel -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html