Re: [multipathtcp] Regarding the release of sending buffer

Christoph Paasch <cpaasch@apple.com> Thu, 10 August 2017 16:21 UTC

Return-Path: <cpaasch@apple.com>
X-Original-To: multipathtcp@ietfa.amsl.com
Delivered-To: multipathtcp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0058F1323A8 for <multipathtcp@ietfa.amsl.com>; Thu, 10 Aug 2017 09:21:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.301
X-Spam-Level:
X-Spam-Status: No, score=-4.301 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_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=apple.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 jqKGfEC3cT5F for <multipathtcp@ietfa.amsl.com>; Thu, 10 Aug 2017 09:21:28 -0700 (PDT)
Received: from mail-in23.apple.com (mail-out23.apple.com [17.171.2.33]) (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 AB28B13239E for <multipathtcp@ietf.org>; Thu, 10 Aug 2017 09:21:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1502382087; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IStno7p19M2MB7Cw6HtMc4V6eOQfxfCbBKqwRQw1OSU=; b=cER5qIOn8xV07SaDZDHiTsf1MkettVnpN8gxaD4tmuJnhZly3+JPhGwHff8Gml/4 6CnJZOPINOVscrWHICVoAB9O0zGqGKQa2bSNFWzgvdA26Uqn3mblHdzfsmgcnZMt DVd2yk0zgwXZ6grnEUpJdsnttfJa1bMj31TlFFq3wzCOuWfhzYN/XwO2QWdp7rcx k1gXvSYySOUAVMr6mJVkXr7iaqmM/VyTdIYgOxQLlXa/X/ojkidgZpGWv1dv6qcE KznVWxSLT4vOvnoRXLqFKIYNzrOX3uM0ChEDmeBeQw66aboD7wdph6Pm2KYtHWT/ KwA3lfAxMtoor+aKSowAaA==;
Received: from relay8.apple.com (relay8.apple.com [17.128.113.102]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in23.apple.com (Apple Secure Mail Relay) with SMTP id FD.F3.08001.7088C895; Thu, 10 Aug 2017 09:21:27 -0700 (PDT)
X-AuditID: 11ab0217-0ed229c000001f41-e5-598c8807e24f
Received: from nwk-mmpp-sz09.apple.com (nwk-mmpp-sz09.apple.com [17.128.115.80]) by relay8.apple.com (Apple SCV relay) with SMTP id 7A.BE.06978.7088C895; Thu, 10 Aug 2017 09:21:27 -0700 (PDT)
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-disposition: inline
Content-type: text/plain; CHARSET="US-ASCII"
Received: from localhost ([17.150.219.132]) by nwk-mmpp-sz09.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170621 64bit (built Jun 21 2017)) with ESMTPSA id <0OUH00EZD9FR7970@nwk-mmpp-sz09.apple.com>; Thu, 10 Aug 2017 09:21:27 -0700 (PDT)
Sender: cpaasch@apple.com
Date: Thu, 10 Aug 2017 09:21:26 -0700
From: Christoph Paasch <cpaasch@apple.com>
To: Vincent Stone <shihang7422166@gmail.com>
Cc: multipathtcp@ietf.org
Message-id: <20170810162126.GJ3755@Chimay.local>
References: <0940F5BC-7405-4AB0-9C73-E125B56F66B2@gmail.com> <20170809034815.GX3648@Chimay.local> <DEE60ED0-9BBA-4713-B5BF-6E48D73ECC71@gmail.com>
In-reply-to: <DEE60ED0-9BBA-4713-B5BF-6E48D73ECC71@gmail.com>
User-Agent: Mutt/1.7.1 (2016-10-04)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMLMWRmVeSWpSXmKPExsUi2FCYpsve0RNp8L7b3OLz6utsFocubGJ3 YPLYOesuu8eSJT+ZApiiuGxSUnMyy1KL9O0SuDI+fgsrWMBbcfPnU+YGxlNcXYycHBICJhLz 9+9mB7GFBNYySaz7IgQTn3x8AmsXIxdQ/CCjxL4l78CKeAUEJX5MvsfSxcjBwSwgL3HwvCxI mFlAWuLR3xnsELaWxPdHrSwQvU1MEjN3XmQDSQgLSEp037nDDGKzCKhKzJn4FSzOBtTw9nY7 K4gtIqAjsfXTPjaIQZISK/5+YoXodZbYveQ6K8QNBhLNM3YzQSyYxijxZc9GJpAEp4CtRNuT 02BXiAooS/w9fA/sCgmBKWwSW642sUxgFJmF5IlZCE/MQvLELCRPLGBkWcUonJuYmaObmWdk rJdYUJCTqpecn7uJERQLq5nEdzB+fm14iFGAg1GJh/eDZk+kEGtiWXFl7iFGaQ4WJXFel/Pd kUIC6YklqdmpqQWpRfFFpTmpxYcYmTg4pRoY2f+strGqU6yuOR2+QuLH/LWnr4RsXXC70vpS 5bZNVg/iXSb6sUufqJXjFzXK+cS5rdJujZNPnMH0ZxOvplXUv0pOdJVT0Xjt4WT0V/LwqZ9u uz9cij0uuT9f/Kd9cMR51dXdEn/Y865fep/CeqR2wu/ih9+1M+Suhv1f6uXJciBPvv6U58cY JZbijERDLeai4kQA6Y43s2YCAAA=
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrGLMWRmVeSWpSXmKPExsUi2FAcoMve0RNpsOaYnMXn1dfZLA5d2MTu wOSxc9Zddo8lS34yBTBFcdmkpOZklqUW6dslcGV8/BZWsIC34ubPp8wNjKe4uhg5OSQETCQm H5/A2sXIxSEkcJBRYt+Sd+wgCV4BQYkfk++xdDFycDALyEscPC8LEmYWkJZ49HcGO4StJfH9 USsLRG8Tk8TMnRfZQBLCApIS3XfuMIPYLAKqEnMmfgWLswE1vL3dzgpiiwjoSGz9tI8NYpCk xIq/n1ghep0ldi+5zgpxg4FE84zdTBALpjFKfNmzkQkkwSlgK9H25DTYFaICyhJ/D99jmcAo OAvJ3bMQ7p6F5O5ZSO5ewMiyilGgKDUnsdJCL7GgICdVLzk/dxMjOHQL03YwNi23OsQowMGo xMObINodKcSaWFZcmXuIUYKDWUmEt6OyJ1KINyWxsiq1KD++qDQntfgQozQHi5I47/QOoGqB 9MSS1OzU1ILUIpgsEwenVANjZpBAqZNJAIvavsun5Z0yPq1JmXux10Oy+T7DeU+3AuXyh2+e z1L1rrMLu5v+cFt/qFXqtRSeFv/YVy9TmvNf+plJ1XrlRokHFlnUF+ds5224++eQFqvKjFly OyR5fXtOaCtM6p/3gSfUrXGyxZ3Y6jkbj8VLv4hl47pou0LtsOzf3Z//GiuxFGckGmoxFxUn AgCvIlOKWQIAAA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/multipathtcp/rJcSfJQmv6cIxGjEhB6-Zp-SkYI>
Subject: Re: [multipathtcp] Regarding the release of sending buffer
X-BeenThere: multipathtcp@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Multi-path extensions for TCP <multipathtcp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/multipathtcp/>
List-Post: <mailto:multipathtcp@ietf.org>
List-Help: <mailto:multipathtcp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/multipathtcp>, <mailto:multipathtcp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 Aug 2017 16:21:32 -0000

Hello,

On 10/08/17 - 16:47:41, Vincent Stone wrote:
> Thanks for your response. Let us say we take the preventing retransmission approach. Can the middlebox/firewall notice that? 

yes, because the firewall will see a hole in the sequence-number space.

> There is only 1 scenario in which the middlebox will deem the data should be retransmitted( keep in mind that the data has already been delivered correctly to the receiver because it has already been acknowleged by Data ACK): 
> all following ACKs after the data has been lost/dropped(Just dropped single ACK for the data is not enough because of accumulative ACK). In that case the flow should be terminated anyway. 
> In fact, there is no way in which a middlebox can distinguish between sender don't retransmit the packet and the retransmitted packet has been lost. So I think it is safe to prevent the retransmission, thus we can free the data upon receiving Data ACK safely.

What the middlebox will see with regular TCP is that first there is a hole in the
sequence-number space and then the sender will retransmit it, thus filling
the hole.

If we don't retransmit, the hole will never be filled up and the middlebox
might stall the flow.


Christoph

> 
> Best regards,
> Vincent
> 
> > On Aug 9, 2017, at 11:48, Christoph Paasch <cpaasch@apple.com <mailto:cpaasch@apple.com>> wrote:
> > 
> > 't look like "regular" TCP anymore.
> > 
> > Middleboxes and firewalls will start blocking this traffic and the receiver
> > must also be able to gracefully handle this.
> > 
> > That's the reason why MPTCP tries hard to make every subflow look like it is
> > regular TCP, besides a few TCP-options.
>