Re: [tcpm] last_max in CUBIC

Neal Cardwell <ncardwell@google.com> Thu, 23 April 2015 19:58 UTC

Return-Path: <ncardwell@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D87931B3237 for <tcpm@ietfa.amsl.com>; Thu, 23 Apr 2015 12:58:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.389
X-Spam-Level:
X-Spam-Status: No, score=-1.389 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 h5alHE_F97_Y for <tcpm@ietfa.amsl.com>; Thu, 23 Apr 2015 12:58:33 -0700 (PDT)
Received: from mail-ob0-x22a.google.com (mail-ob0-x22a.google.com [IPv6:2607:f8b0:4003:c01::22a]) (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 C71A81B3231 for <tcpm@ietf.org>; Thu, 23 Apr 2015 12:58:18 -0700 (PDT)
Received: by obcux3 with SMTP id ux3so22231667obc.2 for <tcpm@ietf.org>; Thu, 23 Apr 2015 12:58:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=b7lhXaD8DteqtN07lI6dp/mvPvZrj6Q6Qhml8aQOL3E=; b=IiMRpLimF0MwCyV8ZvMmgPQH32NETxw1jdMGBz4HAx0JFXF4RIc/k+VAon3E4A6HMh l7gyDqcDAon1yBtLagA4W3SqAloYCBWrZP7IoHQoSIddJ2GmZ6YOVBdZDr2lFOuSVZ3V yey5o85fZDARwRfMbt3vkZSyao55yb2ACR18KprhmSXmoy6yPwBsu2AhUtDGEOs+WQqV fx5sxL3m9umeqoJ/0rcMuoBrLUw9IOoRH9XJBtI0qMgO8GReSX9GZTkpaRqGG/2nM39q Hsfc9kvxV+CKGN09Jdbh9x0OSIKZNEf3sEWpM7XjAFcpAoTMclY2VEh+z95r63E98xsa j1FQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=b7lhXaD8DteqtN07lI6dp/mvPvZrj6Q6Qhml8aQOL3E=; b=Z3ssmqGi1C1LgMqAAE9sKA4gL11ZOfaQpGKhlqwxzV4/DCEKo2FzoS4Twdg7geRV/+ iW6lETTvqSVeX2xi63teap9e6jWa4PXxf0tABXii06Mjn0IfREHFNn4L2xT0J/H/pMHQ HqFS61MzCrJ5+OcUNyuDX7g+ZEII89uR4NbGz58xpZsC0ImKw32Uw2EQwYfOlbq4JPPl niLiYaifM7D5wtMDRvOBq0LJQTZuvSH+/Sv3FCzuJjmy0flIAJonDzwFI/NeDEe4LFEI 4rXRmw5qU+Np17ZWPNHcr0ASQ1l0JlUYQpo703vFpMhoHIqHRERSMJXVbXlaGaJ43vaD triA==
X-Gm-Message-State: ALoCoQkpuseOqLe+yWlumsZREpTj4Sj62qHHjo+lcnrwRrH31SvxiFimPpTGBgu1O8l6V2AP2k7A
MIME-Version: 1.0
X-Received: by 10.182.216.168 with SMTP id or8mr2143185obc.31.1429819098278; Thu, 23 Apr 2015 12:58:18 -0700 (PDT)
Received: by 10.202.50.195 with HTTP; Thu, 23 Apr 2015 12:58:18 -0700 (PDT)
In-Reply-To: <EA2D4071-0A9F-4951-B38B-D8FE23B6A86F@telecom-bretagne.eu>
References: <EA2D4071-0A9F-4951-B38B-D8FE23B6A86F@telecom-bretagne.eu>
Date: Thu, 23 Apr 2015 15:58:18 -0400
Message-ID: <CADVnQy=UNxuGVfDPm3zNHj1F_3p4FMTvWxN37G_sgtKzquBf=w@mail.gmail.com>
From: Neal Cardwell <ncardwell@google.com>
To: Nicolas Kuhn <nicolas.kuhn@telecom-bretagne.eu>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/tcpm/qoLapna_dB6JONBe8K3h1dzUWuM>
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
Subject: Re: [tcpm] last_max in CUBIC
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Apr 2015 19:58:35 -0000

On Thu, Apr 23, 2015 at 12:22 PM, Nicolas Kuhn
<nicolas.kuhn@telecom-bretagne.eu> wrote:
> Hi all,
>
> We were currently working on CUBIC and LEDBAT in NS-2, using Michael Welzl’s
> updated TCP Linux for NS-2
> [http://www.ietf.org/mail-archive/web/iccrg/current/msg01160.html].
> We see some strange behaviour in CUBIC’s window reduction, which we wanted
> to share with you here.
>
> — Topology —
>
> The topology is a simple dumbbell topology with a bottleneck of 10Mbps and
> an RTT of 100ms. The queue size of the router is set
> to 42 packets (with DropTail). There are two non-application limited bulk
> flows that randomly start within the first second of the simulation.
> Flow#1 is CUBIC (using ns-2.35/tcp/src/tcp_cubic.c version);
> Flow#2 is LEDBAT with a target delay of 5 ms or 25ms.
>
> — Problem illustration —
>
> In cwnd_case_1_default.pdf and cwnd_case_2_default.pdf, we plot the
> congestion window evaluation and the
> “new last_max_cwnd”, that is the W_last_max in the CUBIC draft
> [https://datatracker.ietf.org/doc/draft-zimmermann-tcpm-cubic].
>
>
>
> We recall here how CUBIC deals with fast convergence:
>
>       if (W_max < W_last_max){
>           W_last_max = W_max;
>           W_max = W_max*(2-beta)/2;
>       } else {
>           W_last_max = W_max
>       }
>
> In the case with LEDBAT25, at 15s, W_last_max “should” have been reduced,

Can you explain why you feel that in the case with LEDBAT25, at 15s,
W_last_max should have been reduced?

AFAICT, in the LEDBAT25 case with the existing CUBIC code
(cwnd_case_2_default.pdf) the CUBIC behavior is reasonable. From 15s
to 50s CUBIC finds that it is able to get cwnd up all the way to the
max value from the previous epoch before another loss happens. That
suggests that there are no other competing flows, and the situation is
stable, so it is reasonable to try to make cwnd quickly plateau at the
same level in the next epoch, rather than some lower level.

Can you summarize why this seems problematic?

neal