Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usage on the Internet
Jim Gettys <jg@freedesktop.org> Tue, 19 March 2013 22:36 UTC
Return-Path: <gettysjim@gmail.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 2D17D21F8D12; Tue, 19 Mar 2013 15:36:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.733
X-Spam-Level: ***
X-Spam-Status: No, score=3.733 tagged_above=-999 required=5 tests=[AWL=-4.524, BAYES_50=0.001, CHARSET_FARAWAY_HEADER=3.2, CN_BODY_35=0.339, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, MIME_CHARSET_FARAWAY=2.45, NO_RELAYS=-0.001, SARE_SUB_ENC_GB2312=1.345]
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 iZ8+yv2nSJvd; Tue, 19 Mar 2013 15:36:20 -0700 (PDT)
Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) by ietfa.amsl.com (Postfix) with ESMTP id ECEDE21F8A98; Tue, 19 Mar 2013 15:36:19 -0700 (PDT)
Received: by mail-ob0-f169.google.com with SMTP id er7so12793obc.0 for <multiple recipients>; Tue, 19 Mar 2013 15:36:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=nokrkxSBgc7Ypd2Gs9HvTnnYp8GAzuhWZVd+vkD5B4U=; b=PosXCTRJXu2PSDDkR1+OKkMYJPe7gwdCOch2xLNDooHdtBSfbygzMv1SlJHjjMkF2E p5X8PtadxbFOxGX9l9fDS5AT1o8ZhoueyZ52fb4D12NfkrpSGsXs+WZ0XdqTXqtcJrJ0 OGbmgqgmlED9tsmKfMea87ras0a+ajAxlY00PeIg4Wv0sgJz388Z/QvE5br1IQtrbWSM MbUQM8ziogMz5zPfT4lfCIAtrCXE3ZDOU5ZMoPdeATX3z8G3UdYUuH0XRTGgM4u+Qnea FfRSlGv5pM1UpCMhd4fVCg/ldpvZAQa5w3St9Kx+LmJ1MgoyNpUcpm3iTespW1CBvr+q B42Q==
MIME-Version: 1.0
X-Received: by 10.60.3.71 with SMTP id a7mr2699262oea.35.1363732579347; Tue, 19 Mar 2013 15:36:19 -0700 (PDT)
Sender: gettysjim@gmail.com
Received: by 10.76.22.193 with HTTP; Tue, 19 Mar 2013 15:36:19 -0700 (PDT)
In-Reply-To: <B2CE202A35DFDD4A904DA7497D7D2B9830F98A@CNHZ-EXMAIL-10.ali.com>
References: <201303190904.32180.mkuehle@ikr.uni-stuttgart.de> <alpine.DEB.2.00.1303191014021.2309@uplift.swm.pp.se> <51487A27.7010904@hp.com> <CAGhGL2D=qncZZ0YG2jLfXwJLXLrXj4dXns_u66qPNBEVH2ZR4A@mail.gmail.com> <B2CE202A35DFDD4A904DA7497D7D2B9830F98A@CNHZ-EXMAIL-10.ali.com>
Date: Tue, 19 Mar 2013 18:36:19 -0400
X-Google-Sender-Auth: --9eXhWCqOnC8mjcBV-gR9aVGYg
Message-ID: <CAGhGL2AbSUvm-XcgH6y2gRy_hYj4mc4YU+u7LeuiCp0DzfsRDg@mail.gmail.com>
From: Jim Gettys <jg@freedesktop.org>
To: 天澜 <tianlan.lhh@alibaba-inc.com>
Content-Type: multipart/alternative; boundary="e89a8f839d51f5f8c604d84ebb8b"
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, Rick Jones <rick.jones2@hp.com>, "aqm@ietf.org" <aqm@ietf.org>, "iccrg@irtf.org" <iccrg@irtf.org>, Mikael Abrahamsson <swmike@swm.pp.se>
Subject: Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usage on the Internet
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: Tue, 19 Mar 2013 22:36:24 -0000
Clearly, having a working AQM is a necessary prerequisite for ECN to be useful; one only overcome in the last year with CoDel/Pie. Variable bandwidth is still a challenge, but with CoDel at least, we think it can be done. And we've certainly implemented ECN support in the codel/fq_codel qdisc's (though would be grateful if ECN experts make sure it's been done correctly). The incentive structure needs to work here. There may be things we can and should do to provide incentive for ECN deployment. For Bell Heads working on wireless cellular transport, the incentive is really pretty clear: they ***hate*** dropping packets with a passion, not understanding that either packet drop or ECN are necessary, and it will probably be easier to convince them to adopt ECN than to drop packets. Given how hard they sweat to get packets over the air, I sort of understand where they come from. I believe some of the cellular carriers are requiring ECN support in handsets going forward, and as they classify VOIP into a separate bearer class anyway, I can see little incentive not to use ECN on their "best effort" bearer class. I believe all current operating systems react correctly to ECN marked packets; the only question is whether they will talk ECN if talked to (pretty common; Linux has done so now for quite a few years), *and* whether they enable ECN when establishing new connections or not (no one does right now by default). At the moment, Windows is vanishingly small fraction of handsets, being dominated by Android (Linux) and Apple as it is. I worry about bufferbloat in the HARQ layer of cellular networks not reflecting ECN marking into packets, but until that analysis has been done in real systems, it's just one more thing to worry about. Our Linux experience is that bufferbloat hides everywhere in current systems: the analogy in WiFi is the error correction layer in 802.11n, which causes large amounts of bloat, and fixing WiFi is very much a work in progress (except that not enough resources are currently available to go do the work, and it's more complicated that wired systems). Dave Taht cheered the first time he got the 802.11 layer to drop a packet, it was so much a problem. Right now, there are still some disincentives for ECN: e.g. some very small fraction of sites that become "black holes", or crashing antique middelboxes. We have no data on how much this is at this date, and the database that used to exist documenting middlebox problems has bit-rotted. These middleboxes are likely in the consumer edge, and unlikely to be in the path of most mobile devices and web sites on 3g/LTE. Mobile devices on home WiFi networks are more likely to have problems. We have ECN enabled in CeroWrt and have not noticed any problems; but 4-5 years ago OpenWrt (with a very much larger user base) still detected problems to the extent they had to disable initiating ECN connections. I know Bauer et. al. examined this a few years ago. But we have no data over the last several years I've seen (though this new paper referenced may: I've not had a chance to read it yet). There is one other issue with ECN: when operating at low bandwidth at the very edge of the net, it can still be advantageous to drop a packet rather than ECN mark it, to get back the transmission time of the packet. Dave Taht's experiments (IIRC) were below 4Mbps for this advantage (when doing VOIP over that bottleneck competing against other traffic in a best effort class). My intuition is to get VOIP reliable over WiFI on a busy network (or when far away from the AP) we'll want to classify the VOIP packets anyway and use the right hardware class in WiFi; this is primarily to get priority access to a transmit opportunity on WiFi rather than the previous reasons we've had. Certainly on other media we've seen little reason to have to do any explicit classification for VOIP anymore once running fq_codel. Things generally "just work" without all that hair for VOIP traffic. - Jim On Tue, Mar 19, 2013 at 5:49 PM, 天澜 <tianlan.lhh@alibaba-inc.com> wrote: > To let ECN be popular used ,the most important is let the connection which > used “ECN” is fairness to the other connection; > So we should design new algorithm for ECN connection to "prize" those > people who use ECN; > > > hritian > > ________________________________________ > 发件人: Jim Gettys [jg@freedesktop.org] > 发送时间: 2013年3月20日 1:26 > 到: Rick Jones > Cc: tcpm@ietf.org; aqm@ietf.org; iccrg@irtf.org; Mikael Abrahamsson > 主题: Re: [iccrg] [tcpm] ECN support and usage on the Internet > > You need to distinguish 1) "Will talk ECN when talked to", from 2) "Will > initiate an ECN conversation". > > Linux, for example, will do 1) by default (and has for some time now), but > requires configuration to turn on ECN when initiating a connection. > - Jim > > > > On Tue, Mar 19, 2013 at 10:45 AM, Rick Jones <rick.jones2@hp.com<mailto: > rick.jones2@hp.com>> wrote: > On 03/19/2013 02:22 AM, Mikael Abrahamsson wrote: > On Tue, 19 Mar 2013, Mirja Kühlewind wrote: > > Do we need to start a campaign to further encourage greater ECN > support (also of network providers)? Asking the content providers on > the list(s): What are the reasons to not enable ECN support? > > Let me speculate: > > It's not on by default in Windows. There is little reason to turn it on, > because "nobody" acts on ECN, and nobody acts on ECN because there is no > demand for AQM, and even if there was AQM, it would most likely not be > ECN enabled. > > Out of curiosity, which stacks have ECN enabled by default? To my > recollection, on netperf.org<http://netperf.org> I had to explicitly > enable TCP's use of ECN in the kernel which ships with Ubuntu 12.04. > > rick jones > > _______________________________________________ > tcpm mailing list > tcpm@ietf.org<mailto:tcpm@ietf.org> > https://www.ietf.org/mailman/listinfo/tcpm > > > ________________________________ > > This email (including any attachments) is confidential and may be legally > privileged. If you received this email in error, please delete it > immediately and do not copy it or use it for any purpose or disclose its > contents to any other person. Thank you. > > > 本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。 >
- [aqm] ECN support and usage on the Internet Mirja Kühlewind
- Re: [aqm] [tcpm] ECN support and usage on the Int… Mikael Abrahamsson
- Re: [aqm] [tcpm] ECN support and usage on the Int… Jim Gettys
- Re: [aqm] [tcpm] ECN support and usage on the Int… Yuchung Cheng
- Re: [aqm] ECN support and usage on the Internet Fred Baker (fred)
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Jim Gettys
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Simon Barber
- Re: [aqm] [tcpm] ECN support and usage on the Int… Rick Jones
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Glen Turner
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Mikael Abrahamsson
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Matthew Ford
- Re: [aqm] [tcpm] ECN support and usage on the Int… Emmanuel Lochin
- Re: [aqm] [tcpm] ECN support and usage on the Int… Scheffenegger, Richard
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Scheffenegger, Richard
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Scheffenegger, Richard
- Re: [aqm] ECN support and usage on the Internet Gorry Fairhurst
- Re: [aqm] ECN support and usage on the Internet Dave Taht
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Mirja Kuehlewind
- Re: [aqm] 答复: [iccrg] [tcpm] ECN support and usag… Simon Barber
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Naeem Khademi
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Dave Taht
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… John Leslie
- Re: [aqm] [iccrg] [tcpm] ECN support and usage on… Ilpo Järvinen