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

marcelo bagnulo braun <marcelo@it.uc3m.es> Mon, 09 September 2019 08:35 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 9C4971200E9 for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 01:35:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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] 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 7JFr18Lj2iTg for <iccrg@ietfa.amsl.com>; Mon, 9 Sep 2019 01:35:41 -0700 (PDT)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 B0B5B1200F6 for <iccrg@irtf.org>; Mon, 9 Sep 2019 01:35:40 -0700 (PDT)
Received: by mail-wr1-x432.google.com with SMTP id i1so12222632wro.4 for <iccrg@irtf.org>; Mon, 09 Sep 2019 01:35:40 -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=r4E2SGoLlml508EX04Dej45yDP5E/nwEFi6+qblX/SU=; b=HCGDs0ZLRMuoaAH4KcjX2H68yc8nbSKoi6mZwfJHabEXkrThliGb8O1zIquAq6P1Ri XjlsibBSy3XHbBK3R4Ha2vZwPIXUkN1J9rypvUFcpI93on6qMu6Vlu+K2b8J/KSXbkzT uoMgR46SgpF950lKf3qRKL/RfT573yeS8f5YrQYeFbUyiGE/t7G9d6qat9Mhphc0xJKz XiSsVpEv+y2s0Rrs4D28JEfheDs3P5ZzOzEQx30+nIV1IjG4+NCKUQjrXNMssuE2qd4T ig4upuRefyBYUUPcvX6VvPoi8SOnaV7ZVBhKWBYOGH3Xc3uF8Gv0sx7xwrZ6GDifHXx+ 2qEg==
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=r4E2SGoLlml508EX04Dej45yDP5E/nwEFi6+qblX/SU=; b=PO9rnnZVVacsWzwvea6GoUXO2PE/xUmet9+XzRZgLbPXEg9RmDc4cd1TKwVJ84hXIX KjoyUaVD7aH6d/m6Xzy33yRev7VDX2IOlJ4WokwaYska31Zuywp5u/KZtEfM6+YDUGVW 5+3vmGq+vUtSc18EkvNxlXOSw78te/DCy4s6x9Di3n45kEa9eB9cfSqsOLvjAl4bwkXW mIQvQFd58h/M53znVyhKtmCrn3nOXlA02KVFSFeFLh+FX1oUXe8Ly7zL/F2DEVcR8qqp CFN0SRhS1O548ZIMM3g292Kb4qYym7OY2bvqw1MYI2RGztFdQiwF9feLkhB3E53B9s5q h+jA==
X-Gm-Message-State: APjAAAVxLPLBrbpOLSExl/fL5h3AeNqPAEH9NZZPfk+WxFTlYE6jZOT9 1pZFyNeZJFHKhoj9zP1BwYiCng==
X-Google-Smtp-Source: APXvYqwJFj3rpvd96vcO/uzALkc6mTru4ZhjgFNZYPAhubQjRpIBjkZDDgMab+UYg7ToY45vraiTZw==
X-Received: by 2002:a5d:6185:: with SMTP id j5mr820561wru.99.1568018139131; Mon, 09 Sep 2019 01:35:39 -0700 (PDT)
Received: from Macintosh-6.local ([163.117.139.228]) by smtp.gmail.com with ESMTPSA id y6sm11569506wmi.14.2019.09.09.01.35.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Sep 2019 01:35:38 -0700 (PDT)
To: Neal Cardwell <ncardwell@google.com>
Cc: iccrg IRTF list <iccrg@irtf.org>, Praveen Balasubramanian <pravb@microsoft.com>, 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>
From: marcelo bagnulo braun <marcelo@it.uc3m.es>
Message-ID: <30f3abb2-a78f-6da6-e67a-1532d342ce9e@it.uc3m.es>
Date: Mon, 09 Sep 2019 10:35:38 +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: <CADVnQymqHHg4cF94fu81opaBibmShVrsZ3cLyVPcHir0p=Kv3Q@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/QS33itzR1E_jUTOtCA879Y_cKCU>
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 08:35:44 -0000

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
>