Re: [conex] Expiration of credits
John Leslie <john@jlc.net> Wed, 02 November 2011 21:34 UTC
Return-Path: <john@jlc.net>
X-Original-To: conex@ietfa.amsl.com
Delivered-To: conex@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F231F1F0C80 for <conex@ietfa.amsl.com>; Wed, 2 Nov 2011 14:34:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.528
X-Spam-Level:
X-Spam-Status: No, score=-106.528 tagged_above=-999 required=5 tests=[AWL=0.071, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 fptcJ+FQvuCO for <conex@ietfa.amsl.com>; Wed, 2 Nov 2011 14:34:45 -0700 (PDT)
Received: from mailhost.jlc.net (mailhost.jlc.net [199.201.159.4]) by ietfa.amsl.com (Postfix) with ESMTP id 232731F0C63 for <conex@ietf.org>; Wed, 2 Nov 2011 14:34:45 -0700 (PDT)
Received: by mailhost.jlc.net (Postfix, from userid 104) id 3350C33C26; Wed, 2 Nov 2011 17:34:44 -0400 (EDT)
Date: Wed, 02 Nov 2011 17:34:44 -0400
From: John Leslie <john@jlc.net>
To: Matt Mathis <mattmathis@google.com>
Message-ID: <20111102213444.GA88646@verdi>
References: <201110261048.16356.mkuehle@ikr.uni-stuttgart.de> <201110261808.25587.mirja.kuehlewind@ikr.uni-stuttgart.de> <20111026163326.GM57720@verdi> <201111021851.55304.mkuehle@ikr.uni-stuttgart.de> <CAH56bmD6nW14tN7QgDTv7aCY469tDs5XjKKzfZ1KxmXGt8oZ2g@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAH56bmD6nW14tN7QgDTv7aCY469tDs5XjKKzfZ1KxmXGt8oZ2g@mail.gmail.com>
User-Agent: Mutt/1.4.1i
Cc: ConEx IETF list <conex@ietf.org>
Subject: Re: [conex] Expiration of credits
X-BeenThere: conex@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Congestion Exposure working group discussion list <conex.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/conex>, <mailto:conex-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/conex>
List-Post: <mailto:conex@ietf.org>
List-Help: <mailto:conex-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/conex>, <mailto:conex-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Nov 2011 21:34:46 -0000
Matt makes several good points here. I mostly want to add that in the RealWorld, the node where congestion occurs is unlikely to be able to reliably differentiate which flow has built up a credit. Matt Mathis <mattmathis@google.com> wrote: > > So there are some problems here. In a strictly conservative model you > need to have credit for every packet in flight because the network can > dump/mark (nearly) an entire window in a single event, for example due > to somebody else's slowstart, re routing onto a slow link, etc. We should be careful that we don't call such a rare event a ConEx "violation". (OK, so it's not as "rare" as all that...) The way I see it, it's important to build up at least one credit for slow-start, but that in the ordinary case you should be happy to get a single ECN congestion-experienced mark and back off in one RTT -- if the rest of your packets in flight get dropped, that's OK. OTOH, some uses might be paranoid about dropped packets and want a larger credit built up -- if they had reason to believe "credit" packets would get through with ECN marks. (I'm not sure it's in-scope to discuss why they might believe that.) > In fact the normal case for ending slow starting into a drop tail > queue is expected to cause 30-50% losses. Cite? (I do expect fairly nasty drop rates in that case -- and I agree it's plausible for startup traffic to an empty link.) I think the conventional wisdom is that one halving the rate is sufficient; and that drop-tail will drop that many packets quite regardless of ECN or ConEx marking. > An auditor that treats these cases as serious violations is likely > to be viewed as broken and a non-starter, because TCP or other > protocols can not prevent these events, no matter how smart they > are. A question we probably should address is whether it makes any sense to consider a single ConEx mark, followed by dozens of packet drops, to be a "violation". IMHO, it shouldn't be. > Note that since the network triggered events (i.e. not slowstart) > can happen at any point during a long running connection, the credit > memory from the initial slowstart has to be "forever". s/has to be/would have to be/ (I strongly believe we can't implement "forever" in the wild.) > If the audit function is designed with the understanding that it is > intrinsically statistical: subject to false events and having a > measured response to possible violations, then lower credit > thresholds and levels make sense. Agreed. (And I feel stronly that we must define it to be that way.) > But you are correct in your observation that you have to build a > large credit to do slowstart(*) without a audit violation, and > then to be TCP friendly, the steady state marking/loss probability > has to be proportional to 1/(window^2), which is potentially > infinitesimal by comparison. Agreed. > This is really a bug in the current "TCP friendly" paradigm that > can not be fixed by ConEx. I predict it will change in time, ConEx > or not. (I wish I were as confident...) > The simple answer is that this problem is scale dependent, and > in those parts of the network where the fair share window size is > small (say under 20), chances are good that reasonable heuristics > (including decaying credits) will do well enough for auditing. I doubt that will be true for even the average total-path in today's Internet. Nor do I believe the situation will improve by itself. :^( > In the long run we have to ditch AIMD congestion control, but that > is way out of scope for ConEx. Agreed, it's out of scope. However, I believe that sufficient ConEx deployment will make it more acceptable to use alternatives to AIMD... -- John Leslie <john@jlc.net>
- [conex] Expiration of credits Mirja Kühlewind
- Re: [conex] Expiration of credits Toby Moncaster
- Re: [conex] Expiration of credits John Leslie
- Re: [conex] Expiration of credits Mirja Kuehlewind
- Re: [conex] Expiration of credits John Leslie
- Re: [conex] Expiration of credits Mirja Kühlewind
- Re: [conex] Expiration of credits Matt Mathis
- Re: [conex] Expiration of credits John Leslie