Re: [rmcat] AD review of draft-ietf-rmcat-nada

"Xiaoqing Zhu (xiaoqzhu)" <xiaoqzhu@cisco.com> Thu, 18 July 2019 03:52 UTC

Return-Path: <xiaoqzhu@cisco.com>
X-Original-To: rmcat@ietfa.amsl.com
Delivered-To: rmcat@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FFFE12061E; Wed, 17 Jul 2019 20:52:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.5
X-Spam-Level:
X-Spam-Status: No, score=-14.5 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=T/137ZWx; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=NmOXeiU7
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 dXa7quiM5etp; Wed, 17 Jul 2019 20:52:48 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B2781200FF; Wed, 17 Jul 2019 20:52:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10054; q=dns/txt; s=iport; t=1563421968; x=1564631568; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=UTfr5WADaeHpSGiJV2IWc85MPUOIIQBGzKkibPiiY6c=; b=T/137ZWx57hMczdFvQBHEtDFHHSQDz9c0YjOQHgAJKhOIgkqfmUcs4Fy m5QPspS3TEG9Izc09svlv6sDnDGGzoeVBAebkwfUFQi8m/0jpkgQ8iQxY dRFYdo0LROgoo2Jt4WZzTbYH7f7uRNpeiysUKPlCfGCvJzO8KK9IAbEY2 A=;
IronPort-PHdr: 9a23:aAiGpBIAxHsCMQIqlNmcpTVXNCE6p7X5OBIU4ZM7irVIN76u5InmIFeBvKd2lFGcW4Ld5roEkOfQv636EU04qZea+DFnEtRXUgMdz8AfngguGsmAXF36JfnzfSwnNM9DT1RiuXq8NBsdFQ==
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BIAAAj7C9d/4UNJK1lHAEBAQQBAQcEAQGBUwcBAQsBgUMkBScDbVUgBAsqhB2DRwOEUokqg1mWUoEuFIEQA1QJAQEBDAEBIwoCAQGEQAIXgjEjNAkOAQMBAQQBAQIBBW2FPAyFSwIBAQISEREMAQE3AQ8CAQYCDgwCGQ0CAgIwFRACBAENBSKDAAGBagMdAQ6QDJBgAoE4iGBxgTKCeQEBBYE2A4NaGIITAwaBDCgBi14XgUA/gREnH4FOSTU+gmECAQKBRoMjMoImjBQGgl6HK5NdZwkCghmGWId6hTobgi2HJQWOM4x9OIExhheQCAIEAgQFAg4BAQWBUDiBWHAVZQGCQYJBgSYBCYJBhRSFP3IBgSiJbCqCKAEB
X-IronPort-AV: E=Sophos;i="5.64,276,1559520000"; d="scan'208";a="593765874"
Received: from alln-core-11.cisco.com ([173.36.13.133]) by rcdn-iport-7.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 18 Jul 2019 03:52:46 +0000
Received: from XCH-ALN-007.cisco.com (xch-aln-007.cisco.com [173.36.7.17]) by alln-core-11.cisco.com (8.15.2/8.15.2) with ESMTPS id x6I3qkmS018923 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 18 Jul 2019 03:52:46 GMT
Received: from xhs-rtp-003.cisco.com (64.101.210.230) by XCH-ALN-007.cisco.com (173.36.7.17) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 22:52:46 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rtp-003.cisco.com (64.101.210.230) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 17 Jul 2019 23:52:45 -0400
Received: from NAM03-DM3-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 17 Jul 2019 22:52:45 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VRMfLJ4lXnWAZV+6Q0sFjV+atFkjcspGK3zZoNhq6gY7gVk4wrs+LCMSOEBG4yNzG9fTj1s7rqwSm2Yv6vlvtCCl3AzmAs/P4Jem2MH7bHmOOw9/swQoBCtErXLFmEqg/yLJ6bnp5pGkr3OVqeBG6a6skXY+AXzQ46qxaVqfAYPHDsJ0ycYM+jgLmr8VjobQk/vZpxJOOR2WqMxXNWUWt/aXROU5sDYgN6wVTPGaJChqFU8SvGp6C5Azulw3v59KtvnGQ/yrzBaruEyE2YXobEeikwqp1HjIrmMIMk5ifPZHQ57UnylWi4LPIPRKcxnaEiOTDxQcIw5UGvB8JThahQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UTfr5WADaeHpSGiJV2IWc85MPUOIIQBGzKkibPiiY6c=; b=BVJ2o+VjZGo7hwURMTNavKc8Vn4HbqbXk3z2uZGmjTmsvXhCslHxRZvcRUbKXnaQS0xovocsefWgnz3Kf47EQpw3wero45F/RB2rZd8IRGnrjGBrmnpMCPpeVfh3p/2xYtcJaBLIWs7PH0w7hFA7idFpULc5EOkhxiIyHRbaLtNFGzUvnCMHzi2o0OfTaxqAV7rgy0menT8MTCX65YrJZWHkum8T3H4PniZKto3PIm5AEQyeHSYhP1lSQcmA36zGduKOV5QRU0HFxYm4JzMyuqlMog1XuEzU3S5rRDkzef7cBGd7naGTiuLshL9EIxVZPuCmlMQZzYz8eO7QHd3jNA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=cisco.com;dmarc=pass action=none header.from=cisco.com;dkim=pass header.d=cisco.com;arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UTfr5WADaeHpSGiJV2IWc85MPUOIIQBGzKkibPiiY6c=; b=NmOXeiU7YG7maqfZ6EG1WAc6CEij/FQyBIcC0yB24jLksX7qxw+Jv8YbojnAbtz3gIjLMXtoGGCl0PokmnL8kzoLmtVVpQz34D8WhjGvlX/4CzpMCBso8l5EiaS3LA4mBMCXOE8ln2hxZF/n0O0vFqamc3RsPlT8zj7GRdF9bSs=
Received: from CY4PR11MB1559.namprd11.prod.outlook.com (10.172.72.140) by CY4PR11MB1976.namprd11.prod.outlook.com (10.175.62.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2073.14; Thu, 18 Jul 2019 03:52:44 +0000
Received: from CY4PR11MB1559.namprd11.prod.outlook.com ([fe80::3deb:c5d6:c432:8999]) by CY4PR11MB1559.namprd11.prod.outlook.com ([fe80::3deb:c5d6:c432:8999%8]) with mapi id 15.20.2073.012; Thu, 18 Jul 2019 03:52:44 +0000
From: "Xiaoqing Zhu (xiaoqzhu)" <xiaoqzhu@cisco.com>
To: Mirja Kuehlewind <ietf@kuehlewind.net>, "draft-ietf-rmcat-nada@ietf.org" <draft-ietf-rmcat-nada@ietf.org>
CC: "rmcat@ietf.org" <rmcat@ietf.org>
Thread-Topic: AD review of draft-ietf-rmcat-nada
Thread-Index: AQHVMzmH+NA6vm+3VUa9yBjq5riAxabPfjsA
Date: Thu, 18 Jul 2019 03:52:43 +0000
Message-ID: <F7BFAED0-B3DE-4A70-B9C3-3170C3241EA9@cisco.com>
References: <A2A4251B-0BD8-4212-B118-F46659804F9C@kuehlewind.net>
In-Reply-To: <A2A4251B-0BD8-4212-B118-F46659804F9C@kuehlewind.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1b.0.190715
authentication-results: spf=none (sender IP is ) smtp.mailfrom=xiaoqzhu@cisco.com;
x-originating-ip: [2001:420:c0cc:1007::61]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: b6028770-703b-46e2-a077-08d70b3363e7
x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:CY4PR11MB1976;
x-ms-traffictypediagnostic: CY4PR11MB1976:
x-ms-exchange-purlcount: 1
x-microsoft-antispam-prvs: <CY4PR11MB19768F593391F91FC1D549E3C9C80@CY4PR11MB1976.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 01026E1310
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(39860400002)(136003)(396003)(53754006)(199004)(189003)(51914003)(6512007)(76176011)(71200400001)(71190400001)(102836004)(6506007)(186003)(478600001)(256004)(8676002)(46003)(229853002)(2906002)(86362001)(33656002)(966005)(6436002)(58126008)(66556008)(66946007)(64756008)(8936002)(66476007)(11346002)(6116002)(66446008)(446003)(6486002)(316002)(6306002)(99286004)(110136005)(76116006)(2616005)(91956017)(476003)(14454004)(68736007)(81166006)(81156014)(305945005)(14444005)(7736002)(6246003)(53936002)(25786009)(2501003)(486006)(4326008)(36756003)(5660300002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR11MB1976; H:CY4PR11MB1559.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1;
received-spf: None (protection.outlook.com: cisco.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam-message-info: 9lm98nOAgM+JVZCqEjlCnlPiVPIa+6CYUqM3MMm9agURbg/z1mIIRWD9oEQkKp1OrkOw53NOgbDHK1HDtoMrUeIOitnwZDoqnKsMU7Zl8tMZ/49Du1Cm3Rwmku/SRvAzJbayLj8NKcYArDnfRwcMBA5558ffIRGeRov8YWn5mZVUtpM5cKs/jpZRjDjhel8w4BobO/P541yXiBGMZNq3VBODith88MYomF31/GYN95WIwQkD+LlAVc94fJVIiMsQgiRlb7zwCRvM4Ef+2zicinPxxEGjorJYFc03sfpBxRQOj+q1YqjFSwmYG00naX2oQWCtgSzF1hu6dGKOvIbe4IEPno5PiZimEYqiMNLCufrngQK8LdAlI36eTWUFc58gMaR7Bjri9aALzG+GldnSDwISwkZVZT6/YADPlvZ8YkY=
Content-Type: text/plain; charset="utf-8"
Content-ID: <6FFF91CF9B4BC9408EACDFF63318D433@namprd11.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: b6028770-703b-46e2-a077-08d70b3363e7
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jul 2019 03:52:43.6789 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: xiaoqzhu@cisco.com
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB1976
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.17, xch-aln-007.cisco.com
X-Outbound-Node: alln-core-11.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/rmcat/Yb3AFRWpIXr41NttJ_KReuZQfqA>
Subject: Re: [rmcat] AD review of draft-ietf-rmcat-nada
X-BeenThere: rmcat@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "RTP Media Congestion Avoidance Techniques \(RMCAT\) Working Group discussion list." <rmcat.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rmcat>, <mailto:rmcat-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rmcat/>
List-Post: <mailto:rmcat@ietf.org>
List-Help: <mailto:rmcat-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rmcat>, <mailto:rmcat-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jul 2019 03:52:52 -0000

Hi Mirja,

Thanks a lot for your review of the document. A few of the co-authors have discussed over them. Please find our replies below inline (tagged [Authors]).  We intend to update the draft as planned and present the changes at the upcoming IETF 105 meeting.  

Please let us know if you have any additional comments regarding these changes. 

Best,
Xiaoqing

On 7/5/19, 8:57 AM, "Mirja Kuehlewind" <ietf@kuehlewind.net> wrote:

    Hi authors, hi all,
    
    There is one hard requirement that need to be addressed before I can move this document forward. Every RFC needs a security consideration section (see RFC 3552). Please add respectively text there. 
    
[Authors]  Thanks for the reminder. We intend to add the following text for the next "Security Consideration" section: 

The rate adaptation mechanism in NADA relies on feedback from the receiver. As such, it is vulnerable to attacks where feedback messages are hijacked, replaces, or intentionally injected with misleading information, similar to those that can affect TCP. It is therefore RECOMMENDED that the RTCP feedback message is at least integrity checked.  The modification of sending rate based on send-side rate shaping buffer may lead to temporary excessive congestion over the network in the presence of a unresponsive video encoder. However, this effect can be mitigated by limiting the amount of rate modification introduced by the rate shaping buffer, bounding the size of the rate shaping buffer at the sender, and maintaining a maximum allowed sending rate by NADA.  

    Also I have one technical question I would like to quickly discuss before I move this document to IETF last call. Sorry if this was discussed before in the wg but at least I don’t recap any discussion about this:
    
    In section 5.2.2 the sending rate is calculated the following way:
    
    r_send = r_ref + BETA_S*8*buffer_len*FPS.
    
    This takes the reference rate that is calculated based on the congestion feedback and adds a term based on the buffer length. However, this seems to some extend counter-productive as the reference rate might decrease due to congestion and therefore the buffer might build up, and the final reaction is to simply send more data, even though the congestion might have gotten worse. I wonder after all if this behaviour is safe or could lead to even a congestion collapse because you might end up increasing your rate instead of decreasing in a congestion situation (especially as the encoder could actually ignore the reference rate and just 
keep filling up the buffer). 
    

[Authors]  Thanks for raising this concern. We agree that without applying any other guiderails, the equation as it is currently described in the draft may lead to excessive congestion in the presence of an unresponsive video encoder and an unlimited rate shaping buffer.  In practical systems, one can further bound the modification introduced by the rate shaping buffer by bounding both the size of the rate shaping buffer and amount of rate changes (so that it's only within a few percent of the reference rate), along with choosing an appropriate scaling parameter BETA_S.  

[Authors] Note further that this modification is not part of the core congestion control algorithm, but rather a mechanism at the sender for mitigating end-to-end frame delivery delay of the media streams. Its applicability largely depends on whether the rate shaping buffer information is exposed outside of the video sender. 

[Author] In light of the above considerations, we'll explicitly add some bounding conditions to the equation of calculating r_send in Section 5.2.2., and will also update the recommended value of BETA_S (and, for that matter, also BETA_V) based on simulation studies.  Will report back on the updated parameter values after our simulation study efforts on completed. We will also add a paragraph of discussion to reflect the above points in that section of the draft. 

    
    And another (less critical) technical question: 
    
    Section 6.3 discussed the target feedback interval and recommends some values. However, should that feedback interval depend on the RTT. E.g. if you have an RTT of 500ms, why do you need to send feedback every 100ms or 250ms?
    
[Authors]  Note that the NADA rate adaptation is calculated not only from the reported congestion level (i.e., relative one way delay in the absence of packet losses), but also the _change_ in consecutive reports of congestion levels (i.e., the derivative of the congestion signal).  As such, more frequent feedback messages translates to better estimates of the congestion derivative, since we are approximating the derivative using difference equations.  That is the main reason why the recommended feedback interval is at 100ms. 

[Authors] We have presented in previous WG meetings extensive studies (via both theoretical analysis and numerical and simulation studies) on the impact of feedback interval, and have shown that while stability of the system holds for feedback intervals up to 500ms, the system response time does slow down with increasing feedback interval values.  More details can be found at the link below for the reasoning behind our recommended feedback interval of 100ms to cover a wide range of propagation delays at a reasonable tradeoff between feedback overhead vs. responsiveness: 

https://datatracker.ietf.org/meeting/95/materials/slides-95-rmcat-5.pdf

    Some other mostly editorial comments:
    
    1) I would recommend to add informative reference for PIE, FQ-CoDel and RED in section 3.
    
    2) Sec 4.3: “Values of the minimum rate (RMIN) and maximum rate (RMAX) will be provided by the media codec, as specified in [I-D.ietf-rmcat-cc-codec-interactions].”
    This sounds like I-D.ietf-rmcat-cc-codec-interactions would be a normative reference, however, I think you just want to give this (expired) draft as an example, maybe say “… as e.g. outlined in [I-D.ietf-rmcat-cc-codec-interactions]” or something similar.
    
    3) Sec 6.2: “These alternatives are currently under investigation.”
    Given this document will not change anymore after publication as RFC, maybe rather say something like:
    “These alternatives are part of the experiment this document proposes.”
    Similar also at end of section 6.3.

[Authors]  Thanks for the above editorial suggestions. We'll incorporate all of them. 

    
    And one more processing question:
    RFC 7942 proposes an Implementation Status section that is intended to be removed on final publication as RFC. I guess in this case it would actually be valuable to keep the section. Is that the intention? If yes, we need to make sure this is communicated to the RFC editor. We can add a note in the IESG write-up or you can alternative add a note directly in the document.

[Authors] You are right that we do intend to include this section (similar to how we proceeded with the video-traffic-model draft).  We can add a note directly in the document to state that we intend to keep the reference to our open-source implementation in the final draft. 

  
[Authors] Thanks again for your thorough review and helpful suggestions! 

    Thanks,
    Mirja