[Cake] ieee vs ietf stds for dscp mappings

Stephen Hemminger stephen at networkplumber.org
Sun Nov 15 16:20:23 EST 2015

On Sun, 15 Nov 2015 15:52:40 +0100
Toke Høiland-Jørgensen <toke at toke.dk> wrote:

> Sebastian Moeller <moeller0 at gmx.de> writes:
> > 	On the wifi-side my limited understanding of the access rules tell me,
> > that allowing clients to pick their qos marking can and will starve the AP of
> > TxOps, so unless the AP can enforce a unified tier for all clients the AP
> > should, in my humble opinion, actually pick its own marking (and medium access
> > probability) adaptively, depending on what the clients use, in a nice BE
> > environment stick to BE but if the clients start sending too many packets in the
> > two higher classes (dynamically measured threshold might be required) the AP
> > should up its game and switch its own packets to the same class. My rationale is
> > that the AP is going to have a better vantage point of the competing clients and
> > hence should be in a better position to guarantee some sort of fairness, than
> > any one client. Since this seems so simple, there probably is a very good
> > technical reason why this can not work, that I am just unable to see.  
> The problem with WiFi is that there are actually two effects of QoS:
> There's the priority queueing (i.e. the four 802.11e queues work as
> strict priority queues), and there's the retransmission and back-off
> behaviour associated with each of the tiers.
> The latter is what can cause starvation for other clients: Because
> the transmission and back-off settings for the "latency-sensitive"
> queues (VO and VI) are more aggressive, they will tend to starve out
> other things. However, it's not guaranteed that the AP can detect that
> this is happening (it would just see a lot of collisions). You could try
> to infer it by looking at the markings of the packets, but in principle
> there's no reason why a client can't use more aggressive transmission
> settings for packets that are not diffserv marked at the IP layer.

In my experience with customers, they tend to put in hard
policing limits for any of the latency sensitive queues. I.e if the network
is 100mbit, they put in a policer to drop traffic over some limit (typically 25%
of the bandwidth). That way they are guaranteed to not stave regular classes.

More information about the Cake mailing list