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

Dave Taht <dave.taht@gmail.com> Mon, 18 May 2015 17:01 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 BBC931A1A7E for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 10:01:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.3
X-Spam-Level: *
X-Spam-Status: No, score=1.3 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, J_CHICKENPOX_21=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 mk9HmlzrK9FJ for <aqm@ietfa.amsl.com>; Mon, 18 May 2015 10:01:11 -0700 (PDT)
Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) (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 A92931ACDD9 for <aqm@ietf.org>; Mon, 18 May 2015 10:00:59 -0700 (PDT)
Received: by obbkp3 with SMTP id kp3so132212048obb.3 for <aqm@ietf.org>; Mon, 18 May 2015 10:00:58 -0700 (PDT)
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=46+sAJRp/k3pQBdHTMiiwHZnb5sOrEVAaDLDFoJH6Mg=; b=PD86jEHOwooUiAhU9K/ko6uBKwCleJNfzfDjzdztFXFOXmfIqNSu8Gw7QfsOfuIike WwH/UkZBBtwGUPVArpM4HFIOiUJ1y9twnKkBtn9psAe1T7Juz+onpIFW+whDv74GoF9z atknLNu2WIPUMuZqCM/QuDV1+Q8d/LyGlUBwcN3Jq52FIT+VgBFDcepg/qAz6pkEeVe8 ztwYCmEh/75nnrI3g1T6LTUWOP0pnVrmadtBdxDJcGE5DLE4Y3dHFEclb2Kk7aISQh3o sxAwFfgimqmAPlbXiomsiD3zP59Jhu3rYLcKN/VvAwjYC43b8pTSYvwtszWQJgrLrh47 HLTg==
MIME-Version: 1.0
X-Received: by 10.202.223.131 with SMTP id w125mr19319898oig.108.1431968458677; Mon, 18 May 2015 10:00:58 -0700 (PDT)
Received: by 10.202.71.139 with HTTP; Mon, 18 May 2015 10:00:58 -0700 (PDT)
In-Reply-To: <14d67a32270.27f7.e972a4f4d859b00521b2b659602cb2f9@superduper.net>
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> <14d67968bc8.27f7.e972a4f4d859b00521b2b659602cb2f9@superduper.net> <14d67a32270.27f7.e972a4f4d859b00521b2b659602cb2f9@superduper.net>
Date: Mon, 18 May 2015 10:00:58 -0700
Message-ID: <CAA93jw4cPOEguHJnKBNkA=gVWLkNRtEwu=p68LrFw+uLX8v8-w@mail.gmail.com>
From: Dave Taht <dave.taht@gmail.com>
To: Simon Barber <simon@superduper.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/aqm/4u1V-qtJuJEKLV5wJuLLfzlAsn0>
Cc: "aqm@ietf.org" <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 17:01:12 -0000

On Mon, May 18, 2015 at 8:27 AM, Simon Barber <simon@superduper.net> wrote:
> Thank you Mikeal, these are useful observations about the choice of exact
> DSCP value and various potential impacts. I agree that ultimately without
> operator agreement non of this matters. I do think that an important step
> towards garnering that operator agreement is to have the concerns clearly
> elucidated in this group's recommendations.
>
> I found a study of the interaction between low priority background
> techniques, including LEDBAT and AQM.
>
> http://www.enst.fr/~drossi/paper/rossi12conext.pdf

That paper was continually extended and revised. (I have had very
little to do with it since the first release.)

http://perso.telecom-paristech.fr/~drossi/paper/rossi14comnet-b.pdf

While it is pretty good... my fav part of that paper is table 3 where
the authors ignore the 7 second delay on the link but otherwise
showing the optimal ratio between real tcp and utp in their testbed.

LEDBAT was probably my first concern and area of research before
entering this project full time. I *knew* we were going to break
ledbat, but the two questions were:

how badly? (ans: pretty badly)
and did it matter? (not that much, compared to saving seconds overall
in induced delay)

> it's conclusion states:
>
> "Shortly, our investigation confirms the negative interference: while AQM
> fixes the bufferbloat, it destroys the relative priority among Cc
> protocols."

Yep.

I do wish the paper was updated to account for 4 concepts

0) never got around to trying ns2/ns3 fq_codel or the sqm_scripts against it
1) utp has a lower IW. With the move to IW10 in linux tcp iw10 tcp
knocks utp more out of the way (note that a ton of torrent clients
still use tcp and thus they are getting an "advantage" now by using
iw10 that they shouldn't be). Anyway, most web traffic knocks utp out
of the way handily
2) ledbat when first proposed had a 25ms target for induced delay. I
would not mind that tried again.
3) coupled congestion control (one app, many flows)

> Apparently a significant chunk of bittorrent traffic and Windows updates use
> these techniques to deprioritise their traffic.

So, torrent and ledbat are different things. torrent has LOTS of flows
(worst case 6 active/torrent, (50 or more connected, and switching one
into an active state every 15 seconds)).

ledbat is just a cc algorithm that torrent and some other heavy apps use.

> Widespread adoption of AQM
> will remove their ability to avoid impacting the network at peak times.

No. A single ledbat flow will behave like a single tcp flow.
Widespread adoption of AQM will make it easier for many flows to share
the network with low latency.
I don't see any impact from continued use of ledbat for applications
like updates, backups, etc.

My own recomendation is merely to try torrent today with your aqm or
fq system of choice and see what happens. I did, and stopped worrying
about ledbat.

> Use
> of DSCP could be one way to mitigate this problem with AQM, and this merits
> further study.

while we have long recommended CS1 be set on torrent, it turns out
that a lot of gear actually prioritizes that over BE, still. It helps
on the outbound where you can still control your dscp settings.
Many torrent users have reported just setting their stuff to max
outbound and rate limiting inbound, and observing no real effects on
their link.


>
> Simon
>
> Sent with AquaMail for Android
> http://www.aqua-mail.com
>
>
>
> On May 13, 2015 1:47:33 AM Mikael Abrahamsson <swmike@swm.pp.se> wrote:
>
>> On Tue, 12 May 2015, Simon Barber wrote:
>>
>> > Hi John,
>> >
>> > Where would be the best place to see if it would be possible to get
>> > agreement
>> > on a global low priority DSCP?
>>
>> Currently the general assumption among ISPs is that DSCP should be zeroed
>> between ISPs unless there is a commercial agreement saying that it
>> shouldn't. This is generally accepted (there are NANOG mailing list
>> threads on several occasions in the past 5-10 years where this was the
>> outcome).
>>
>> The problem is quite complex if you actually want things to act on this
>> DSCP value, as there are devices with default behaviour is 4 queue 802.1p,
>> with 1 and 2 (which will match AF1x and AF2x) will have lower priority
>> than 0 and 3 (BE and AF3x), and people doing DSCP based forwarding,
>> usually does things the other way around.
>>
>> It might be possible to get the last DSCP bits to map into this, because
>> for DSCP-ignorant quipment, this would still be standard BE to something
>> only looking at CSx (precedence), but that would be lower than 000000. So
>> DSCP 000110 (high drop BE) might work, because it's incremental. Possibly
>> DSCP 000010 (low drop BE) might be able to get some agreement because it
>> doesn't really cause any problems in the existing networks (most likely)
>> and it could be enabled incrementally.
>>
>> I would suggest bringing this kind of proposal to operator organizations
>> and the IETF. It needs to get sold to the ISPs mostly, because in this
>> aspect the IETF decision will mostly be empty hand-waving unless the
>> operators do something.
>>
>> --
>> Mikael Abrahamsson    email: swmike@swm.pp.se
>>
>> _______________________________________________
>> aqm mailing list
>> aqm@ietf.org
>> https://www.ietf.org/mailman/listinfo/aqm
>
>
>
> _______________________________________________
> aqm mailing list
> aqm@ietf.org
> https://www.ietf.org/mailman/listinfo/aqm



-- 
Dave Täht
Open Networking needs **Open Source Hardware**

https://plus.google.com/u/0/+EricRaymond/posts/JqxCe2pFr67