Re: [Tsv-art] Tsvart last call review of draft-ietf-mmusic-t140-usage-data-channel-11

Christer Holmberg <christer.holmberg@ericsson.com> Sun, 02 February 2020 14:15 UTC

Return-Path: <christer.holmberg@ericsson.com>
X-Original-To: tsv-art@ietfa.amsl.com
Delivered-To: tsv-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DC61D1201E0; Sun, 2 Feb 2020 06:15:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.998
X-Spam-Level: **
X-Spam-Status: No, score=2.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, GB_SUMOF=5, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.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 5vVDdd68ISOC; Sun, 2 Feb 2020 06:15:03 -0800 (PST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2089.outbound.protection.outlook.com [40.107.22.89]) (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 75511120100; Sun, 2 Feb 2020 06:15:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=be7ktzgqGwYjznW60J9mVeoUf6seK4BkB7WGZNweNiDvwNzYI1/zf9rEQpNJXzxVzrL8ZhiVcq7FhiNAWFe4Bi9WlxKQS8l2GdUNHiPxgpxJ4OiwxIY3Nsjn3evdh0reiwoEPNpjA+WxjVtBz7en8fsOGuXzO4hzvdc2rrdAE+qMqGaZWLqPBFXbmNVo/yLLWXGaC1jU/r+R6iAuFfx0wh/CyFZw9YsHwhtpsgpy8uw9bN3Vek05U/4NYmtRzP2FKAZjJLUqOaoc+B8BcdJdF2j5Sjj3GQIyxVH5E3DQq5RCzbWALCyLCbH2H9Qbn0IdNm8mWCQ/QDyE61eZZxzISw==
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=R5mb6UT9UbugbPIntGZ8BDIvkbmyWTaLhjjh6QyTlFE=; b=mHJRtXuuPESf19QOst1rLN/d3iY+onK558ShFLCVs3NgsONDr2nGzKcvzwVYfmshdahfefOjzBCA3J54X3iCwVWj3FmjGjYL9P7lGuQ0ODKi9rl/JHWn3yX0mxoWogDZCyT0j8gXD7AB62zy5N5MkCh4RQ61WhJie4OKtdH554X24aTUPpWnZHlsRuDRbbPTwIg26h3UJMdUGIgpISKvkIup8p5kztwavm+Y8ADsnKnuDL247OTN1xuPmOay4wmKv5QBZy7lsdPrqv9xX1NvY5v/KousWrhgfvKNpsLXdQXL7tCrXgvBR0x6p5RbefYVSBZh7KfxB8YTx7gcRpc/Hg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R5mb6UT9UbugbPIntGZ8BDIvkbmyWTaLhjjh6QyTlFE=; b=Kuok1QYwSKCEsNW0SW1du4J+EQabhSVeluz6mjL7lPI7mqzU9mJMh+To38cM0ZHL3W+wY0lKq/ukCV+lWdAd/E8DhhXEMp3CpIY8MTrDahTsf/a0TGLlzBucDcm/ky7VDWdGV0IPghQpsRG4Zq3ir9WQP0uDqxJ3O+OkH7+KS3k=
Received: from AM0PR07MB3987.eurprd07.prod.outlook.com (52.134.82.159) by AM0SPR01MB0086.eurprd07.prod.outlook.com (10.186.128.204) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.10; Sun, 2 Feb 2020 14:15:01 +0000
Received: from AM0PR07MB3987.eurprd07.prod.outlook.com ([fe80::2c17:b7da:3370:2cb0]) by AM0PR07MB3987.eurprd07.prod.outlook.com ([fe80::2c17:b7da:3370:2cb0%4]) with mapi id 15.20.2707.011; Sun, 2 Feb 2020 14:15:01 +0000
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Gunnar Hellström <gunnar.hellstrom@omnitor.se>, "Scharf, Michael" <Michael.Scharf@hs-esslingen.de>, "tsv-art@ietf.org" <tsv-art@ietf.org>
CC: "last-call@ietf.org" <last-call@ietf.org>, "mmusic@ietf.org" <mmusic@ietf.org>, "draft-ietf-mmusic-t140-usage-data-channel.all@ietf.org" <draft-ietf-mmusic-t140-usage-data-channel.all@ietf.org>
Thread-Topic: Tsvart last call review of draft-ietf-mmusic-t140-usage-data-channel-11
Thread-Index: AdXW702AgJKk97+8PEGjxavEbNwM2wAdF9oAAAHPaDAABsgBAAABHo2AACn9soAAAshVsAAESF+AAGVLJwA=
Date: Sun, 02 Feb 2020 14:15:00 +0000
Message-ID: <A959F700-4258-4319-B546-44BBE0877F86@ericsson.com>
References: <6EC6417807D9754DA64F3087E2E2E03E2D8FB09C@rznt8114.rznt.rzdir.fht-esslingen.de> <1D07192D-90E3-4857-A44F-CCB2A4065E67@ericsson.com> <6EC6417807D9754DA64F3087E2E2E03E2D8FEAC8@rznt8114.rznt.rzdir.fht-esslingen.de> <4912DB9B-8404-4C86-9957-56AA5DFE539F@ericsson.com> <4b84568b-3525-d8e1-7b09-45dee8ac39f1@omnitor.se> <C7A0DD7E-51E2-4056-9AB7-7F636D33DB12@ericsson.com> <6EC6417807D9754DA64F3087E2E2E03E2D904618@rznt8114.rznt.rzdir.fht-esslingen.de> <50e5a0ad-f433-5df3-7225-592d3fcd2599@omnitor.se>
In-Reply-To: <50e5a0ad-f433-5df3-7225-592d3fcd2599@omnitor.se>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/10.1e.0.191013
authentication-results: spf=none (sender IP is ) smtp.mailfrom=christer.holmberg@ericsson.com;
x-originating-ip: [188.127.223.154]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: a30c713d-1522-4f55-2883-08d7a7ea4aa5
x-ms-traffictypediagnostic: AM0SPR01MB0086:
x-microsoft-antispam-prvs: <AM0SPR01MB00865038D42E181B43D91A5993010@AM0SPR01MB0086.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 0301360BF5
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(39860400002)(376002)(366004)(136003)(396003)(189003)(199004)(6506007)(66476007)(66946007)(66556008)(44832011)(66446008)(64756008)(110136005)(54906003)(33656002)(91956017)(478600001)(316002)(76116006)(2616005)(966005)(6512007)(4326008)(26005)(186003)(30864003)(5660300002)(66574012)(81156014)(8936002)(8676002)(81166006)(86362001)(6486002)(71200400001)(36756003)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0SPR01MB0086; H:AM0PR07MB3987.eurprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 60AT7sxm/iOh5Yq93er3zaa+5qSrH7TvoUIFc5LmXIscA7PdI3I2tQhjLOoRLRftD6PtFme6YZLA9N7qkBcopo/dqZnwWH25A5OOWZRJhcDLdLmYgLN8NoyF4EAqw9vedRQHrVNP/02R+Z/AQKlWTvXiVI9nnsxAilUJtFLju9SuXS/1ShxGAmUradOIj2m1WNgXEut3W/K7xo/x6meIyGsnqbGmwRSnvDGeBQbn4WUwMiI/PPh9WBDkmF0eSjDUMbUbgw78c/VNtB02rm1pXdzxvhydl8zv3JmdL+Qns+DqNQ0fuO01oKb+SVNIwVH6xLl8lvWCQINS4okWxQOn2q66+xAr/z1gQFuMwHppOHsVM76eVmH01OnWUplBbkSEwlNn6KFMojsOv0FUIsKrF09WXDN+SovAf4R/M16elzjy2OJjou6W42C+pwn1kVoKvJZH7LahYuTgWJ1NBqFs5T86v0wrThYiqZ2hbY8ECmpdZM3GiXFGf45F3jeOmp5hzaXA8a8SPxyYAj4lVo0GsA==
x-ms-exchange-antispam-messagedata: lItvNaOdRuRC7hPI5NQuFx8s7+pftshPaEwH3qOXFYAaC5Xu/DisAZUTuy3nDvWqvIrK/suNc9qXAfWYNiwSbzdaK9lJRmqxU3MDCpokl1rr9UVFBn6OLFRG/QTP/zPd+OlIFZJey14thgCIwKnzIw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <ACFF7A541CF5FF47A9A2FF0E38A04FB5@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a30c713d-1522-4f55-2883-08d7a7ea4aa5
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Feb 2020 14:15:01.0839 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: +rybUfRPovd4Ask2xjYN3XhvsjoZlDaUMyjQnCswt2E9I6JgvgOVZDCIJ54dUbBhvf0NbcstRpMrxAOR85UACF2cxUOI9Zj7wEIvdy6FVZc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0SPR01MB0086
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/hIdN0PZGs-yIuZbfAZShNHg8Qy0>
Subject: Re: [Tsv-art] Tsvart last call review of draft-ietf-mmusic-t140-usage-data-channel-11
X-BeenThere: tsv-art@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Review Team <tsv-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsv-art/>
List-Post: <mailto:tsv-art@ietf.org>
List-Help: <mailto:tsv-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsv-art>, <mailto:tsv-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 02 Feb 2020 14:15:06 -0000

Hi,

---

    1/
    
    ...
    
    >>>>>> In any case, I don't think this is a real-life problem - in cases where T.140
    >> is
    >>>>>> used as intended. As Gunner mentioned, T.140 is not designed or intended
    >> for
    >>>>>> transport of large amount of copy-pasted text but for human interactions.
    >>>>> Then probably a big warning sign should be added to the document.
    >>>>>
    >>>> We do reference T.140, and I assume the scope and usage are described
    >> there. RFC 4103 does not have such statement either.
    >>>> But, sure, if people think it is useful we can add a note saying that T.140 is
    >> intended for real-time interaction, not for transfer of text files, documents etc.
    >>> [GH] RFC 4103, has the following wording in its introduction:
    >>>
    >>>       "The text is intended to be entered by human users from a keyboard,
    >>>         handwriting recognition, voice recognition or any other input method.
    >>>         The rate of character entry is usually at a level of a few characters
    >>>         per second or less."
    >>>
    >>> I suggest that the first sentence is added to our introduction.
    >> [CH] I suggest adding both sentences.
    >    
    > Regarding the congestion control impact, both sentences provide useful information. With the second sentence it is easier to understand
    > how low the data rate will be (and that it will not cause much issues in many parts of the Internet).
    >    
    > [GH] Yes, possible. I hesitated to propose adding both because of the 
    > expression "a few", considering that with speech-to-text and a rapid 
    > speaker, text production can reach about 20 CPS. But the sentence says 
    > "usually", so I can accept that both are added.

Good.

So, the current suggestion for addressing the issue: add the RFC 4103 sentence (see above) to the draft.

-----
   
    2/
    
    ...
    
    >>
    >> [CH]  Just to keep everyone in sync, the current proposal is to add some text
    >> like:
    >>
    >>                    "If the receiver receives text at a higher rate than it can handle,
    >> e.g.,
    >>                      because the sender does not support the cps parameter, the
    >> receiver
    >>                      can indicate to the sender that it is not willing to receive more text
    >> using
    >>                      the direction attributes [ref-to-section-4.2.3]"
    >>
    >> I guess we could also say that the receiver might choose to close the T.140 data
    >> channel.
    >>
    >>                    "If the receiver receives text at a higher rate than it can handle,
    >> e.g.,
    >>                      because the sender does not support the cps parameter, the
    >> receiver
    >>                      can either close the T.140 data channel, or maintain the data
    >> channel but
    >>                      indicate to the sender that it is not willing to receive more text
    >> using
    >>                      the direction attributes [ref-to-section-4.2.3]"
    > That would work for me.
    >
    > The receiver could IMHO also just use SCTP flow control to slow down the sender. If the receiver only reads data from the SCTP
    > receive buffer with rate cps, the sender will not be able to transmit faster than cps once SCTP flow control kicks in and the  SCTP send
    > buffer fills up. A similar effect will happen if the network is very slow and cannot deliver the data rate needed to deliver cps (which is
    > most likely a rare event in today's Internet for these low bit rates, but clearly it can happen in corner cases). In those cases, it could be
    > beneficial not to have huge send buffers inside SCTP as data can get queued there, too.
    >
    > Maybe it would make sense to add a heads-up in the document to take into account potential buffering inside SCTP when sizing buffers.
    >
    > [GH] I don't like the text about closing the channel. Using SCTP flow 
    > control sounds better if that is an available action from WebRTC 
    > applications. Real-time text transmission needs to be equally robust as 
    > audio and video transmission, because it is used as an alternative to 
    > these media. Therefore we should not attract implementors to ideas of 
    > reducing its robustness. Saying that, I realize that it could instead 
    > build up huge queues of text, or cause receiver buffer overflow so that 
    > text will be lost. But that is better handled by user decisions about 
    > what to do with the call.

First, it is NOT within the scope of this document to define how to implement flow control on WebRTC data channels.  I know that it has been discussed in the WebRTC community, and a quick search gave me this:

https://github.com/pion/webrtc/tree/master/examples/data-channels-flow-control

Second, as I indicated earlier, I really don't think data channel overloading is going to be a problem with T.140. If people try to use it for non-intended things (file transfer etc), and it doesn't work, it is not up to this spec to fix it.

Having said that, we can of course indicate that if a flow control mechanism will be available in the future, the receiver can use that. Something like:

         "If the receiver receives text at a higher rate than it can handle, e.g.,
           because the sender does not support the cps parameter, the receiver
           indicate to the sender that it is not willing to receive more text at the moment, 
           using the direction attributes [ref-to-section-4.2.3]. If that does not help, the
           receiver can close the T.140 data channel."

           NOTE: At the time of writing this specification, a flow control mechanism for WebRTC data channels
          had not been standardized. Should such be available at some point, the receiver might use it in order
          to slow down the rate of text received from the sender."

    ---
   
    3/
    
    ...
    
    >>     > So, in order to sort out the text and explain the two different ways to use
    >> the transmission buffer I suggest the following wording for 5.3:
    >>     >
    >>     > OLD 5.3:
    >>     >
    >>     >       "As described in [T140], buffering can be used to reduce overhead, with
    >> the maximum buffering time being 500 ms. It can also be used for staying
    >>     >        within the maximum character transmission rate (Section 4.2), if such
    >> has been provided by the peer.
    >>     >         An implementation needs to take the user requirements for smooth
    >> flow and low latency in real-time text conversation into consideration when
    >>     >         assigning a buffer time. It is RECOMMENDED to use the default
    >> transmission interval of 300 milliseconds [RFC4103], or lower, for T.140 data
    >> channels."
    >>     >
    >>     > NEW:
    >>     >
    >>     >       "As described in [T140], buffering can be used to reduce overhead, with
    >> the maximum transmission interval as long as there is text to send being 500
    >> ms.
    >>     >        Buffering can also be used for staying within the maximum character
    >> transmission rate (Section 4.2.1).
    >>     >
    >>     >       An implementation needs to take the user requirements for smooth
    >> flow and low latency in real-time text conversation into consideration when
    >> assigning a
    >>     >      buffer time. It is RECOMMENDED to use the default transmission
    >> interval of 300 milliseconds [RFC4103], for T.140 data channels. Implementers
    >> MAY also use
    >>     >      lower values, for specific applications requiring low latency, taking the
    >> increased overhead in consideration."
    >>     >
    >>     > Note that I added more wording about the lower transmission interval. I got
    >> the impression that that was desired as discussed below.
    >>
    >> [CH]  I am fine with your suggested new text, but it does not address the case
    >> when the interval exceeds 500 ms (e.g., because the sender is about to exceed
    >> the cps value).
    > The proposed text is better than the original wording.
    >
    > As already mentioned, there would (or at least could) be two buffers in the sender:
    > * A buffer in the T.140 message processing (at application level), from which data is handed over to SCTP
    > * A send buffer inside the SCTP stack used e.g. for retransmissions
    >
    > The maximum amount of data that can be queued in the sender is the sum of both buffers. In contrast, as far as I
    > understand, an RFC4103 implementation conceptually may only have one buffer. So, here the different transports
    > actually matter.
    >
    > My understanding is that the "buffer time" would _only_ include the application-level buffer. In that case, it could be useful
    > to mention that addition queuing inside the transport protocol implementation is possible and should be taken into account
    > when setting values.
    >
    > [GH] To [CH]: Deletion of the term "500 ms maximum buffering time" and 
    > replacing it with a "maximum transmission interval of 500 ms" was 
    > intended to show that some characters might stay in buffers longer than 
    > 500 ms if production is more rapid than the CPS, but that transmission 
    > is continued at every transmission interval with the number of 
    > characters allowed within the CPS mean value, but possibly leaving some 
    > characters in the buffer until next interval. The wording "500 ms 
    > maximum buffering time" was misleading. Woops, I realize that the text 
    > proposal still contains one "maximum buffering time". Can you please 
    > replace that also with "transmission interval". Can you after that 
    > change still read it as if a solution would be to temporarily increase 
    > the transmission interval if the CPS value is reached?

First, I did not find the remaining "maximum buffering time".

Send, based on your suggestion, the end of the first sentence now sounds strange.

        "As described in [T140], buffering can be used to reduce overhead, with
         the maximum transmission interval as long as there is text to send being 500
         ms." 

Third, doesn't T.140 specify that the max buffering time is 500 ms? We shouldn't change that.

    ---
    
    4/
    
    >>      >>>  [CH] I guess it depends on whether the recommendation is to
    >> specifically use
    >>      >>> 300ms, or whether the recommendation is to use 300 or lower. RFC
    >> 4103 talks
    >>      >>> about specifically using 300ms, so I think we should follow that for T.140
    >> data
    >>      >>> channels. So, I am fine with the text you suggest.
    >>      >>>
    >>      >> OK, then we may have sorted this out
    >>      >>
    >>      > [GH] See my proposal for  5.3 above
    >>
    >> [CH] For synch purpose, no actions for this issue is currently identified, as it is
    >> covered by the suggested way to address issue 3/

    Still no action for this issue.

    ---
   
    5/
   
    ...
       
    >>      >>
    >>      > GH] I suggest slight modifications
    >>      >
    >>      >  NEW2
    >>      >      "In case of network failure or congestion, T.140 data channels might
    >>      >       fail and get torn down.  If this happens but the session sustains, it
    >>      >       is RECOMMENDED that implementations tries to reestablish the T.140
    >>      >       data channels. As a T.140 data channel does not provide a mechanism
    >>      >       for the receiver to identify retransmitted T140blocks after channel
    >> reestablishment, the sender MUST
    >>      >       NOT retransmit T140blocks unless it has strong indications that a
    >> T140block has been lost. Similarly, as a T.140
    >>      >       data channel does not provide a mechanism for a receiver to detect
    >> lost T140blocks during channel reestablishment, it
    >>      >       SHOULD NOT insert missing text markers [T140ad1] unless it has
    >> reasons to suspect that a T140block might have been lost.
    >>      >       Different mechanisms used by senders and receivers to detect or
    >> suspect packet loss are outside the scope of this specification."
    >>      >
    >>      > Regarding the change for the receiving side, it is better to insert a loss
    >> mark too much than omitting one.
    >>
    >>       [CH]  Ok. However, I think we could use "MUST NOT insert missing text
    >> markers unless it has reasons to suspect".
    >>
    >>      Because, why would the receiver insert a missing text marker if it does not
    >> suspect that a T140block has been lost?
    > Both variants work for me. At the end of the day, this is mostly about the question what
    > service is delivered to the user.
    >
    > [GH] Yes, I can accept your wording[CH] for the second part of the text.

    Ok, so the current suggestion is to add the following text:

   "In case of network failure or congestion, T.140 data channels might
     fail and get torn down.  If this happens but the session sustains, it
     is RECOMMENDED that implementations tries to reestablish the T.140
     data channels. As a T.140 data channel does not provide a mechanism
     for the receiver to identify retransmitted T140blocks after channel
     reestablishment, the sender MUST NOT retransmit T140blocks unless
     it has strong indications that a T140block has been lost. Similarly, as a T.140
     data channel does not provide a mechanism for a receiver to detect
     lost T140blocks during channel reestablishment, it MUST NOT insert missing
     text markers [T140ad1] unless it has reasons to suspect that a T140block might
     have been lost. Different mechanisms used by senders and receivers to detect or
     suspect packet loss are outside the scope of this specification."

---

Regards,

Christer