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

Gunnar Hellström <gunnar.hellstrom@omnitor.se> Wed, 29 January 2020 16:30 UTC

Return-Path: <gunnar.hellstrom@omnitor.se>
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 1C59512087D; Wed, 29 Jan 2020 08:30:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=omnitorab.onmicrosoft.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 JNMBC21xp6WW; Wed, 29 Jan 2020 08:30:47 -0800 (PST)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2117.outbound.protection.outlook.com [40.107.22.117]) (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 75DA2120127; Wed, 29 Jan 2020 08:30:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bQmacLbJHviXxTu1AoJriGrahFHJLzWS/7maXUfsIlISNBevS0tZyRxMNY38LxbEhl3ZChpDAFj/k9HpXDBd32kPiUKEkCI1oKg0P4K4MutWqPB8j53M5qxtlgEpfLITzj+8r3ERSJpgeg+h6w3QRxRnpZWAR0Str9+bL6DLMyyRH92QjNYytmon1OU9a23+WH6iN3n0GeDOMcseK6xjh8Xi+q2Ly+48VtVgZfRs8+i9BtjX29xbe2/scTgid5Bk22vVnS9BKFBsFrssDeoizOdzt1uRLqUAHRCRkN2jwXYQkDiikLTiLTUrG04vtaOvxXir8GfHhfLgTVWnU+skMQ==
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=HweddY32Ku9YEz3gqDNuAEtRIEQUUQIqQPc0TJ0HO58=; b=Z7BO1xjlxPntLur9NW2btPbdNufD9s78kC/Dlb6m28BzHPZ0kIpDiBSikvEkWKarWBfieiv+XbQvro9nHUHNpGHgSlrhCdQ1Y7nIOqj3YIkwkrw5tBnqcYVXMIeX816D4XvtLc52rZDtN99tEeyFagLojDjCfYDu5BbXLOKxkPLpx0/7OvtEDkc1SQOO8iYOEakurEKeu8WRhQp/gS7vThVlCKgGriLo6nyy5FDuhv/LSH0IsQ+OOzYA0IQ/ugXpfM4+EfkGG77XBX6HfskIw1B2sJCgRM1Ax1+4m8+cio4C0ehugHn6kqPJGu5bX6NU/cx01JTwC097wUYVSMNVlA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=omnitor.se; dmarc=pass action=none header.from=omnitor.se; dkim=pass header.d=omnitor.se; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=omnitorab.onmicrosoft.com; s=selector2-omnitorab-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HweddY32Ku9YEz3gqDNuAEtRIEQUUQIqQPc0TJ0HO58=; b=izoiDxtg+F8VQdoX2LpU/ra0kkKmpzg5Z+2NFwEpWH+/u5SCIWEIb9ckJFUqDhr51HkD6R1NLoipE5egsGy1lmd/P+S3SN7axZ92uddsstuLCL8jY1fE/zAUAn9K3qzz/MVIFcmzU09ZefBugthYitMqx9Taqo7/xMxqQy2NAts=
Received: from VI1P193MB0669.EURP193.PROD.OUTLOOK.COM (10.186.178.76) by VI1SPR00MB131.EURP193.PROD.OUTLOOK.COM (10.171.105.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2686.26; Wed, 29 Jan 2020 16:30:43 +0000
Received: from VI1P193MB0669.EURP193.PROD.OUTLOOK.COM ([fe80::1910:128d:b820:f765]) by VI1P193MB0669.EURP193.PROD.OUTLOOK.COM ([fe80::1910:128d:b820:f765%4]) with mapi id 15.20.2665.027; Wed, 29 Jan 2020 16:30:42 +0000
Received: from [192.168.2.136] (77.53.230.59) by AM0PR02CA0079.eurprd02.prod.outlook.com (2603:10a6:208:154::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.19 via Frontend Transport; Wed, 29 Jan 2020 16:30:42 +0000
From: Gunnar Hellström <gunnar.hellstrom@omnitor.se>
To: Christer Holmberg <christer.holmberg@ericsson.com>, Michael Scharf <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: AQHV1monr6cLyemmWEWN1/qrB8GvuKgB1gwA
Date: Wed, 29 Jan 2020 16:30:42 +0000
Message-ID: <ae9b0990-065b-b453-1a26-6f887ec6d092@omnitor.se>
References: <158026059575.4541.13882610914386065869@ietfa.amsl.com> <E94F7765-C5F4-40F5-AB8A-94AA117A6B63@ericsson.com>
In-Reply-To: <E94F7765-C5F4-40F5-AB8A-94AA117A6B63@ericsson.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-clientproxiedby: AM0PR02CA0079.eurprd02.prod.outlook.com (2603:10a6:208:154::20) To VI1P193MB0669.EURP193.PROD.OUTLOOK.COM (2603:10a6:800:159::12)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=gunnar.hellstrom@omnitor.se;
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [77.53.230.59]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0618457e-eb32-4610-85b9-08d7a4d8959f
x-ms-traffictypediagnostic: VI1SPR00MB131:
x-microsoft-antispam-prvs: <VI1SPR00MB131D9EC4F525D1C2279F100FB050@VI1SPR00MB131.EURP193.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-forefront-prvs: 02973C87BC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(136003)(396003)(346002)(366004)(376002)(39830400003)(189003)(199004)(16576012)(316002)(6486002)(8676002)(81156014)(81166006)(71200400001)(110136005)(54906003)(86362001)(16526019)(52116002)(186003)(2616005)(956004)(8936002)(85182001)(2906002)(31686004)(85202003)(4326008)(31696002)(26005)(66476007)(66946007)(5660300002)(66556008)(66446008)(66574012)(64756008)(508600001)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:VI1SPR00MB131; H:VI1P193MB0669.EURP193.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1;
received-spf: None (protection.outlook.com: omnitor.se does not designate permitted sender hosts)
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: U03LxFFIONgR9VjT7JOhfME9UNnZeMdaao4RDxVGtwqhsZui25Q3lWfGh2PYOzdSjZv50ZupSf6vYIzV36hSc8Iq/hIqkP/AGufL6aaclBJ+FtO7VJbpDFL5/N3wUfoi7MeponJMU1AbIlEGcJRxXl/0kQg770qY6VMGananJiJ5d6g0EryqBPPoWtjMNZ6jaRqgQ+jM3Cl8H1/Wb8KfMgqZxgh7WSF7q23xkfTYI7ullXl9Ez1LB8tAmlcZD16SNJFf+xsuvpAP0fOTBZ84yI5wS9XmIpWQv4/XXgFXSgzZm+0/iYHk4DYsIyHeVSFG5Iw/zqCu5hMuIqT3sWCvMp99/Wq6kMvXtkcZGRHANXpY8jQG+ByZNb0RlpCG450wTQOUISR4zXYaj8WCtGRXaTuwrSdkq1UuIOal8N0bEeY829N+MqCPK8LYX3kx+AnY8NkwtrGHLfrsFgg92ZkRe6X7KddpBL+nGBcURXIJs6HTIboSoGvnFh4Vc4srU2kcAOtdqi05tRSQIxx0OQI/qw==
x-ms-exchange-antispam-messagedata: pRTCm5CuFkdLCR4r5IWkxVPXMt2NbFhRgAboIC5r7OCtJzXaua7FqasfOkFNwEMK0jxUJvE8r2k2A5QagTiYqANYjYjKFjR9s5QM84GZXgE/XIICYisJ0TvCJBcELi0/tCIn8pRSETmTUtiCpLSgHQ==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_ae9b0990065bb4531a266f887ec6d092omnitorse_"
MIME-Version: 1.0
X-OriginatorOrg: omnitor.se
X-MS-Exchange-CrossTenant-Network-Message-Id: 0618457e-eb32-4610-85b9-08d7a4d8959f
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jan 2020 16:30:42.7490 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 2df8b35f-363f-46b8-a0d1-ee9b1723225b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: gZubgA/jVktZcOl7+zADBHEYwiq50It57XGb4J/ESUi3+XK77iSGA3T5WKloAyXUOuBDuKHW+285PO8RgfR8Nj6mM5MTzxsQiFGjxv04qWU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1SPR00MB131
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsv-art/NceyHH-IUjkSubm_ERFI6NQznlk>
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: Wed, 29 Jan 2020 16:30:59 -0000

Hi,

I will try to add to the answers,

Den 2020-01-29 kl. 07:05, skrev Christer Holmberg:

Hi Michael,

Thank you for review! Please see inline.

---

    > 1/ I wonder why Section 4.2.1 does not include any normative statements on how
    > to handle the maximum character transmission rate ('cps' attribute). RFC 4103
    > states that "In receipt of this parameter, devices MUST adhere to the request
    > by transmitting characters at a rate at or below the specified <integer>
    > value." Isn't a similar statement needed in this document?

The assumption has been that the associated procedures in 4103 apply.

Note that section 6 in RFC 4103 continues:
"

Note that this parameter was not defined in RFC 2793<https://tools.ietf.org/html/rfc2793> [16<https://tools.ietf.org/html/rfc4103#ref-16>].
   Therefore implementations of the text/t140 format may be in use that
   do not recognize and act according to this parameter.  Therefore,
   receivers of text/t140 MUST be designed so they can handle temporary
   reception of characters at a higher rate than this parameter
   specifies.  As a result malfunction due to buffer overflow is avoided
   for text conversation with human input.
"



This note may be historic now, but for the T140-usage draft we may have the similar case when an implementation has not succeeded to implement support for the CPS parameter, or for dcsa at all.

We had specific wording for that case earlier, but I think we deleted most of it.

Do you think we should insert a similar precaution in the t140-usage draft, but referring to other reasons than RFC 2793 interop?





But, I can for sure make it explicit, e.g., by adding the sentence from 4103 to the end of the 1st paragraph.

---

    > 2/ Also, it is not really clear from the document what would happen if a peer
    > exceeds this maximum character transmission rate (or the rate allowed by
    > congestion/flow control). What happens if the sender types faster than the
    > 'cps' attribute (say, an automated chat bot)? I guess characters would be
    > dropped at the sender? In that case, no missing text markers would be displayed
    > in the receiver, right?

I assume it could result in a buffer overflow sooner or later, but I think it is a local implementation issue how it is dealt with by the sender application.

Perhaps Gunnar knows more about how implementations handle this?

What the CPS parameter tries to prevent is buffer overflow in slow ancient receiving devices.

Modern implementations will likely have buffer space enough for storing quite a large volume of text for eventual transmission to the limited device. It is instead another risk that appears. If you have a receiving device only able to present 4 characters per second which is the reality if you have interop with the old TTYs through a gateway, then a modern device user happening to paste a large piece of text or use speech to text technology will generate text in buffers that will take a very long time to present at the receiving device. The sense of a real-time conversation will be lost. (1000 characters will take 4 minutes to present!)

The users need to realize that this technology is intended for human conversation. It is wise if implementations have the possibility for pasting in short texts, but it should not be used for document transfer.

So, yes, it is a local implementation issue.



---

    > 3/ Section 5.3. "Data Buffering" includes the following statement: "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." I don't understand the second sentence. At first sight, enforcing
    > the 'cps' attribute does not only require a buffer, but also some sort of rate
    > shaper/policer (e.g., token bucket or the like). Do I miss something?

The 2nd sentence talks about the case when the user input rate is faster than the maximum transmission rate (see question #2).

Yes, so in the second case, the transmission procedure will detect that not all buffered characters are allowed to be transmitted, when the transmission interval (normally 300 ms) has passed. So they will be kept in a buffer at the sending side. Is that unclear so we need to clarify it?



---

    > 4/ Also in Section 5.3 is written: "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". What is meant here by "or lower"? Does the document want
    > to recommend values much smaller than 300 ms, say, 1 ms? As explained in RFC
    > 4103, this could increase the overhead and bitrate, right? The absolute rate
    > values are relatively small for large parts of today's Internet, but couldn't
    > this text conversation be particularly useful in scenarios with very small
    > capacity of links (i.e., kbps range)?

I suggest to remove the "or lower" part, since the recommendation is to use 300.

Modern applications, especially speech-to-text are better at lower delays. So, having a 300 ms delay may be on the high side. Transmission intervals down to 100 ms will be experienced as an improvement for some applications. The load in both bandwidth and packets per second  is still low compared to what audio and video (often used in the same sessions) cause.

It is a RECOMMENDATION,  so, yes, "or lower" could be deleted, but I prefer to leave it.



---

    > 5/ Section 5.4 mandates: "Retransmission of already successfully transmitted
    > T140blocks MUST be avoided, and missing text markers [T140ad1] SHOULD be
    > inserted in the received data stream where loss is detected or suspected." I
    > believe a better wording for the MUST would be "... sucessfully received
    > T140blocks ...", albeit the document does not detail how an implementation can
    > indeed fulfill this MUST. Regarding the SHOULD, I assume that "loss suspected"
    > could be deterrmined by a heuristic. Could such a heuristic fail and result in
    > spurious missing text markers? If so, would a SHOULD be reasonable for that?

Regarding the MUST, T.140 does not provide acknowledgement that T140blocks have been received. It uses a reliable data channel, so as long as the data channel is up and running the sender can only assume that the blocks will be successfully transmitted.

Perhaps Gunnar knows more about how receiving implementations would "suspect" loss?

The requirement from the T.140 presentation level is that the channel shall deliver in order and without duplication. Possible loss should be indicated. For RFC 4103, there is a slight risk that packets are lost, and if more are lost than can be recovered by the redundancy, then a suspected loss has appeared and should be indicated in the text presentation. There is a chance that something invisible in the text stream was lost. We cannot know.

For the t140-usage case, the situation is different. We have reliable delivery in order as long as not more than about 7 retries are made and nothing is blocking transmission so that the watchdog breaks the SCTP associations. But that can happen and the draft says that reestablishment shall be tried. At that moment it may be hard to know from the sender side what was successfully transmitted, because we do not have any application level checking delivery. What must be avoided is to retransmit something that might have been received. It is better to let something be lost and insert an indication that something might have been lost.

That is what the text tries to say.  It might be a good habit to always insert an indicator for suspected loss by the receiver, when the SCTP associations are refreshed. I think the current wording allows that and smarter solutions if possible. It is good to not require the transmitter to insert the loss marker, because that might make it harder to apply security to the transmission chain.



Regards,

Christer



Regards

Gunnar




--

+ + + + + + + + + + + + + +

Gunnar Hellström
Omnitor
gunnar.hellstrom@omnitor.se<mailto:gunnar.hellstrom@omnitor.se>
+46 708 204 288