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

Jonathan Morton <chromatix99@gmail.com> Mon, 18 May 2015 15:54 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 68A2F1ACC8D for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 08:54:37 -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_40=-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 A4yFfzaxwPiF for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 08:54:35 -0700 (PDT)
Received: from mail-la0-x242.google.com (mail-la0-x242.google.com [IPv6:2a00:1450:4010:c03::242]) (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 0AA0F1AC43B for <aqm@ietf.org>; Mon, 18 May 2015 08:54:34 -0700 (PDT)
Received: by labgd6 with SMTP id gd6so527415lab.2 for <aqm@ietf.org>; Mon, 18 May 2015 08:54:32 -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=k+c9Ppf5z2sjVCrzB5UocRCgk+h6rPk4yc02R8/pyJQ=; b=cXGrSJgWm+b+fb9H/Gyk4+ec7FLvYdTbAN5nYulqI/HUByGGxaUdTZNqjwwDfFjqYY LkO/bpv/Iwx90QJ5CtAJGuifoSizup2rbFVdf0HW7auPd2OVgPYSdQIUvQp9yV43rN9y H4whbsv1MlnElQM/PJawWJ8KdEDqvtLCWoV69TgFG3W1xUKxzx3dWOJ3SZvsdKiwXlon pqd96vB8MyUc0pUAnib9DNuqX/mh4KwE2rNUv2jwrZVI7z60EVDCwLT8e3bOFiUFqB7H R0evMwZmhWZKQ4e90v7gwXGThBtC+zjCbZjOVrVP+UIbw7YasIwjfBdCTK377z7ENjBx lHkA==
X-Received: by 10.152.207.105 with SMTP id lv9mr18071072lac.10.1431964472497; Mon, 18 May 2015 08:54:32 -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 c6sm2795900laf.25.2015.05.18.08.54.28 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 May 2015 08:54:31 -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: <14d67a32270.27f7.e972a4f4d859b00521b2b659602cb2f9@superduper.net>
Date: Mon, 18 May 2015 18:54:22 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <4601326E-79E5-49F6-9590-BB0C021474E0@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>
To: Simon Barber <simon@superduper.net>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/QOviUflR7TKRM6OaIV18VNNFYnI>
Cc: aqm@ietf.org, John Leslie <john@jlc.net>, Mikael Abrahamsson <swmike@swm.pp.se>
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 15:54:37 -0000

> On 18 May, 2015, at 18:27, Simon Barber <simon@superduper.net> wrote:
> 
> Apparently a significant chunk of bittorrent traffic and Windows updates use these techniques to deprioritise their traffic. Widespread adoption of AQM will remove their ability to avoid impacting the network at peak times. Use of DSCP could be one way to mitigate this problem with AQM, and this merits further study.

I’m working on a comprehensive algorithm (including AQM, FQ and Diffserv support and a shaper in one neat package) which does address this problem, or at least provides a platform for doing so.  Some information here:

	http://www.bufferbloat.net/projects/codel/wiki/Cake

This is working code, albeit still under development.  I’m actively dogfooding it, and I’m not the only one doing so.

The Diffserv layer provides a four-class system by default, corresponding in principle with the 802.1p classes - background, best-effort, video and voice.  It does not inherit the naive mapping from DSCPs to those classes, though - only CS1 (001000) is mapped to the background class.

An important part of the Diffserv support in Cake is that the enhanced priority given to the video and voice classes applies only up to given shares of the overall bandwidth.  If traffic in those classes exceeds that allocated share, deprioritisation occurs.  This ensures that improperly marked traffic cannot starve the link, and attempts to incentivise correct marking.

 - Jonathan Morton