Re: [aqm] [tsvwg] Immediate ECN: Autotuning AQM for RTT

Bob Briscoe <bob.briscoe@bt.com> Mon, 11 November 2013 16:18 UTC

Return-Path: <bob.briscoe@bt.com>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF68521E81E8; Mon, 11 Nov 2013 08:18:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.238
X-Spam-Level:
X-Spam-Status: No, score=-3.238 tagged_above=-999 required=5 tests=[AWL=0.134, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, SARE_SUB_OBFU_Q1=0.227]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rl-sd5K6thnZ; Mon, 11 Nov 2013 08:18:29 -0800 (PST)
Received: from hubrelay-rd.bt.com (hubrelay-rd.bt.com [62.239.224.99]) by ietfa.amsl.com (Postfix) with ESMTP id 627CF21E81D6; Mon, 11 Nov 2013 08:18:28 -0800 (PST)
Received: from EVMHR71-UKRD.domain1.systemhost.net (10.36.3.109) by EVMHR68-UKRD.bt.com (10.187.101.23) with Microsoft SMTP Server (TLS) id 8.3.279.1; Mon, 11 Nov 2013 16:18:26 +0000
Received: from EPHR01-UKIP.domain1.systemhost.net (147.149.196.177) by EVMHR71-UKRD.domain1.systemhost.net (10.36.3.109) with Microsoft SMTP Server (TLS) id 8.3.279.1; Mon, 11 Nov 2013 16:18:25 +0000
Received: from bagheera.jungle.bt.co.uk (132.146.168.158) by EPHR01-UKIP.domain1.systemhost.net (147.149.196.177) with Microsoft SMTP Server id 14.2.347.0; Mon, 11 Nov 2013 16:18:22 +0000
Received: from BTP075694.jungle.bt.co.uk ([10.111.171.204]) by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id rABGILbC031136; Mon, 11 Nov 2013 16:18:21 GMT
Message-ID: <201311111618.rABGILbC031136@bagheera.jungle.bt.co.uk>
X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9
Date: Mon, 11 Nov 2013 16:02:36 +0000
To: Greg White <g.white@CableLabs.com>
From: Bob Briscoe <bob.briscoe@bt.com>
In-Reply-To: <CEA31AEB.21D9B%g.white@cablelabs.com>
References: <201311072003.rA7K38dj008566@bagheera.jungle.bt.co.uk> <CEA31AEB.21D9B%g.white@cablelabs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
Cc: tsv-area IETF list <tsv-area@ietf.org>, AQM IETF list <aqm@ietf.org>, tsvwg IETF list <tsvwg@ietf.org>
Subject: Re: [aqm] [tsvwg] Immediate ECN: Autotuning AQM for RTT
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussion list for active queue management and flow isolation." <aqm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/aqm>, <mailto:aqm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/aqm>
List-Post: <mailto:aqm@ietf.org>
List-Help: <mailto:aqm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/aqm>, <mailto:aqm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Nov 2013 16:18:35 -0000

Greg,

At 06:54 09/11/2013, Greg White wrote:
>This is very interesting work.  There are a lot of unanswered questions
>about ecn / no-ecn coexistence and differential treatment in an AQM, and
>this could provide some answers.
>
>To those who groaned that ECN was not included in DOCSIS 3.1, read these
>slides (and Naeem Khademi's).

Indeed. However, I think it would be safe to recommend that ECN 
support should at least be implemented and separately configurable, 
then it can be turned on or off by operators later.

I'm aware that this doubles the amount of configuration, but we've 
had some success already (with RED) in relating all the ECN 
parameters to the drop parameters by a formula, so hopefully the 
vendor could configure the ECN parameters automatically based on the 
drop parameters.


>Bob, CoDel uses "interval" both as a hold-off for the first packet drop
>and as the numerator in the invsqrt drop scheduling.  Setting interval = 0
>would result in ECN being signaled on *every* ECN capable packet when the
>sojourn time is above threshold.    This jibes with some of your charts
>for RED, but others show a ramp up in mark probability rather than a step
>function. Could you clarify?

We've only looked at WRED in detail, because it was much more 
interesting (to us) to reconfigure existing implementations than have 
to wait for new code to be implemented and tested.

The suggestions for PIE and CoDel are just conceptual at this stage - 
we've done no implementation of this idea with either. (I said this 
verbally when presenting the slides, but I should have put it in 
writing too). Please read my suggestions for PIE and CoDel in this light.

I'm not surprised that CoDel derives other parameters from 'interval' 
that should have been declared and set separately. Andrew McGregor 
also pointed out to me that CoDel sets threshold = 0.2*interval, so 
threshold would have to be declared separately as well. This starts 
to reveal just how many magic numbers there really are in the CoDel algorithm.


>Setting max_burst = 0 in PIE would not result in the step function
>behavior.

It's not meant to result in a step-function.

In the WRED example, it solely avoids the delay of queue averaging, 
so that once the /instantaneous/ queue exceeds min_thresh it marks 
with increasing probability (not intended to be a step).

Similarly with PIE, the formula:
         p = p + alpha*(est_del-target_del) + beta*(est_del-est_del_old);
would still gradually increase the probability of drop (not a step 
function), but it would start to do so as soon as the queue exceeded 
target_del, rather than waiting for max_burst.

Is that what you meant?


Bob


>-Greg
>
>
>On 11/7/13, 1:03 PM, "Bob Briscoe" <bob.briscoe@bt.com> wrote:
>
> >Folks,
> >
> >"Immediate ECN" slides:
> ><http://bobbriscoe.net/presents/1311ietf/1311tsvarea-iecn.pptx>
> ><http://bobbriscoe.net/presents/1311ietf/1311tsvarea-iecn.pdf>
> >
> >PS. This talk fell off the end of the TSVAREA agenda. It's mostly
> >relevant to AQM, but I didn't originally bring it to AQM, because it
> >affects 3 wgs: tsvwg, aqm & tcpm.
> >
> >In the AQM wg, there was dismay about CableLabs not including
> >anything about ECN in DOCSIS3.1. This talk is about AQM dynamics; and
> >how ECN can take out the 100ms of delay that CoDel and PIE introduce
> >- it's essentially about auto-tuning for RTT.
> >
> >It gives an interim recommendation for hardware designers that there
> >should be a second instance of the AQM algo for ECN packets so that
> >it can be configured with different parameters (think of WRED instead of
> >RED).
> >
> >Specifically, for ECN packets:
> >interval = 0 (for CoDel)
> >max_burst = 0 (for PIE)
> >
> >
> >Bob
> >
> >PS. We have a paper under submission, which we can supply on request.
> >We plan to document this in the IETF too.
> >
> >
> >
> >
> >________________________________________________________________
> >Bob Briscoe,                                                  BT

________________________________________________________________
Bob Briscoe,                                                  BT