Re: [aqm] ECN: was Control Theoretic Analyses of PI(E)
Dave Taht <dave.taht@gmail.com> Tue, 27 January 2015 20:04 UTC
Return-Path: <dave.taht@gmail.com>
X-Original-To: aqm@ietfa.amsl.com
Delivered-To: aqm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 79B2E1A8A4C for <aqm@ietfa.amsl.com>; Tue, 27 Jan 2015 12:04:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.043
X-Spam-Level:
X-Spam-Status: No, score=-0.043 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FB_ROLLER_IS_T=1.357, FREEMAIL_FROM=0.001, J_CHICKENPOX_82=0.6, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LVPynPoUfFXo for <aqm@ietfa.amsl.com>; Tue, 27 Jan 2015 12:04:30 -0800 (PST)
Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 436591A8A41 for <aqm@ietf.org>; Tue, 27 Jan 2015 12:04:30 -0800 (PST)
Received: by mail-ob0-f178.google.com with SMTP id nt9so15448808obb.9 for <aqm@ietf.org>; Tue, 27 Jan 2015 12:04:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bbtod/aeabfvx3G5qDGYoFGHaf8+bV0efXTgy+JHYVs=; b=vL9xdbHPTTscVYMLtAPxlFpo9+sNcfO3G/FRQQYNVt+3VdBBU78HPaCLNYJBGeoNpB u1/Gdz4ngZzr5wk303fabmuBAE1u+PYprl5NMtl5T8P8iNUH8qW4ZBCIRcJoUF4iC9z0 OANpdjcCypEvcavRL5M2QBD9zfhecfbEiLxP6uCRO2Fud5hPwzHhP4gyCD1lMjhg+1r3 Yjk0nKDRswPqHZ/yk6q1bP3WW2cvY76LBolDHbRvyi++1MWYyCYSNPyKZ6nqSv3LwJV/ +uxu67U3ljru/akiKmzf/fxR5yjrTCyXW/bl/OcAdC15VReQ9GIcSHRH1/v6K3pW45z2 fYLA==
MIME-Version: 1.0
X-Received: by 10.202.111.131 with SMTP id v3mr1714350oik.133.1422389069539; Tue, 27 Jan 2015 12:04:29 -0800 (PST)
Received: by 10.202.51.66 with HTTP; Tue, 27 Jan 2015 12:04:29 -0800 (PST)
In-Reply-To: <D0ECF380.21BB%kk@cs.ucr.edu>
References: <039049E6-71E2-4E55-8678-E1E0E472F87B@cs.columbia.edu> <20150126171439.GC49615@verdi> <C4A57039-EBE5-4ED6-BF74-E52B3DFBE27C@cs.columbia.edu> <CAA93jw78h76r0tXJ9e21jjAC3Ps12E0h_bVk9a9CNrDmxrYWug@mail.gmail.com> <5577DEF9-8098-45B0-B074-980214422C16@cs.columbia.edu> <D0ECF380.21BB%kk@cs.ucr.edu>
Date: Wed, 28 Jan 2015 09:04:29 +1300
Message-ID: <CAA93jw491YaqsyQnbZ+jcaZkBfnBCTX5xTWzBtZPLvgn1Q7jeA@mail.gmail.com>
From: Dave Taht <dave.taht@gmail.com>
To: KK <kk@cs.ucr.edu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/N8k_PORnvUF5RMVN_s2A9bapYGQ>
Cc: "aqm@ietf.org" <aqm@ietf.org>, Vishal Misra <misra@cs.columbia.edu>, John Leslie <john@jlc.net>
Subject: Re: [aqm] ECN: was Control Theoretic Analyses of PI(E)
X-BeenThere: aqm@ietf.org
X-Mailman-Version: 2.1.15
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: Tue, 27 Jan 2015 20:04:35 -0000
On Wed, Jan 28, 2015 at 4:55 AM, KK <kk@cs.ucr.edu> wrote: > Because of DCTCP¹s differences in the approach to marking and the > different control reaction at the end-system, I have wondered about 2 > things: > 1) How it interoperates with the flows that have to go over the WAN - > where you may have a different marking method, and end-systems that have > the traditional TCP end-system reaction It is finally easy to test that! Long held in outdated, hard to use, out of tree patches, DCTCP entered the linux mainline kernel recently: http://www.ietf.org/mail-archive/web/aqm/current/msg00804.html And related support infrastructure for finer grained per-route ecn landed shortly thereafter: http://comments.gmane.org/gmane.linux.network/337395 Given the fragility of the needed infrastructure configuration (need ecn on, need dctcp enabled, need the routers and switches on the path configured properly) it is a certainty that someone will accidentally test dctcp in the wan scenario, and it would be good to get an idea for what happens non-accidentally. There is at least one patch, I think, still out of tree, that improved tcp ecn fallbacks for syns. DCTCP also is now available in freebsd: http://lists.freebsd.org/pipermail/freebsd-net/2014-February/037915.html > 2) What are the limits for the feedback delay with the marking based on > the instantaneous queue state that is used - and the proportional > controller employed On short RTTs... with TSO enabled... with GRO enabled... with incast... with short flows... with long flows... with competing traffic.... > Thanks, > -- > K. K. Ramakrishnan > Professor > Dept. of Computer Science and Engineering > University of California, Riverside > Rm. 332, Winston Chung Hall > Tel: (951) 827-2480 > > > > > > > On 1/27/15, 5:30 AM, "Vishal Misra" <misra@cs.columbia.edu> wrote: > >> >> >>> On Jan 26, 2015, at 6:02 PM, Dave Taht <dave.taht@gmail.com> wrote: >>> >>> >>> I would like to try a dctcp implementation against the aqms as >>> available today, and to compare the results against the default highly >>> specialized RED implementation dctcp presently requires. >> >>That would be interesting. The default DCTCP AQM mechanism is RED without >>the averaging, which is a good thing, but it uses proportional marking. >>The proportional controller is the "fastest" controller you can design >>however the drawback is you cannot regulate (control) the delay/queue >>length to a fixed value. The PI controller fixes this issue. >> >>The authors of DCTCP also tried to implement the PI controller however >>they found the performance was not as good. This shouldn't be a surprise >>as the design guidelines that the authors used for PI followed our >>original paper where the dynamics followed vanilla TCP. Since DCTCP >>follows different dynamics, the PI controller needs to be adjusted >>accordingly. I am happy to work with you on this if there is interest. >> >> >>> >>>> That was sort of the whole idea behind the PI controller - something >>>>that predicts onset of congestion by observing the derivative in the >>>>queue length as well as the absolute value of the queue. One of the >>>>failings of RED that we identified in a companion paper to the PI one >>>>(http://dna-pubs.cs.columbia.edu/citation/paperfile/22/hollot01control.p >>>>df) was that RED used _averaged_ queue length as the congestion >>>>indicator. That introduced a further delay to the feedback loop - by >>>>the time your average rose and you to decided to "mark" a packet the >>>>buffer was already close to overflowing. >>> >>> There is not a lot of useful information in "average" queue length, yes. >>> >> >>We have argued something stronger - average queue length actively _hurts_ >>a feedback loop that has significant delays. >> >>> keep the pipe fully utilized without needing to drop any packets. You >>>can also use ECN marks with DiffServ and handle multiclass traffic >>>(voice/real time streaming vs video downloads etc.) much more >>>efficiently. >>> >>> I look forward to seeing a diffserv enabled implementation of pie or >>> pie-fq. In the "sqm-scripts" package for openwrt and cerowrt, there is >>> the ability to test variants of a 3 tier classification scheme, with >>> pie, codel, fq_codel, multiple test *codel variants, sfq, sfb, and >>> fifo qdiscs. Extensive benchmark results are available, and you are >>> perfectly welcome to merely run these scripts on any linux distro >>> shipped in the past 2 years. >>> >> >>Our DiffServ+PI design was published here: >>http://dna-pubs.cs.columbia.edu/citation/paperfile/31/Chait_02.pdf - I'll >>take a look at the distribution and see if we can implement our scheme >>with openwrt. >> >>> Essentially this 3 tier scheme is what has deployed in many >>> aftermarket home router distributions, and in netgear's dynamic QoS. >>> What streamboost does (partially fq_codel based) is a bit different, >>> attempting to provide bandwidth garuntees for various services like >>> netflix, and it's too confusing to describe here. >>> >> >>Our DiffServ design did something very close to that - offered a minimum >>guaranteed rate (MGR) for the AF service using two-colored marking. >>> -- >>> Dave Täht >>> >>> thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks >> >>-Vishal >>-- >>http://www.cs.columbia.edu/~misra/ >> >> >> >> >>_______________________________________________ >>aqm mailing list >>aqm@ietf.org >>https://www.ietf.org/mailman/listinfo/aqm > > -- Dave Täht thttp://www.bufferbloat.net/projects/bloat/wiki/Upcoming_Talks
- [aqm] Control Theoretic Analyses of PI(E) (was Ge… Vishal Misra
- [aqm] Control Theoretic Analyses of PI(E) (was Ge… Vishal Misra
- [aqm] ECN: was Control Theoretic Analyses of PI(E) John Leslie
- Re: [aqm] ECN: was Control Theoretic Analyses of … Vishal Misra
- Re: [aqm] ECN: was Control Theoretic Analyses of … Dave Taht
- Re: [aqm] ECN: was Control Theoretic Analyses of … Dave Taht
- Re: [aqm] ECN: was Control Theoretic Analyses of … Vishal Misra
- Re: [aqm] ECN: was Control Theoretic Analyses of … KK
- Re: [aqm] ECN: was Control Theoretic Analyses of … Vishal Misra
- Re: [aqm] ECN: was Control Theoretic Analyses of … KK
- Re: [aqm] ECN: was Control Theoretic Analyses of … Dave Taht