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

marcelo bagnulo braun <marcelo@it.uc3m.es> Mon, 09 September 2019 15:34 UTC

Return-Path: <marcelo@it.uc3m.es>
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 B67941200B5 for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 08:34:11 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 (2048-bit key) header.d=it.uc3m.es
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 G-W2aBXAeXJO for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 08:34:09 -0700 (PDT)
Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) (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 F072212008B for <iccrg@irtf.org>; Mon, 9 Sep 2019 08:34:08 -0700 (PDT)
Received: by mail-wr1-x431.google.com with SMTP id d17so1606080wrq.13 for <iccrg@irtf.org>; Mon, 09 Sep 2019 08:34:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=it.uc3m.es; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=3eMWwMlTto1im50lDUWG7Q3xlIDbnHRug9oGdyHNY6Q=; b=ay10RghozfPVcW+w6i9p8OaoNBWvov774EhpaR4m2fUxJFl0JZLOOcc03+kiS5EDb1 MPOulFFrGjjL2snpoO3dynhh+HGFbqdyRnEqxtd+vyZqYsLCbDo2G6E3cedRd8qCaOmX VHEVbLv3ZiGclasu5QkbtRCQyta9BbX94wsJynQR/udIG+Rind1RzpALzqz5iAw9oOXK TyerDDRj+g9RVM3O/uQIGjqq/u678U1IUavdVhqBqdGH3B0PDNLx4fUU531BPSdFGmFo IgB5VWcLXe1xdrob5OG14wl2d3+VXHuTRyqQDupYu55lnoamYEv3DWerjIyeGS1X1zfF xR4Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=3eMWwMlTto1im50lDUWG7Q3xlIDbnHRug9oGdyHNY6Q=; b=nzgA8EeSmyEwvXKgC5Vh2Ujk5bCEf7C9lp+Qhe2oMy/NDkQQyqPQhg9VTtK/7QVAWC sAXr/Bny4T5zXq7rq1WshySUZcwXoU3gyFVmurqo9H8j+LKjpsbyvKwt+L0Sqm8//ys8 fNSfRYafpbCzifWbWBg8G4dzI4OKkXDvcnS6Eu+LgLGePkSSZ2mEm/LrivW7jsHGI9AX 8VXK9jgzCH0zy/A3dwO2i6OPQsIzxBWkyFDXuef18uIsXIkm83/hd3Pi8dSkOiskhmk7 hw94M5uJJd+zefF93I39emTamRFrhToGeGUbmUI5NqVlG7vrMvj7fdjyYdStzDb5Hckx D6eA==
X-Gm-Message-State: APjAAAUxCPwGGGwXht3TtESvrQTCGe08oPlcy8Yx8soIBxx+Ce2XLzBr 6tzbq2F6idWIjyHlIcKL/C7+XQ==
X-Google-Smtp-Source: APXvYqyuoYHG/rPmqGMBINwD9mlZQp8YyxkNl6VcqFkb3GGM6Nwoph/wsY1uKpZklPXyUrLdd+rqkg==
X-Received: by 2002:a5d:6b49:: with SMTP id x9mr7175574wrw.80.1568043246475; Mon, 09 Sep 2019 08:34:06 -0700 (PDT)
Received: from Macintosh-6.local (211.134.22.95.dynamic.jazztel.es. [95.22.134.211]) by smtp.gmail.com with ESMTPSA id i93sm15197092wri.57.2019.09.09.08.34.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 08:34:05 -0700 (PDT)
To: Luca Muscariello <muscariello@ieee.org>
Cc: Neal Cardwell <ncardwell@google.com>, Praveen Balasubramanian <pravb@microsoft.com>, iccrg IRTF list <iccrg@irtf.org>, Yuchung Cheng <ycheng@google.com>
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> <CAH8sseRXegJ+hmKBc2xSxCEy87HWbw3_7zL_yuj-GxJrUypJqQ@mail.gmail.com>
From: marcelo bagnulo braun <marcelo@it.uc3m.es>
Message-ID: <e1b051a6-c99a-dc1f-6b64-13a279c62106@it.uc3m.es>
Date: Mon, 09 Sep 2019 17:34:03 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:60.0) Gecko/20100101 Thunderbird/60.8.0
MIME-Version: 1.0
In-Reply-To: <CAH8sseRXegJ+hmKBc2xSxCEy87HWbw3_7zL_yuj-GxJrUypJqQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Content-Language: en-GB
Archived-At: <https://mailarchive.ietf.org/arch/msg/iccrg/jBVvgnLtP8TdRbH5FYYmW9jbDDs>
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:34:12 -0000

Hi Luca,
thanks for replying.

I am not sure i understand your answer though. I mean the whole problem 
of LEDBAT latecomer advantage is that the late comer misestimates the 
base delay (i.e. RTT_min?) and then it adds the target delay on top of 
the wrongly estiamted base delay.
So, i dont understand what do you mean that the mechanism assumes 
knownledge of the base delay. Clearly, i am missing something here, 
could you educate me?

Thanks, marcelo



El 09/09/19 a las 17:08, Luca Muscariello escribió:
> [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 <mailto: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 <mailto:iccrg@irtf.org>
>     https://www.irtf.org/mailman/listinfo/iccrg
>