Re: [aqm] I-D Action: draft-ietf-aqm-recommendation-04.txt

Jonathan Morton <chromatix99@gmail.com> Mon, 18 May 2015 17:53 UTC

Return-Path: <chromatix99@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 A36B61A1B7C for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 10:53:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.149
X-Spam-Level:
X-Spam-Status: No, score=0.149 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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 nR4j_TNytLWB for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 10:53:11 -0700 (PDT)
Received: from mail-la0-x243.google.com (mail-la0-x243.google.com [IPv6:2a00:1450:4010:c03::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E9591AC3CC for <aqm@ietf.org>; Mon, 18 May 2015 10:53:11 -0700 (PDT)
Received: by labgd6 with SMTP id gd6so1050463lab.2 for <aqm@ietf.org>; Mon, 18 May 2015 10:53:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=7cwUEpjebOR2nfFNAz9nCbXEad/6acdPsPtN+0wUbtI=; b=n70bHvUrYT7lfpJ7uk7KFE8YeCPBT2/rZW+0bfKsI8WdX2qOKR/LVHQNsZSj5wJiFG MEveO9esl9dIkyEndkExQZop8puk73cwhXbpETygLbHAxy7KocWA8Ref5QU9v9qjj1VC X6zrcpTinldq0E8USiqnsJNnKQGLlmp+AGkr3XzTHGhqdsjk4XVXaYxZbh04cwpox6c5 Ms3zX4Fhi2E2OEdOvhjdQtrIEFck1IW7Nu/kdD94vxDVqeylviO7VkqwDT7lq3Cx6ksI HQPs40X56q1e2q7evusBm35Ya9qXCyA6u8TZDfIGgTpBy0+4AQRU0jz1Bh2lGtMlZFWA qpXQ==
X-Received: by 10.112.214.202 with SMTP id oc10mr15838469lbc.80.1431971589742; Mon, 18 May 2015 10:53:09 -0700 (PDT)
Received: from bass.home.chromatix.fi (37-136-63-124.rev.dnainternet.fi. [37.136.63.124]) by mx.google.com with ESMTPSA id ba4sm2871491lab.31.2015.05.18.10.53.01 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 May 2015 10:53:09 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <CAA93jw7g+ZGHYvWwC0LCkyNf=AO1r2kdYau0Hr3ueE4M8K_0MA@mail.gmail.com>
Date: Mon, 18 May 2015 20:52:51 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <4430AA6B-DE7E-4483-88CC-A7DB609137E3@gmail.com>
References: <20140514180039.16149.79444.idtracker@ietfa.amsl.com> <554D8240.7050809@superduper.net> <20150510015811.GB53172@verdi> <5552CDA8.3040305@superduper.net> <alpine.DEB.2.02.1505131034140.32169@uplift.swm.pp.se> <14d67a32270.27f7.e972a4f4d859b00521b2b659602cb2f9@superduper.net> <4601326E-79E5-49F6-9590-BB0C021474E0@gmail.com> <CAA93jw7g+ZGHYvWwC0LCkyNf=AO1r2kdYau0Hr3ueE4M8K_0MA@mail.gmail.com>
To: Dave Taht <dave.taht@gmail.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/F6VeUlpQfZYxI35uomg9yy9Xemk>
Cc: Mikael Abrahamsson <swmike@swm.pp.se>, Simon Barber <simon@superduper.net>, "aqm@ietf.org" <aqm@ietf.org>, John Leslie <john@jlc.net>
Subject: Re: [aqm] I-D Action: draft-ietf-aqm-recommendation-04.txt
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: Mon, 18 May 2015 17:53:12 -0000

> On 18 May, 2015, at 20:18, Dave Taht <dave.taht@gmail.com> wrote:
> 
> Since dart I have basically come to the conclusion we need at least
> one new diffserv priority class for scavaging traffic.

Scavenging traffic is, of course, the rationale behind assigning CS1 to the background class (which has lower priority than best-effort) in Cake.  If another DSCP is recommended in future for this purpose, it would be straightforward to assign that to the background class as well.  Something in the 000xxx range might be more compatible with legacy equipment.

I’m therefore disappointed that existing recommendations for practical Diffserv deployment ignore the Low Priority class.

But it’s important to note that assigning traffic to separate queues - whether by FQ or Diffserv - only matters at bottlenecks.  Even if there is legacy equipment on the path that happens to interpret CS1 as “elevated priority”, it will have no effect if that isn’t a bottleneck link.  Likewise, AQM only makes a difference at a bottleneck.

It may be worthwhile to emphasise that deployment of AQM should be prioritised on links which are regularly saturated (on timescales of seconds, not minutes).  Over-provisioned links can usually look after themselves, as well as probably presenting the most difficult technical challenge to implementing good AQM.  Saturated links are usually slow enough (10Gbps and down) for AQM implementation to be a tractable problem, even in software.  The most visible problems are usually at or near the last mile, which so far is 1Gbps and down, with the most important deployment locations involving 100Mbps and under.  In fact, the lower the bandwidth of the link, the more important *and* the easier the implementation and deployment of good AQM.

For most traffic patterns, Diffserv isn’t even necessary.  The combination of AQM and FQ does an excellent job - *unless* there is a saturating application that uses many flows.  In that case, FQ ends up giving that application a large share of the bandwidth, and can starve latency-sensitive applications that use only one flow.  It is that scenario - which is exercised by the likes of BitTorrent - which convinced me to add Diffserv support to Cake.  Then, whether the latency-sensitive application sets a high-priority DSCP or the many-flows saturator sets CS1 (or, preferably, both), the problem is resolved satisfactorily.

 - Jonathan Morton