Re: [tsvwg] [tcpm] Tech review of draft-grimes-tcpm-tcpsce-01.txt

Bob Briscoe <ietf@bobbriscoe.net> Sat, 16 November 2019 00:59 UTC

Return-Path: <ietf@bobbriscoe.net>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3AA5C120052; Fri, 15 Nov 2019 16:59:59 -0800 (PST)
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=bobbriscoe.net
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 V-CexVfBuCeQ; Fri, 15 Nov 2019 16:59:56 -0800 (PST)
Received: from server.dnsblock1.com (server.dnsblock1.com [85.13.236.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7D7B9120019; Fri, 15 Nov 2019 16:59:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bobbriscoe.net; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=iy4XyNLpMNCP+W617ACSVNR1o5322p6WhqrBZwrahMI=; b=er/pkhLt4aWK09LETtFfVvF4lq taW1k5C6d9bhKMMK0TRP25FbTYhAqSbkfOeeK//CsIo6b6Z/wH4NC8jyNXghg5+2pBmZmfK4Mgk6I W5tX5Pt+CTuoP2w2W2uMKw79Mn6jgEE0yEWDo2T93E/Dn6D/eN4nS6GEPHRS5GTaZZiAfUPsK0Ctt tmEgcdYjmJN9kly4jdo6sKthgVkfWNK/brZsCUA+B43JDbs3Dg9p0hgRUCGNSLQsmzO76xnwmhtOW kRUmVAi1g4PWtIB0QRVZsscgNlSz7e57gx/uzNT8hwTbkmSSArCVSOcWJ/a6DsqjbZo2hIE7y/6vf O+adHJTQ==;
Received: from [182.55.86.154] (port=39052 helo=[192.168.0.142]) by server.dnsblock1.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <ietf@bobbriscoe.net>) id 1iVmRN-00078U-Fu; Sat, 16 Nov 2019 00:59:54 +0000
To: Jonathan Morton <chromatix99@gmail.com>
Cc: rgrimes@freebsd.org, tcpm@ietf.org, draft-grimes-tcpm-tcpsce@ietf.org, tsvwg@ietf.org
References: <201911042204.xA4M4Zob002799@gndrsh.dnsmgr.net> <8001dae3-0873-5ba1-d603-a9d8661b41ed@bobbriscoe.net> <7FB1D6B3-7995-473B-8055-C222BE19427A@gmail.com>
From: Bob Briscoe <ietf@bobbriscoe.net>
Message-ID: <4c4bed55-2cb8-c7c2-bab6-9a5dd672a7bf@bobbriscoe.net>
Date: Sat, 16 Nov 2019 08:59:50 +0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <7FB1D6B3-7995-473B-8055-C222BE19427A@gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.dnsblock1.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - bobbriscoe.net
X-Get-Message-Sender-Via: server.dnsblock1.com: authenticated_id: in@bobbriscoe.net
X-Authenticated-Sender: server.dnsblock1.com: in@bobbriscoe.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/VjVvVrXkl00eNbYHJ0pCbBcrKdI>
Subject: Re: [tsvwg] [tcpm] Tech review of draft-grimes-tcpm-tcpsce-01.txt
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Nov 2019 00:59:59 -0000

Jonathan,

I did ask you not to reply until you've read the review. The reasoning 
against what you've said below is in the review.

What you say (which you wouldn't say if you'd read the review) is only 
true for long-term stable traffic. But the Internet is hardly ever like 
that.

We need to see the delay from SCE at higher percentiles, which 
determines whether interactive applications will experience an 
improvement. If you don't make a significant improvement in 
/consistency/ of delay, there's no point burning codepoints. To measure 
that requires hundred's of thousands of data samples. Not just a few 
time series plots and plots of averaged Q delay. We have provided tools 
to extract all this, and we shall be making them easier to use during 
the Hackathon.

Briefly repeating what I've already said (sigh):
To ensure delay is /consistently/ very low under dynamic conditions 
(e.g. for real-time interactive applications), accuracy and timeliness 
in the feedback loop is critical.

With inaccurate feedback the set point that the congestion control is 
aiming for is incorrect, so the rate it aims for is either too high 
(->qdelay) or too low (->under-utilization). Yes, given enough time 
(under stable conditions), as it heads towards the wrong point, 
congestion will rise higher (or fall lower) than the error, and it will 
head closer to the correct point, but still aiming for the wrong target 
(the right target but with the latest feedback errors (+/-) added).

In addition, the review explains why all the schemes in the tcpsce draft 
give an inherently more biased error the higher the level of congestion. 
Biased error is much more problematic.



Bob

PS. Pls do not reply again without having taken the trouble to read what 
I have spent a lot of time explaining.


On 15/11/2019 23:28, Jonathan Morton wrote:
>> On 16 Nov, 2019, at 1:59 am, Bob Briscoe <ietf@bobbriscoe.net> wrote:
>>
>> Why go through all the years of pain of altering the TCP wire protocol for an accurate feedback scheme that isn't accurate?
> Without delving into the rest of the detail right now, I'd like to address this point immediately.
>
> Congestion control is, ultimately, a system with a control loop under negative feedback.  When designing such a control loop, one is generally concerned with whether it has sufficient gain to converge on the appropriate setpoint, and is acceptably stable.  The nature of the feedback path feeds into that analysis, but as long as the result meets acceptability criteria, a simpler control system is often preferable.  One fundamental property of a negative-feedback system, though, is that the system returns towards the setpoint after a disturbance, even that disturbance occurred *in* the feedback path.
>
> Consequently, SCE can tolerate as much as 100% relative error in the SCE feedback path.  The case of being 100% low - no ESCE feedback received at all - corresponds to falling back to RFC-3168 compliant behaviour, ie. the MD response to CE acts as a ceiling on the positive excursion of the control output (cwnd).  The case of being 100% high - twice as much ESCE feedback received as SCE marks were applied on the forward path - will cause a low excursion which will drain the affected queue, after which SCE marking will stop, and the system will then recover.
>
> Consequently we made the design decision that *reliable* accurate feedback was not necessary, nor was the associated complexity desirable.  We also observed that a single additional bit per received segment was always adequate to convey *accurate* feedback, and that usually fewer bits were needed, which fits well with using one spare bit per Delayed ACK packet - which is what we do here.  Several such bits are available in the TCP header for such uses, and we decided to recommend the use of one which had recently been freed up and whose previous use was closely related.
>
> Without yet having examined your other arguments in detail, I suspect you are misunderstanding how some of our proposed feedback methods work in practice, perhaps stemming from the above fallacy.  Understand that we have actually implemented each of these methods in running code, and can demonstrate their operation at the Hackathon.
>
> See you there.
>
>   - Jonathan Morton
>

-- 
________________________________________________________________
Bob Briscoe                               http://bobbriscoe.net/