[RFCv2 0/3] mac80211: implement fq codel

Michal Kazior michal.kazior at tieto.com
Thu Mar 17 01:55:03 PDT 2016

TxOP 0 has a special meaning in the standard. For HT/VHT it means the
it is actually limited to 5484us (mixed-mode) or 10000us (greenfield).

I suspect the BK/BE latency difference has to do with the fact that
there's bulk traffic going on BE queues (this isn't reflected
explicitly in the plots). The `bursts` flent test includes short
bursts of traffic on tid0 (BE) which is shared with ICMP and BE UDP_RR
(seen as green and blue lines on the plot). Due to (intended) limited
outflow (6mbps) BE queues build up and don't drain for the duration of
the entire test creating more opportunities for aggregating BE traffic
while other queues are near-empty and very short (time wise as well).
If you consider Wi-Fi is half-duplex and latency in the entire stack
(for processing ICMP and UDP_RR) is greater than 11e contention window
timings you can get your BE flow responses with extra delay (since
other queues might have responses ready quicker).

I've modified traffic-gen and re-run tests with bursts on all tested
tids/ACs (tid0, tid1, tid5). I'm attaching the results.

With bursts on all tids you can clearly see BK has much higher latency than BE.

(Note, I've changed my AP to QCA988X with oldie firmware 10.1.467 for
this test; it doesn't have the weird hiccups I was seeing on QCA99X0
and newer QCA988X firmware reports bogus expected throughput which is
most likely a result of my sloppy proof-of-concept change in ath10k).


On 16 March 2016 at 20:48, Jasmine Strong <jas at eero.com> wrote:
> BK usually has 0 txop, so it doesn't do aggregation.
> On Wed, Mar 16, 2016 at 11:55 AM, Bob Copeland <me at bobcopeland.com> wrote:
>> On Wed, Mar 16, 2016 at 11:36:31AM -0700, Dave Taht wrote:
>> > That is the sanest 802.11e queue behavior I have ever seen!  (at both
>> > 6 and 300mbit! in the ath10k patched mac test)
>> Out of curiosity, why does BE have larger latency than BK in that chart?
>> I'd have expected the opposite.
>> --
>> Bob Copeland %% http://bobcopeland.com/
>> _______________________________________________
>> ath10k mailing list
>> ath10k at lists.infradead.org
>> http://lists.infradead.org/mailman/listinfo/ath10k
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bursts-2016-03-17T083932.549858.qca988x_10_1_467_fqmac_ath10k_with_tx_sched_6mbps_.flent.gz
Type: application/x-gzip
Size: 14649 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160317/6e6c1aa5/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bursts-2016-03-17T083803.348752.qca988x_10_1_467_fqmac_ath10k_with_tx_sched_6mbps_.flent.gz
Type: application/x-gzip
Size: 15029 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/ath10k/attachments/20160317/6e6c1aa5/attachment-0003.bin>

More information about the ath10k mailing list