Multipath TCP
Multipath TCP (MPTCP) is an ongoing effort of the Internet Engineering Task Force's (IETF) Multipath TCP working group, that aims at allowing a Transmission Control Protocol (TCP) connection to use multiple paths to maximize throughput and…
≈ 7 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
Multipath TCP (MPTCP) is an ongoing effort of the Internet Engineering Task Force's (IETF) Multipath TCP working group, that aims at allowing a Transmission Control Protocol (TCP) connection to use multiple paths to maximize throughput and increase redundancy. In January 2013, the IETF published the Multipath specification as an Experimental standard in . It was replaced in March 2020 by the Multipath TCP v1 specification in .
Benefits
The redundancy offered by Multipath TCP enables inverse multiplexing of resources, and thus increases TCP throughput to the sum of all available link-level channels instead of using a single one as required by standard TCP. Multipath TCP is backward compatible with standard TCP.
Multipath TCP is particularly useful in the context of wireless networks; using both Wi-Fi and a mobile network is a typical use case. In addition to the gains in throughput from inverse multiplexing, links may be added or dropped as the user moves in or out of coverage without disrupting the end-to-end TCP connection.
The problem of link handover is thus solved by abstraction in the transport layer, without any special mechanisms at the network or link layers. Handover functionality can then be implemented at the endpoints without requiring special functionality in the subnetworks - in accordance to the Internet's end-to-end principle.
Multipath TCP also brings performance benefits in datacenter environments. In contrast to Ethernet channel bonding using 802.3ad link aggregation, Multipath TCP can balance a single TCP connection across multiple interfaces and reach very high throughput. Multipath TCP causes a number of new issues.
From a network security perspective, multipath routing causes cross-path data fragmentation that results in firewalls and malware scanners becoming inefficient when they only see one path's traffic. In addition, SSL decryption will become inefficient by way of the end-to-end encryption protocols.
User interface
In order to facilitate its deployment, Multipath TCP presents the same socket interface as TCP. This implies that any standard TCP application can be used above Multipath TCP while in fact spreading data across several subflows. Some applications could benefit from an enhanced API to control the underlying Multipath TCP stack.
Two different APIs have been proposed to expose some of features of the Multipath TCP stack to applications: an API that extends Netlink on Linux and an enhanced socket API.
Implementations
In July 2013, the MPTCP working group reported five independent implementations of Multipath TCP, including the initial reference implementation in the Linux kernel. The currently available implementations are: Linux kernel (new reference implementation) introduced in the mainlined kernel in v5.6 Linux kernel (initial reference implementation) fork from Université catholique de Louvain researchers and other collaborators FreeBSD (IPv4 only) from Swinburne University of Technology and AI/ML-based from Deakin University F5 Networks BIG-IP LTM Citrix Netscaler Apple iOS 7, released on September 18, 2013 is the first large scale commercial deployment of Multipath TCP.
Since iOS 7, any application can use Multipath TCP. Apple Mac OS X 10.10, released on October 16, 2014 Alcatel-Lucent released MPTCP proxy version 0.9 source code on October 26, 2012 In July 2014, Oracle reported that an implementation on Solaris was being developed. In June 2015, work is in progress.
There is also an ongoing effort to push a new Multipath TCP implementation in the mainline Linux kernel. During the MPTCP WG meeting at IETF 93, SungHoon Seo announced that KT had deployed since mid June a commercial service that allows smartphone users to reach 1 Gbit/s using a MPTCP proxy service.
Wavenet uses the Linux kernel implementation (developed by Tessares) to deploy Hybrid Access Networks.
Multipath TCP options
Multipath TCP uses options that are described in detail in . All Multipath TCP options are encoded as TCP options with Option Kind 30, as reserved by IANA.
The Multipath TCP option consists of the standard Option-Kind (in this case 30) and Length values, followed by a 4-bit subtype field, for which the IANA maintains a sub-registry entitled "MPTCP Option Subtypes" under the "Transmission Control Protocol (TCP) Parameters" registry. This subtype field indicates the MPTCP header type, and its values are defined as follows: Values 0x9 through 0xe are currently unassigned.
Congestion control
Several congestion control mechanisms have been defined for Multipath TCP. Their main difference with classical TCP congestion control schemes is that they need to react to congestion on the different paths without being unfair with single path TCP sources that could compete with them on one of the paths.
Four Multipath TCP congestion control schemes are currently supported by the Multipath TCP implementation in the Linux kernel. The Linked Increase Algorithm defined in RFC 6356 The Opportunistic Linked Increase Algorithm The wVegas delay based congestion control algorithm The Balanced Linked Increase Algorithm
Stream Control Transmission Protocol
Stream Control Transmission Protocol (SCTP) is a reliable in-order datagram stream transport protocol originally intended for telecommunication signaling. It supports concurrent use of multiple access links and allows the application to influence the access interface selections on a datagram stream basis. It also supports mobility via access renegotiation.
Hence, SCTP is also a transport layer solution. It offers type 3 flow granularity with concurrency, but with more flow scheduling control than Multipath TCP. It also fully supports mobility in a fashion similar to Multipath TCP.
IMS SIP
Within the IP Multimedia Subsystem (IMS) architecture, Session Initiation Protocol (SIP) can support the concurrent use of multiple contact IP addresses for the registration of one or more IMS user agents. This allows for the creation of multiple IMS signaling paths.
On these signaling paths, signaling messages carry Session Description Protocol (SDP) messaging to negotiate media streams. SDP allows for the (re-)negotiation of the streams of one media session over multiple paths. In turn, this enables application layer multipath transport.
From this point of view, IMS can therefore offer application layer multipath support with flow granularity and concurrent access. A multipath extension to Real-time Transport Protocol (RTP) has been under discussion within the IETF. Multipath RTP can offer flow granularity with concurrent access and mobility (via IMS, SDP signaling or the RTP control protocol).
Very recently in addition a proposal to extend also DCCP (Datagram Congestion Control Protocol) by a multipath feature is discussed at IETF in TSVWG (Transport Area Working Group) dubbed as MP-DCCP.
AI/ML-based Multipath TCP
A deep reinforcement learning (DRL) framework for joint congestion control and packet scheduling uses policy gradients to learn congestion control and scheduling strategies from experience. DRL-based Multipath TCP has been used in distributed edge learning applications.
Other protocols and experiments
At the session layer, the Mobile Access Router project experimented in 2003 with the aggregation of multiple wireless accesses with heterogeneous technologies, transparently balancing traffic between them in response to the perceived performance of each of them. Parallel access schemes used to accelerate transfers by taking advantage of HTTP range requests to initiate connections to multiple servers of a replicated content, are not equivalent to Multipath TCP as they involve the application layer and are limited to content of known size.
RFC
- Threat Analysis for TCP Extensions for Multipath Operation with Multiple Addresses - Architectural Guidelines for Multipath TCP Development - Coupled Congestion Control for Multipath Transport Protocols - TCP Extensions for Multipath Operation with Multiple Addresses (v0; replaced by RFC 8684) - Multipath TCP (MPTCP) Application Interface Considerations - Analysis of Residual Threats and Possible Fixes for Multipath TCP (MPTCP) - Use Cases and Operational Experience with Multipath TCP - TCP Extensions for Multipath Operation with Multiple Addresses (v1) - 0-RTT TCP Convert Protocol
See also
Transport protocol comparison table
External links
The Linux Kernel MultiPath TCP project The Linux Kernel MultiPath TCP project (former website) A clear article explaining the Linux MPTCP implementation
Text derived from https://en.wikipedia.org/w/index.php?oldid=1375287131 under CC BY-SA 4.0; modifications have been made.
References
2 claims could not be tied to a specific sentence and are listed in the table below instead.