Re: [iccrg] LEDBAT++, rLEDBAT, and slowdowns

Luca Muscariello <muscariello@ieee.org> Mon, 09 September 2019 15:08 UTC

Return-Path: <muscariello@ieee.org>
X-Original-To: iccrg@ietfa.amsl.com
Delivered-To: iccrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 478AF1208B9 for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 08:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ieee.org
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 lYRHzsP4XNFp for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 08:08:39 -0700 (PDT)
Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 150DC1208B6 for <iccrg@irtf.org>; Mon, 9 Sep 2019 08:08:38 -0700 (PDT)
Received: by mail-wm1-x336.google.com with SMTP id 7so4668193wme.1 for <iccrg@irtf.org>; Mon, 09 Sep 2019 08:08:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8forO7n+gh7F4Yw1lqBfQwyaZ+7ioQk4ZhtwBSThf0Q=; b=XhGI4ilyYcE2Ta9mknYryoJATZ+8HazhnVfgtBQ+w4DHL4v73jPnlkF/n3qnR63dcJ J7sjLIfAZIJWMJb3ODjYoxquC0DHK64IOj4yjk38eFdWQwqSds/WBdE6SQJ1MXULIUbm QJxjz4VrpBaQuh11NUvG3e24C2D4VTOH5WRzw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8forO7n+gh7F4Yw1lqBfQwyaZ+7ioQk4ZhtwBSThf0Q=; b=CemmHvhFUDOMAN/RfQEnrOUZ5Pxm9PzOqHbP18pfZWDRDpFMcwiDR7XXDkcqxixpwB L0M2+Qjvwv49MdhAob1mWNqc1tNw8wRw0DlwJlc10KIwOdS5oo0dQQZawrpVQH8mUFDK dBuPpMmBkwSdjNde5YtXQAmRvRd9AjhjnYzFcEUKuKK511BGFFedBpVxYmpPK8F2ph81 XdTKzxgUCCl5EsHDRDeBpxHQOe/CRhM5zts2+TU/w7r1fKnO23FXPijys+gUrBLlxAL3 GkoSRcWW315u0xufWdE7mejs4KjPW/3bDhnSM8WaAwj7xfFqaYkOAh5FfoGMcKADldDG gLiQ==
X-Gm-Message-State: APjAAAXKmb4lRdBblHJ+2HdrBftykWNuCTXI9f7PvM3x5LGX2Vc2k7HS ku1E9cFhdvalDfQ1RLI7wTX6clUIOCsmF9RgK8kliA==
X-Google-Smtp-Source: APXvYqwqkzw0pKpNUB7GPWDQ0pP1X7WeChd8fz4BzyoGvfuZIIUw2Bq5A2MsB8eH6AO5tZildWgayaaOO/H9st/2ghQ=
X-Received: by 2002:a1c:9641:: with SMTP id y62mr18480826wmd.161.1568041716525; Mon, 09 Sep 2019 08:08:36 -0700 (PDT)
MIME-Version: 1.0
References: <CADVnQynJY8xkqkghhCWhPpbF+4Ev_3c7OZf_tDEb_J5xr0FV9A@mail.gmail.com> <c4b76af5-abbe-3184-24ce-03a2c0b9544b@it.uc3m.es> <CADVnQy=3FqEjqipX6thgjcjN8YPTOqiduYKU2GccXHwS+a3wVA@mail.gmail.com> <be98e323-506f-bdc8-a128-72c9f4aa5ead@it.uc3m.es> <3862e86e-e588-0cca-38e8-4ea23ef2b4c7@it.uc3m.es> <CADVnQymqHHg4cF94fu81opaBibmShVrsZ3cLyVPcHir0p=Kv3Q@mail.gmail.com> <30f3abb2-a78f-6da6-e67a-1532d342ce9e@it.uc3m.es>
In-Reply-To: <30f3abb2-a78f-6da6-e67a-1532d342ce9e@it.uc3m.es>
From: Luca Muscariello <muscariello@ieee.org>
Date: Mon, 09 Sep 2019 17:08:25 +0200
Message-ID: <CAH8sseRXegJ+hmKBc2xSxCEy87HWbw3_7zL_yuj-GxJrUypJqQ@mail.gmail.com>
To: marcelo bagnulo braun <marcelo@it.uc3m.es>
Cc: Neal Cardwell <ncardwell@google.com>, Praveen Balasubramanian <pravb@microsoft.com>, iccrg IRTF list <iccrg@irtf.org>, Yuchung Cheng <ycheng@google.com>
Content-Type: multipart/alternative; boundary="00000000000081d6cc0592202918"
Archived-At: <https://mailarchive.ietf.org/arch/msg/iccrg/GY1OSS7UxY__VpWEdNRUIg95_6c>
Subject: Re: [iccrg] LEDBAT++, rLEDBAT, and slowdowns
X-BeenThere: iccrg@irtf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussions of Internet Congestion Control Research Group \(ICCRG\)" <iccrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/iccrg>, <mailto:iccrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iccrg/>
List-Post: <mailto:iccrg@irtf.org>
List-Help: <mailto:iccrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/iccrg>, <mailto:iccrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Sep 2019 15:08:43 -0000

[1] assumes perfect knowledge of the RTT_min. So one way to measure it is
still required.
AIMD alone is not enough of course.

On Mon, Sep 9, 2019 at 10:35 AM marcelo bagnulo braun <marcelo@it.uc3m.es>
wrote:

> Hi Neal,
>
> Thanks for the explanation. I can see now that uncoordinated slow downs
> is not enough to provide a bounded delay.
> I have an additional question related to this, that maybe you can
> provide some insight.
> Some papers, like [1], have proposed an AIMD variation of LEDBAT to
> achieve interledbat fairness. Since laedbat late comer advantage is
> essentially the problem of a late comer misestimating the base delay,
> and bloating the queueing delay, seems essentially the same problem. So
> the question is wouldnt AIMD solve the problem? I mean, wouldnt AIMD
> provide fairness and keep the queueing delay added by the ledbat flows
> bounded as well?
> Thanks, marcelo
>
>
> El 06/09/19 a las 17:25, Neal Cardwell escribió:
> > However, if we apply the slowdown described in LEDBAT++
> >> (unsynchronized), then f1 would reduce its window and because f1 is the
> >> one expelling the other flows out, this would allow f1 to have a more
> >> accurate measure of the base delay, enabling the AIMD fairness to kick
> >> in and preventing the increase of the queueing delay.
> > As noted above, if the fair share of inflight data is less than the
> > standing queue, when f1 reduces its window it will not drain the queue
> > fully, so its base delay estimate will ratchet up to a value that
> > includes the queueing delay from all the other flows queued at
> > the bottleneck, even if all the others are LEDBAT++ flows.
> >
> >
> >> In summary, because errors in estimating the queuing delay causes one
> >> flow to grow more than the others, when this particular flow slows down,
> >> will allow a more accurate measure of the base delay, enabling AIMD
> >> fairness mechanisms to reconverge to a fair split.
> >>
> >> So, I am not convinced that it is not enough with the slow down proposed
> >> in LEDBAT++.
> > When you say a slow-down "will allow a more accurate measure of the
> > base delay," I think a key question is: more accurate than what, exactly?
> > An uncoordinated slow-down will allow a more accurate measure
> > of the base delay than the most recent RTT samples, but it will not
> > allow a measure that is more accurate than (or even matching)
> > the current base delay estimate.That's because uncoordinated
> > slow-downs can cause feedback loops, where flows measure
> > ever-increasing RTTs from the queues created by other flows
> > that are also unable to "anchor" their base delay estimates, so
> > are also allowing ever-increasing amounts of data in flight.
> >
> >> I am not sure this is true for all combinations of parameter values, i
> >> need to look into this.
> > Yes, I think further testing of LEDBAT++/rLEDBAT in multi-flow scenarios
> > would be worthwhile.
> >
> > A simple scenario that should illustrate this issue:
> >   o RTT of 100ms
> >   o bottleneck with 10*BDP of buffer space (allowing 1 sec of queuing)
> >   o 3 bulk LEDBAT++/rLEDBAT flows
> >
> > Per the dynamics discussed above, my theory is that in such a scenario
> > the queuing delay will grow until the buffer is oscillating near full and
> > there is ~1sec of queuing in the steady state. That is, rather than
> > "Low Extra Delay" there will be 1sec of extra delay. :-)
> >
> > best,
> > neal
> >
>
> _______________________________________________
> iccrg mailing list
> iccrg@irtf.org
> https://www.irtf.org/mailman/listinfo/iccrg
>