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

Neal Cardwell <ncardwell@google.com> Tue, 03 September 2019 15:05 UTC

Return-Path: <ncardwell@google.com>
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 344A9120018 for <iccrg@ietfa.amsl.com>; Tue, 3 Sep 2019 08:05:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 9_OQsRRrRBXZ for <iccrg@ietfa.amsl.com>; Tue, 3 Sep 2019 08:04:59 -0700 (PDT)
Received: from mail-ot1-x336.google.com (mail-ot1-x336.google.com [IPv6:2607:f8b0: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 64ACE120019 for <iccrg@irtf.org>; Tue, 3 Sep 2019 08:04:59 -0700 (PDT)
Received: by mail-ot1-x336.google.com with SMTP id n7so9673443otk.6 for <iccrg@irtf.org>; Tue, 03 Sep 2019 08:04:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Oh9HYu+W4xFRH+Gnl+B8MiONRh7Z1++I3bKYToMNYUI=; b=W4g3TAWzVA2fJ9DBu5GNfVxvhUcuXCcNKqrhlSsNpD/PHBtc7G9i9558kMJ6m4mXrK ybgazbQwVzQYmGUh8lu3PsShLU6Gdjw2a7GWCmHAnBq17CEXSA8nWadYJAFyspIEGKtS xIwheT/bGq8PqKmdFg/7o8+02sylXRVCmAAoun/7wwTXQ/I4lZA9swvgGDM7UyJAAGF+ jS7oXK5yzo1wLQmay0DX+CxJEZlZAf4ze22HxRAZENE2GgEOqUXLkL4SPq/29008I2xR u6YYAglXhzQ3mLjsXz53Nck4HsrjAjSdCHNiIKVmdxrhKFqkl4lO+c2q2+U6rSk8TXUN gMyA==
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=Oh9HYu+W4xFRH+Gnl+B8MiONRh7Z1++I3bKYToMNYUI=; b=D9J0/WBLJg4HP1tAAaiIOu/SkG/D4AMMwPR4wlq5oKf8VK/Ol0fvd7k1X62T79usoE 5gAP5FMPXKZT33yn7D929uAbyRaTdlaFhJcoXtXCIpAFsRKa5jdndzXHFdT3RIzGIUwb MF7AH2h45gTD3JQB1p94Qg+z3x9EL/2OgXe7zIRHlEii+L81dfGtdaCg8sII5C1eD4Rq +NI9VTeCRe2AkGu8r2s9ZDF8mn5ReGtsGjFhUF65cEUYTH0BnwBWkecA9w3HuIHaJu0k S6o2LoJx+WkwnxZYxhsjBRm7m91Y9letixdCV0z+pWwzfoVsr+3FKw6GEPcwdtsrfR/o mR+w==
X-Gm-Message-State: APjAAAVe/xq8meOOMMy9J7H+dMYiQQZt1pu2RXCIku7nUH13Xtde5bC4 3fR/UQ7wvGh1YqpH6j5BMV6vYTDSbL3wYvzrZ51iBg==
X-Google-Smtp-Source: APXvYqzcmE0lmglU3ZCVEGH9errq+JPLK0BXhmFqSOmZz7GGAexXI1fCVqmJKDOG7oAUR30H3EJzDFdsrduMOa9AkjA=
X-Received: by 2002:a9d:2642:: with SMTP id a60mr3461823otb.247.1567523098073; Tue, 03 Sep 2019 08:04:58 -0700 (PDT)
MIME-Version: 1.0
References: <CADVnQynJY8xkqkghhCWhPpbF+4Ev_3c7OZf_tDEb_J5xr0FV9A@mail.gmail.com> <c4b76af5-abbe-3184-24ce-03a2c0b9544b@it.uc3m.es>
In-Reply-To: <c4b76af5-abbe-3184-24ce-03a2c0b9544b@it.uc3m.es>
From: Neal Cardwell <ncardwell@google.com>
Date: Tue, 03 Sep 2019 11:04:41 -0400
Message-ID: <CADVnQy=3FqEjqipX6thgjcjN8YPTOqiduYKU2GccXHwS+a3wVA@mail.gmail.com>
To: marcelo bagnulo braun <marcelo@it.uc3m.es>
Cc: iccrg IRTF list <iccrg@irtf.org>, Praveen Balasubramanian <pravb@microsoft.com>, Yuchung Cheng <ycheng@google.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/iccrg/quSbVD3mkMwIZmo3jO_TQGTAcZ4>
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: Tue, 03 Sep 2019 15:05:01 -0000

On Tue, Sep 3, 2019 at 5:05 AM marcelo bagnulo braun <marcelo@it.uc3m.es> wrote:
>
> Hi Neal,
>
> Thanks for the comments and sorry for the delay in replying, I was away.
>
> Reading RFC6817, the goals of LEDBAT are:
>
> " LEDBAT congestion control seeks to achieve the following goals:
>
>     1.  to utilize end-to-end available bandwidth and to maintain low
>         queueing delay when no other traffic is present,
>
>     2.  to add limited queuing delay to that induced by concurrent flows,
>         and
>
>     3.  to yield quickly to standard TCP flows that share the same
>         bottleneck link."
>
> So, as i read this, when other traffic is present, the goal of LEDBAT is
> expressed in the additional queueing delay added by the LEDBAT flow and
> NOT in terms of the absolute queueing delay in the bottleneck. (I think
> this differs form other efforts targetting of limiting the absolute
> queueing delay.
>
>  From this perspective, simply slowing down the flow, would allow
> LEDBAT++ to measure the base delay in its absence and comply with the
> goal of limited additional delay.

I guess what I'm trying to get at is that:

(1) AFAICT the LEDBAT++ and rLEDBAT algorithms so far do not seem to
provide a bound on "the additional queueing delay added by the LEDBAT
flow", in the case where there are several  LEDBAT++/rLEDBAT flows and
the fair share of in-flight data is less than the queue depth.
Instead, the group dynamics would be such that the queue would
gradually but steadily ratchet up until the buffer is full. This does
not seem to meet the goals expressed in RFC6817 ("limiting the
consequent increase in queueing delay on that path...avoiding
interference with the network performance of competing flows") or the
LEDBAT++/rLEDBAT drafts.

(2) With minor tweaks to coordinate slowdowns, the LEDBAT++/rLEDBAT
algorithms could be tweaked to avoid this problem in common multi-flow
scenarios.

best,
neal