From: Jonathan Morton <chromatix99@gmail.com>
To: Dave Taht <dave.taht@gmail.com>
Cc: cake@lists.bufferbloat.net
Subject: Re: [Cake] cake exploration
Date: Mon, 13 Apr 2015 02:14:39 +0300 [thread overview]
Message-ID: <FC8F44E6-4805-4F50-8187-B2DD0663F255@gmail.com> (raw)
In-Reply-To: <CAA93jw7GE7f_LrVUAOH+nuSMfUY7Nhwz3y+i4Q_Q6Nt0bxViyQ@mail.gmail.com>
> On 11 Apr, 2015, at 21:47, Dave Taht <dave.taht@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.
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.
- Jonathan Morton
next prev parent reply other threads:[~2015-04-12 23:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 18:44 Dave Taht
2015-04-11 18:45 ` Dave Taht
2015-04-11 18:47 ` Dave Taht
2015-04-11 18:48 ` Dave Taht
2015-04-11 19:12 ` Dave Taht
2015-04-12 2:33 ` Dave Taht
2015-04-12 22:52 ` Jonathan Morton
2015-04-12 23:14 ` Jonathan Morton [this message]
2015-04-13 15:54 ` Dave Taht
2015-04-12 22:44 ` Jonathan Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=FC8F44E6-4805-4F50-8187-B2DD0663F255@gmail.com \
--to=chromatix99@gmail.com \
--cc=cake@lists.bufferbloat.net \
--cc=dave.taht@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox