Re: [aqm] Draining queues
"Scheffenegger, Richard" <rs@netapp.com> Wed, 20 March 2013 16:31 UTC
Return-Path: <rs@netapp.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 C2CA521F9040 for <aqm@ietfa.amsl.com>; Wed, 20 Mar 2013 09:31:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.228
X-Spam-Level:
X-Spam-Status: No, score=-10.228 tagged_above=-999 required=5 tests=[AWL=0.143, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, SARE_SUB_OBFU_Q1=0.227]
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 A2yfvl+7vvXG for <aqm@ietfa.amsl.com>; Wed, 20 Mar 2013 09:31:44 -0700 (PDT)
Received: from mx12.netapp.com (mx12.netapp.com [216.240.18.77]) by ietfa.amsl.com (Postfix) with ESMTP id 6412321F8FC5 for <aqm@ietf.org>; Wed, 20 Mar 2013 09:31:44 -0700 (PDT)
X-IronPort-AV: E=Sophos; i="4.84,879,1355126400"; d="scan'208,217"; a="32379274"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx12-out.netapp.com with ESMTP; 20 Mar 2013 09:31:44 -0700
Received: from vmwexceht01-prd.hq.netapp.com (vmwexceht01-prd.hq.netapp.com [10.106.76.239]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id r2KGVi0p019551; Wed, 20 Mar 2013 09:31:44 -0700 (PDT)
Received: from SACEXCMBX02-PRD.hq.netapp.com ([169.254.1.222]) by vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) with mapi id 14.02.0342.003; Wed, 20 Mar 2013 09:31:43 -0700
From: "Scheffenegger, Richard" <rs@netapp.com>
To: "dpreed@reed.com" <dpreed@reed.com>, John Leslie <john@jlc.net>
Thread-Topic: [aqm] Draining queues
Thread-Index: AQHOJR702KCqJKWJbU2rneySNQC+ZJivDcsA//+19WA=
Date: Wed, 20 Mar 2013 16:31:42 +0000
Message-ID: <012C3117EDDB3C4781FD802A8C27DD4F24AC0750@SACEXCMBX02-PRD.hq.netapp.com>
References: <mailman.5225.1363736608.3432.aqm@ietf.org> <1363748540.64155384@apps.rackspace.com> <20130320035645.GI9569@verdi> <1363787198.319422762@apps.rackspace.com>
In-Reply-To: <1363787198.319422762@apps.rackspace.com>
Accept-Language: de-AT, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.106.53.53]
Content-Type: multipart/alternative; boundary="_000_012C3117EDDB3C4781FD802A8C27DD4F24AC0750SACEXCMBX02PRDh_"
MIME-Version: 1.0
Cc: "aqm@ietf.org" <aqm@ietf.org>
Subject: Re: [aqm] Draining queues
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: Wed, 20 Mar 2013 16:31:45 -0000
Well, there are those who believe that marking/dropping should ONLY be done on enqueue into a queue (or at least that there is no difference between doing it at enqueue vs. dequeue), http://bramcohen.com/2012/05/07/tcp-sucks#comment-669641053 and think a packet once processed deserves delivery – potentially breaking, or at least delaying, the control loop on responsive transport protocols (TCP being the prime example). As Matt M. pointed out, the control loops of an end-to-end transport are an entangled mess. Therefore it is pointless to speculate what one minor tweak will have, without also considering the feedback effects this has on the overall whole… ECN by itself is only part of the solution (and there are discussion to achieve more accurate ECN feedback in TCP, for a number of reasons), ECN can not live without a proper AQM, and a responsive (!) transport protocol. Best regards, Richard Scheffenegger From: aqm-bounces@ietf.org [mailto:aqm-bounces@ietf.org] On Behalf Of dpreed@reed.com Sent: Mittwoch, 20. März 2013 14:47 To: John Leslie Cc: aqm@ietf.org Subject: Re: [aqm] Draining queues John - I understand your response, and I understand the idea of doing ECN marking at the 1 msec. level. That certainly would increase the amount of congestion information delivered to the endpoints. However, if you think about how long it will take for the receiver to reduce its "window" in typical cases, along with the "reluctance" of router designers to ever drop packets, I think this does not solve the problem. Yes, ECN might help a bit in the case where there are *large* numbers of stationary-process TCP flows traversing a node, leading to nearly full capacity. But one should focus on the actually difficult problems: e.g. what went wrong in DOCSIS 2.0 and early DOCSIS 3 deployments, still in the field, that made queueing delays close to 1 second typical from a single home. Because there are relatively small numbers of flows, *way* too much buffering, leading to sustained queues that could not drain fast enough under ECN or anything else, user experience *sucked*. Which is why Comcast tried "killing BitTorrent" with Sandvine DPI-based RST-injection, and started claiming it was to "stop music piracy, which was destroying the Internet". When Comcast was forced to actually look at why the queues were sustained and unfixable, they realized that the problem was that DOCSIS was *designed* to hold packets rather than drop them. ECN marking would probably not have helped get the queues down under 50 msec, without dropping packets, neither would RED. The only way to get the queue down is to prevent it from being created in the first place.... And since the RTT from US east coast to US west coast is under 45 msec, it does little good to send early congestion signals. I'm sure you know this. An analogous problem occurs today because of the 3-4 *second* buffering in HSPA and LTE networks under load. Having measured it in many American and European deployments of such equipment, I would suggest that the fundamental problem is *dropping packets fairly and quickly*. You can't get there (to sub-50 msec. queueing) with ECN or RED. -----Original Message----- From: "John Leslie" <john@jlc.net<mailto:john@jlc.net>> Sent: Tuesday, March 19, 2013 11:56pm To: dpreed@reed.com<mailto:dpreed@reed.com> Cc: aqm@ietf.org<mailto:aqm@ietf.org> Subject: Draining queues dpreed@reed.com<mailto:dpreed@reed.com> <dpreed@reed.com<mailto:dpreed@reed.com>> wrote: > > A problem with ECN is that it does not drain an already flooded queue, I presume you mean that ECN doesn't drop the packet it marks. > and depends (like RED) on the idea that one has a large queue in normal > operation. I don't follow this at all. ECN is pointless without an AQM which drops or marks well before tail-drop. Were we to run ECN without AQM, we'd have to drop each packet anyway after marking it. Several flavors of AQM mark/drop well enough in advance of tail-drop that the queue need never fill. Did you mean to say that ECN requires being able to queue the ECN-marked packet which would otherwise be dropped by the AQM? > It is not obvious that sustaining a deep queue is a desirable state, Agreed! > especially when there are highly variable capacities along any path, > as is the case where one link is more than 2x slower than the rest of > the links. Isn't that _always_ the case? > If the dynamics of user loads are fractal, this will cause draining > (and latency reduction) not to work. I'm guessing you mean that under "fractal" loads there's a tendency for ECN-marked packets to clump and introduce latency at the bottleneck. Recall that this is offset by the quicker response to an ECN mark at RTT speed instead of having to infer a packet loss. > If user loads are stationary gaussian and so forth, ECN can "tune" > to relatively stable situations, but the queueing delay will be quite > long end-to-end. I don't follow... Some AQMs may indeed allow queueing delay to grow large; but this can only happen if the instantaneous percentage of marked packets is quite a bit higher than TCP can tolerate. > Since there is lots of evidence that user loads are fractal, dropping > packets during sudden bursts will prevent sustained queueing, whereas > ECN will not. I believe there is substantial agreement that ECN-marked packets will need to be dropped anyway under particularly severe congestion. At the very least, tail-drop can become necessary... > So a proper approach (in my opinion) on the "real" Internet (rather > than a bunch of competing long-duration FTPs) requires keeping the > queues so short that there is no real opportunity to benefit from ECN. Here I quite disagree. An AQM could be designed to ECN-mark at a 1 millisecond queue depth; and that can give the full benefit of ECN. Again, recall that ECN will deliver the congestion signal in one RTT, instead of waiting to infer a loss. TCP stops delivering useful bandwidth at one or two percent packet loss: so it's hard to believe that ECN-marked packets will clog the path significantly. > Hence - we need to really see what happens with *real* traffic loads, > not simplified simulations. Agreed! (Now if we could just get enough ECN deployment...) > Real traffic loads are fractal, and fractal loads do not generally > obey the Gaussian style "law of large numbers" - multiple fractal > flows are *rougher* not smoother than a single one. I would say rather that real traffic loads _contain_ fractal flows. Aggregation simply wouldn't work if we never experienced gaussian smoothing. > So check your mathematical "intuitions" at the door. Stop writing > equations based on tractable analytic models, because actual traffic > does not follow those models. I strongly suspect our models _are_ faulty -- but we need research results for _actual_ flows, with and without ECN, is order to diagnose their faults. -- John Leslie <john@jlc.net<mailto:john@jlc.net>>
- Re: [aqm] aqm Digest, Vol 1, Issue 7 dpreed
- [aqm] Draining queues John Leslie
- Re: [aqm] Draining queues dpreed
- Re: [aqm] Draining queues dpreed
- Re: [aqm] Draining queues Jim Gettys
- Re: [aqm] Draining queues Scheffenegger, Richard
- Re: [aqm] Draining queues Joe Touch
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Mirja Kuehlewind
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Jim Gettys
- Re: [aqm] aqm Digest, Vol 1, Issue 7 dpreed
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Mirja Kuehlewind
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Mikael Abrahamsson
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Scheffenegger, Richard
- Re: [aqm] aqm Digest, Vol 1, Issue 7 Joe Touch