On Wednesday 23 August 2006 21:54, Simon Barber wrote: > I'd agree the memory benefit is not worth the work and complexity. The > additional benefit is tighter queue control - reducing the latency > between the software qdisc (and whatever scheduling/rate controlling/etc > work they are doing) and the frames coming out of the hardware. A 100 > frame DMA queue can be 1.2 seconds of transmit time, or it can be 30ms > of transmit time depending on frame size and transmission rate. This > disparity will only get larger as rates go up with 11n. > > A further benefit in reducing this latency - is to keep the latency > between the software rate control algorithm (which sees frames before > they hit the DMA queue) and the hardware tx down. This allows the > software rate control to be more responsive.
Hm, I don't really see how a larger DMA ring adds latency. A DMA ring is endless. From the device and driver point of view it only goes forward. If we reach the physical end while going forward, we simply start at the beginning again. Both, device and driver maintain very simple pointers into the ring that are simply incremented. TX notification latency is only controlled by a flag in the descriptor control. We currently request an IRQ for each frame, so latency is as low as possible here. Maybe I don't understand what you are trying to explain, but I don't see a benefit other than lower memory usage by reducing DMA ring length. -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html