Skip to main content
QUICK REVIEW

[Paper Review] Multipath-TCP in ns-3

Morteza Kheirkhah|arXiv (Cornell University)|Apr 18, 2015
Network Traffic and Congestion ControlComputer Science3 references17 citations
TL;DR

This paper presents a fully compliant, production-ready ns-3 model of MultiPath-TCP (MPTCP) that adheres to RFC 6824, supporting per-subflow TCP NewReno loss recovery and kernel-inspired subflow management. The model enables realistic simulation of MPTCP in data center environments, with validated results matching prior work and full support for multiple connections, parallel TCP/MPTCP operation, and MPTCP tokens.

ABSTRACT

MultiPath TCP (MPTCP) Implementation in ns-3

Motivation & Objective

  • To address the lack of a robust, standards-compliant MPTCP model in ns-3 that supports realistic data center simulation.
  • To overcome limitations in prior ns-3 MPTCP implementations, including single-connection support, lack of token-based connection identification, and absence of parallel TCP/MPTCP operation.
  • To enable accurate, reproducible simulation of MPTCP behavior at scale, particularly for congestion control and fairness evaluation in data centers.
  • To integrate MPTCP into the ns-3 ecosystem as a stable, reusable component for future transport protocol research.

Proposed method

  • The model implements MpTcpSocketBase as a subclass of TcpSocketBase, managing multiple subflows and providing the socket API to applications.
  • Subflows are modeled via the MpTcpSubflow class, each operating as a standard TCP connection with independent congestion control and loss recovery.
  • TcpL4Protocol is extended to support MPTCP by managing multiple Ipv4EndPoint objects per MPTCP connection and enabling token-based subflow resolution.
  • MPTCP signaling follows RFC 6824, including MP_CAPABLE, ADD_ADDR, MP_JOIN, and DSS options for connection and subflow management.
  • Loss recovery is implemented using TCP NewReno logic per subflow, with connection-level reordering and recovery via the DSS option.
  • The model supports full connection teardown via four-way FIN handshakes and delayed resource deallocation until all subflows are closed.

Experimental results

Research questions

  • RQ1How can a standards-compliant MPTCP model be implemented in ns-3 that supports multiple concurrent connections and parallel TCP/MPTCP operation?
  • RQ2To what extent does the MPTCP model’s behavior in ns-3 match that of real-world implementations, particularly in loss recovery and congestion window dynamics?
  • RQ3Can the model accurately reproduce known simulation results from prior work, such as those involving packet loss and subflow behavior?
  • RQ4What architectural changes are required in ns-3 to support modular, reusable congestion control and loss recovery across different transport protocols?

Key findings

  • The MPTCP model successfully implements all core MPTCP functionalities as defined in RFC 6824, including connection and subflow management, signaling, and loss recovery.
  • Simulation results for a single subflow show identical congestion window evolution to standard TCP NewReno, validating the correctness of the implementation.
  • With two subflows, the model demonstrates balanced congestion window growth across both paths, reflecting MPTCP’s intended load distribution behavior.
  • The model accurately reproduces the packet loss and retransmission behavior observed in a prior study, confirming consistency with published results.
  • The model supports multiple MPTCP connections per server and allows coexistence with standard TCP flows, enabling fairness evaluation in realistic data center scenarios.
  • The implementation is production-ready and under review for inclusion in the official ns-3 codebase, with plans to extend it for large-scale data center simulations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.