Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN

Michael Tuexen <michael.tuexen@lurchi.franken.de> Wed, 24 April 2013 17:17 UTC

Return-Path: <michael.tuexen@lurchi.franken.de>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18C8D21F9653 for <rtcweb@ietfa.amsl.com>; Wed, 24 Apr 2013 10:17:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJOCCVouhF3u for <rtcweb@ietfa.amsl.com>; Wed, 24 Apr 2013 10:17:01 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 0558C21F961E for <rtcweb@ietf.org>; Wed, 24 Apr 2013 10:17:00 -0700 (PDT)
Received: from [192.168.1.101] (p508F0F2C.dip0.t-ipconnect.de [80.143.15.44]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 523D81C0C0695; Wed, 24 Apr 2013 19:16:59 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="iso-8859-1"
From: Michael Tuexen <michael.tuexen@lurchi.franken.de>
In-Reply-To: <BLU169-W7347A95F3FEFE5C7C9F86093B50@phx.gbl>
Date: Wed, 24 Apr 2013 19:17:00 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <E516736D-BF4D-4EEF-AC80-1388CD237254@lurchi.franken.de>
References: <066.3120a55540cacaa74ee5fda0b5273a48@trac.tools.ietf.org>, <516CE3EC.2050804@jesup.org>, <CABkgnnVaTOLa-hs7AtEgaTk7eq00bEkCY+_8L96Y8pooqybBxA@mail.gmail.com>, <CAJrXDUFgxLT3-1HehKbg5byzifFi4Obe3XW9G4sbWRbnU+Hi1A@mail.gmail.com>, <CABkgnnXr85LZyJiSF+ok2KMS_xQnS0CE4VBq4PvEhBBscn2QZQ@mail.gmail.com>, <516F1AF9.2080301@alvestrand.no>, <CABkgnnVtUjk4jSDVioxQnrt-b69Hx0nZLefs7tpEzETSmLXeNA@mail.gmail.com>, <516F9A5A.6080402@alvestrand.no>, <CABkgnnWrAMnm5fTWCNA1jqC_8Js0a6ewfSkvni4xg0E6rXdCtA@mail.gmail.com>, <5170247F.4090908@alvestrand.no>, <CABkgnnXU4HeJT-QwDcJ5NTvr72gZXxXi5zHFkQjJS__UXqzvtQ@mail.gmail.com>, <206CB075-6754-4578-B623-866E410DACCC@lurchi.franken.de>, <CABkgnnUCXUH+0a+F1LVQVrtL=Q65HGgsdT-oBBF++zSVR4OhWw@mail.gmail.com>, <5171734E.3050300@jesup.org>, <CABkgnnW0V7Sjx27Ff7CHANLqPifRLMDNatqD=VgPOB+d-iR+4A@mail.gmail.com>, <CAJrXDUGQyuKA_DxSOPfsWqCnkSRd=_Qzkir+r0-27oprCz6=sw@mail.gmail.com>, <CAJrXDUFpWHWN5AD7mP6G0y+gdeYc04WjK4ofLSgKG2MfZ16nvQ@mail.gmail.com> <BLU169, -W114DF9A01E2132B4B51167F93B50@phx.gbl>, <A012A773-415A-4C93-9D0C-D48590204A7C@lurchi.franken.de> <BLU169-W7347A95F3FEFE5C7C9F86093B50@phx.gbl>
To: Bernard Aboba <bernard_aboba@hotmail.com>
X-Mailer: Apple Mail (2.1283)
Cc: Randell Jesup <randell-ietf@jesup.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 24 Apr 2013 17:17:02 -0000

On Apr 24, 2013, at 4:03 PM, Bernard Aboba wrote:

> Michael said:
> > I guess you are considering the case where the OPEN message was dropped by the network multiple times...
>  
> [BA] Right.  That's the case in which the details of the OPEN transport makes a difference.
>  
> > The sender and receiver normally bound the memory for processing data (socket buffers). So
> > your above only applies if the send buffer is larger than 9.6 MB. 
>  
> [BA] The assumption is that the receiving application processes the incoming data, so that the RWIN does not decrease.  If the data is sent unordered and unreliable, and is acknowledged by SACK chunks (e.g. only the OPEN is lost), the sender can send this much data (assuming that it has that much to send).  
That is right for the receiver. But the sender has to buffer the sent messages until they
are acknowledged by the cumack, not only by SACK gat reports. So if the OPEN message
was lost, it is not acked and no TSN after it can be cumacked, only gap-acked. That
is why the sender can't remove it from its send buffer. So the limiting point is
the send buffer size of the sender, not a buffer on the receiver side.
>  
> > Often, the send and receiver buffer are the same and reflect the RWIN, so you are considering on the receiver side a 16 KB buffer, on the sender side a 10 MB buffer.
>  
> [BA] No.  You can have 16 KB on both sides and the sender can end up sending this much, as long as the data isn't lost and the receiving application keeps processing it.  Because of that the RWIN does not limit the sender. 
No. If the send buffer is 16 KB, the sender can only hold up to 16 KB for retransmissions. It has
to buffer TSNs, even if they are gap acked since they can be reneged.
The only way around this is to use the NR-SACK extension (which allows to gap ack
TSN's indicating that they won't be reneged), but this is not an RFC yet...

Best regards
Michael
> 
>