CoDel AQM discussions
 help / color / mirror / Atom feed
From: Jonathan Morton <chromatix99@gmail.com>
To: Jeff Weeks <jweeks@sandvine.com>
Cc: Andrew Mcgregor <andrewmcgr@google.com>,
	Bob Briscoe <ietf@bobbriscoe.net>,
	codel@lists.bufferbloat.net, Van Jacobson <vanj@google.com>,
	AQM IETF list <aqm@ietf.org>, Dave Dolson <ddolson@sandvine.com>
Subject: Re: [Codel] [aqm] CoDel's control law that determines drop frequency
Date: Tue, 3 Nov 2015 19:00:24 +0200	[thread overview]
Message-ID: <FCF85DAA-6B77-4B29-8AE8-FA332B0B71CE@gmail.com> (raw)
In-Reply-To: <274D3A0FA900FD47AA6B56991AAA32FDC5430D9E@wtl-exchp-1.sandvine.com>


> On 3 Nov, 2015, at 18:22, Jeff Weeks <jweeks@sandvine.com> wrote:
> 
> I believe that means 'count' has to reach some nearly impossibly high value of (100ms/5198ns)^2 == 370,107,128
> 
> I say nearly impossible, because it will take minutes (hours?) to get that high (if my math is correct, it'll take over 17 seconds just to reach 7500).

Note that since count increments on every signal given (every packet dropped, in this case), it will increment faster as time goes on, as long as there is a sufficient packet frequency to support it (as there is in this case).

However, even 17 seconds is obviously too slow to control the buffer.

> In the meantime, the queue *isn't* being effectively managed, as packets with extremely high latencies will be transmitted for far too long.

The problem is that you have an unresponsive flow here.  Codel is designed to give adequate congestion signals to *responsive* flows that require only one signal per RTT.  Unresponsive flows are instead caught by the buffer limit, causing hard packet drops.

This also means that where a responsive flow and an unresponsive flow share the same buffer, Codel doesn’t perform very well; the responsive flow backs off while the unresponsive flow continues to saturate the buffer.  (This is also what happens, intentionally, with uTP and standard TCP in a dumb FIFO.)

This is fixed if you combine Codel with flow isolation (ie. FQ), since then the responsive and unresponsive flows do not share the same buffer.  When the buffer limit is reached, only the longest queue is culled, and this will be the unresponsive flow.

 - Jonathan Morton


      parent reply	other threads:[~2015-11-03 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201311122230.rACMUBmH003536@bagheera.jungle.bt.co.uk>
     [not found] ` <87wpzfpbd3.fsf@alrua-karlstad.karlstad.toke.dk>
     [not found]   ` <56045CA8.2060103@bobbriscoe.net>
     [not found]     ` <CAPRuP3mmg_-uxmtLUXprCmPyLSUuUA7t2dRZpDs_mwtnTgrSQA@mail.gmail.com>
     [not found]       ` <560BA261.6020206@bobbriscoe.net>
     [not found]         ` <CAA93jw6zdQa1BGDhKajUzORXkCsSCygMPhAsyFfgMqas-w+Xfg@mail.gmail.com>
     [not found]           ` <560BDED0.1080402@bobbriscoe.net>
     [not found]             ` <E8355113905631478EFF04F5AA706E9830D62275@wtl-exchp-2.sandvine.com>
     [not found]               ` <CAPRuP3kOGVgfKaea9V3RtYjzcC1F0GDMheZKNhjrHzgZKC-0bQ@mail.gmail.com>
     [not found]                 ` <274D3A0FA900FD47AA6B56991AAA32FDC5430D9E@wtl-exchp-1.sandvine.com>
2015-11-03 16:26                   ` Dave Taht
2015-11-03 17:00                   ` Jonathan Morton [this message]

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/codel.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FCF85DAA-6B77-4B29-8AE8-FA332B0B71CE@gmail.com \
    --to=chromatix99@gmail.com \
    --cc=andrewmcgr@google.com \
    --cc=aqm@ietf.org \
    --cc=codel@lists.bufferbloat.net \
    --cc=ddolson@sandvine.com \
    --cc=ietf@bobbriscoe.net \
    --cc=jweeks@sandvine.com \
    --cc=vanj@google.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