[Cake] cake exploration

Dave Taht dave.taht at gmail.com
Mon Apr 13 11:54:57 EDT 2015


On Sun, Apr 12, 2015 at 4:14 PM, Jonathan Morton <chromatix99 at gmail.com> wrote:
>
>> On 11 Apr, 2015, at 21:47, Dave Taht <dave.taht at gmail.com> wrote:
>>
>> 14) strict priority queues. Some CBR techniques, notably IPTV, want 0
>> packet loss, but run at a rate determined by the provider to be below
>> what the subscriber will use. Sharing that "fairly" will lead to loss
>> of packets to those applications.
>>
>> I do not like strict priority queues. I would prefer, for example,
>> that the CBR application be marked with ECN, and ignored, vs the the
>> high probability someone will abuse a strict priority queue.
>
> The new priority mechanism in cake3 actually still supports a hard rate-limit function, albeit with a small amount of slop in it.  You would simply need to force the “bandwidth share” quantum value to zero, which would mean that the class involved only gets quanta when it’s running within its limit.
>
> A sufficiently large “priority share” quantum value would also behave an awful lot like strict priority.  This is aided by the fact that cake3 still charges the bandwidth of high priority classes to all lower priority classes - but note that if the normal strictly-decreasing structure of the classes is violated, it becomes possible to force some of the high-priority classes to operate permanently in bandwidth-sharing mode, robbing them of most of their original benefit.
>
> I feel fairly strongly that this type of traffic should be handled in one of two ways:
>
> - Mark it with an appropriate DSCP, such as CS3 or VA, and accept contention if it occurs.
>
> - Permanently mark off the CBR bandwidth as unavailable to normal traffic, and configure cake to use the remainder; use a separate mechanism to have the CBR traffic bypass cake.  This would be particularly appropriate for a shared broadcast stream.

In the one IPTV case I have a grip on, it is a joined multicast
stream, so it is not present when the tv is not active.

How it is done in japan I do not know.

Free.fr 's DSL device actually totally hides the the tv code on a
different DSL vlan(ish) thing in the device driver, so the tv stream
is not visible to the overlying qdisc at all, which I have no idea how
to handle.

> As a variation on the second option, it may be that the CBR stream is only present intermittently.  In that case, cake can be reconfigured on the fly by an external mechanism, to use either the full or reduced bandwidth; the bypass mechanism should remain in place meanwhile.

Well, I perhaps misspoke about it being CBR. I would argue that in
many cases it is VBR.

>  - Jonathan Morton
>



-- 
Dave Täht
Open Networking needs **Open Source Hardware**

https://plus.google.com/u/0/+EricRaymond/posts/JqxCe2pFr67



More information about the Cake mailing list