[tcpm] CUBIC rfc8312bis / WGLC Issue 4

Markku Kojo <kojo@cs.helsinki.fi> Fri, 29 July 2022 02:17 UTC

Return-Path: <kojo@cs.helsinki.fi>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5FF1C15C516 for <tcpm@ietfa.amsl.com>; Thu, 28 Jul 2022 19:17:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.007
X-Spam-Level:
X-Spam-Status: No, score=-7.007 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cs.helsinki.fi
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5-qPl7r1GN7j for <tcpm@ietfa.amsl.com>; Thu, 28 Jul 2022 19:17:19 -0700 (PDT)
Received: from script.cs.helsinki.fi (script.cs.helsinki.fi [128.214.11.1]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBF8EC14CF10 for <tcpm@ietf.org>; Thu, 28 Jul 2022 19:17:17 -0700 (PDT)
X-DKIM: Courier DKIM Filter v0.50+pk-2017-10-25 mail.cs.helsinki.fi Fri, 29 Jul 2022 05:17:14 +0300
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.helsinki.fi; h=date:from:to:subject:message-id:mime-version:content-type; s= dkim20130528; bh=em4u7W6L0E/kMOfDh/a2bi/yaSWxhkRGfDlRAca47BE=; b= euY3gXvhXpXzCZ5CSC1lbILszuGKl1SD/tTyeNq7xjr29nxb7G67Ym2YNIA8irWv +QVLSUbcTjxTxAnX/GWbucU7nPuu3/VnZRBO1UcQy+L48yqlZN9wP8THBkAmwcYd XTPmR5/qqkXxY9bAjQx8f5o5dGfX8y9Zyzf6FOpuReE=
Received: from hp8x-60 (85-76-102-15-nat.elisa-mobile.fi [85.76.102.15]) (AUTH: PLAIN kojo, TLS: TLSv1/SSLv3,256bits,AES256-GCM-SHA384) by mail.cs.helsinki.fi with ESMTPSA; Fri, 29 Jul 2022 05:17:14 +0300 id 00000000005A0403.0000000062E3432A.00002BD3
Date: Fri, 29 Jul 2022 05:17:11 +0300
From: Markku Kojo <kojo@cs.helsinki.fi>
To: tcpm@ietf.org
Message-ID: <alpine.DEB.2.21.2207290501590.7292@hp8x-60.cs.helsinki.fi>
User-Agent: Alpine 2.21 (DEB 202 2017-01-01)
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"; charset="US-ASCII"
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/FVy0d2fOJ47A9Y0ZN3k_DMmRcCc>
Subject: [tcpm] CUBIC rfc8312bis / WGLC Issue 4
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.39
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 29 Jul 2022 02:17:24 -0000

Hi all,

Issue 4 is lacking a separate description. Below please find some context 
for the issue 4 and description of the issue 4 as the item 3.

CUBIC has been designed to operate in two regions: 1) TCP-friendly region 
where Reno has no problem to fully utilize the available network capacity 
and 2) the "genuine CUBIC mode with concave/convex region and some 
additional details when the cwnd necessary to fully utilize the available 
capacity is large and Reno has problems to ramp up fast enough.

The intended goal for the TCP-friendly region is all correct (= behave 
equally aggressive as Reno CC) but it leaves unnoticed that there are 
several CC phases to address to behave like Reno. CUBIC only addresses 
the well-known congestion avoidance cycle. The phases the draft must 
address and justify the use of Beta = 0.7 separately:

1. CA phase: which is basically fine if only the model was correct as the 
model compensates the larger Beta (0.7) with lower alpha in the typical CA 
cycle. So, there is well argumented justification to deviate from 
Beta=0.5 in this phase but the problem of Issue 1 exists due to incorrect 
model.

The rest are CC phases in which the selection of Beta significantly 
affects the fairness of a CC algo and they are not
addressed in the current draft:

2. Slow-start phase: Beta when the sender is in slow start when
    a congestion event is signelled (Issue 2).

3. Beta when there is sudden congestion (Issue 4).
This is different from the CA phase above in item 1. In this phase the 
sender should react to congestion like Reno to take the cwnd down
quickly to resolve congestion. This often requires several consecutive 
multiplicative decreases. Using lower alpha does not compensate much 
anything here because the sender cannot continue congestion avoidance ll 
the way (close) to the previous saturation point as a new loss occurs 
earlier due to heavy congestion. This is important and all competing 
flows following the same behaviour would benefit from the corresponding 
actions of the others and congestion will be resolved quickly. Currently 
CUBIC requires roughly two times more cwnd reductions to end up with the 
same fair rate as Reno. That is, it gets unjustified benefit being slower 
to converege down.

This unfortunately would require a new heristic/algo and should be at 
least placed as a todo item in the draft (because there is need to 
decrease the sending rate consecutively several times, not just once per 
normal CA cycle, the sender should start using Beta 0.5 or even lower 
Beta to compensate the previous decrese(s) with Beta 0.7.)

This problem with CUBIC has been shown in the studies but none of those 
are cited in the current draft. SO, we have measurement data to back up 
the issue.

Thanks,

/Markku