Making WiFi fast
Making WiFi fast
Posted Nov 9, 2016 14:13 UTC (Wed) by sourcejedi (guest, #45153)Parent article: Making WiFi fast
and the wheel turns again. (It's making me think of one or two great posts about this point in general, cpu v.s. offloads, which I can't find rn).
> It is meant to to hold no more data than can be sent in two "transmission opportunities" (slots in which an aggregate of packets can be transmitted). The fq_codel queue management algorithm was generalized to work well in this setting.
> The goal is to have one aggregated frame in the hardware for transmission, and another one queued, ready to go as soon as the hardware gets to it. Only having two packets queued at this layer may not scale to the very highest data rates, he said, but, in the real world, nobody ever sees those rates anyway.
> There should be a single aggregate under preparation in the mac80211 layer; all other packets should be managed in the (short) per-station queues.
This doesn't seem quite clear.
What controls the length of the per-station queues? You could read this as saying the per-station queues are limited to an aggregate's worth overall, but I'm not sure that's right.
I assume fq_codel is being applied to the per-station queues, that's the only way I can understand, but this doesn't read like that to me.
Ah, merged code says codel applies a (currently hardcoded) 20ms target. So I assume that's what sizes the per-station queues.
Maybe "The fq_codel queue management algorithm was generalized to work well in this setting." would be better put after "all other packets should be managed in the (short) per-station queues".
(also the next step in this effort is to go from round-robin of the station queues, to airtime fairness. yet more awesome)
