Re: [tsvwg] comments draft-tuexen-tsvwg-sctp-prpolicies-01

Michael Tuexen <tuexen@fh-muenster.de> Fri, 12 July 2013 15:22 UTC

Return-Path: <tuexen@fh-muenster.de>
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 75FF121E80AD for <tsvwg@ietfa.amsl.com>; Fri, 12 Jul 2013 08:22:19 -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 fQmAt6B9bwZA for <tsvwg@ietfa.amsl.com>; Fri, 12 Jul 2013 08:22:18 -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 D59BA21F9E13 for <tsvwg@ietf.org>; Fri, 12 Jul 2013 08:21:59 -0700 (PDT)
Received: from [10.225.4.237] (unknown [194.95.73.101]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id E2F601C0C0692; Fri, 12 Jul 2013 17:21:57 +0200 (CEST)
Content-Type: text/plain; charset="iso-8859-1"
Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\))
From: Michael Tuexen <tuexen@fh-muenster.de>
In-Reply-To: <CAAFAkD_+22YfgTa+DusmH-CAW3q-afH=f-tbHQLCXaKf-wbyOA@mail.gmail.com>
Date: Fri, 12 Jul 2013 17:21:57 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <C88CF9DB-E53F-4FA7-B0FF-B037660EA197@fh-muenster.de>
References: <CAAFAkD-Kgb34TBC2bDWKVUfF4NNgyWSMzPk1MAU5rUwjkf=4uw@mail.gmail.com> <27BA1FEC-AE84-412F-8D8A-4857FF283149@fh-muenster.de> <CAAFAkD_+22YfgTa+DusmH-CAW3q-afH=f-tbHQLCXaKf-wbyOA@mail.gmail.com>
To: Jamal Hadi Salim <hadi@mojatatu.com>
X-Mailer: Apple Mail (2.1508)
Cc: tsvwg <tsvwg@ietf.org>, "robin.seggelmann" <robin.seggelmann@t-systems.com>
Subject: Re: [tsvwg] comments draft-tuexen-tsvwg-sctp-prpolicies-01
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Fri, 12 Jul 2013 15:22:19 -0000

On Jul 10, 2013, at 11:48 AM, Jamal Hadi Salim <hadi@mojatatu.com> wrote:

> 
> Hi Michael,
> 
> On Wed, Jul 10, 2013 at 3:42 AM, Michael Tuexen <tuexen@fh-muenster.de> wrote:
> 
> Assume the sender sends a user message which is approximately of size 3*MTU.
> So SCTP will fragment it into 3 DATA chunk and send them. If the user
> has specified that the number of retransmissions is limited to 0 and
> the last fragment gets lost in the network, the sender will increment
> sprstat_abandoned_sent.
> 
> Ok,  so the last fragment essentially doesnt get acknowledged before we 
> abandon ship. And the other stat indicates we abandoned while we still had some
> sitting locally. Is the intersection of the two (some are sent but not acked and
> some are still sitting locally) implying both stats will be incremented?
> 
> Other than the perceived ambiguity -  why do i care to know about the
> two types of abandoned messages in a user app? I  will have to sum
> those two, so why not just give me one stat?
>  
> BTW: the doc will benefit from such a small description as you gave me
> above.
The new revision contains some clarification:
http://tools.ietf.org/html/draft-tuexen-tsvwg-sctp-prpolicies-02

Best regards
Michael
> 
> What will happen at the receiver side if you assume that the first two
> fragments have been received. If partial delivery was started, you will
> get a SCTP_PARTIAL_DELIVERY_EVENT event indicating SCTP_PARTIAL_DELIVERY_ABORTED.
> Without partial delivery being started, the receiver could also drop the
> first part of the message.
> 
> 
> You answered the essence of my question.
> Silly follow up: I am assuming that event will come with an EOR?
> To use your example (at receiver):
> EPOLLIN, recvmsg chunk1, chunk2, EAGAIN
> EPOLLIN, recvmsg SCTP_PARTIAL_DELIVERY_EVENT, EOR
> 
> cheers,
> jamal