Skip to main content
QUICK REVIEW

[Paper Review] Interfacing network coding with TCP: an implementation

Jay Kumar Sundararajan, Szymon Jakubczak|ArXiv.org|Aug 11, 2009
Cooperative Communication and Network CodingComputer Science7 references17 citations
TL;DR

This paper presents a practical implementation of a TCP-compatible network coding protocol that integrates sliding-window network coding with TCP-Reno to improve throughput over lossy wireless links. By enabling per-degree-of-freedom acknowledgments and dynamically adjusting redundancy and coding window size, the protocol mitigates TCP's sensitivity to packet loss and reordering, achieving up to 30% higher goodput at 10% loss rate compared to standard TCP.

ABSTRACT

In previous work (`Network coding meets TCP') we proposed a new protocol that interfaces network coding with TCP by means of a coding layer between TCP and IP. Unlike the usual batch-based coding schemes, the protocol uses a TCP-compatible sliding window code in combination with new rules for acknowledging bytes to TCP that take into account the network coding operations in the lower layer. The protocol was presented in a theoretical framework and considered only in conjunction with TCP Vegas. In this paper we present a real-world implementation of this protocol that addresses several important practical aspects of incorporating network coding and decoding with TCP's window management mechanism. Further, we work with the more widespread and practical TCP Reno. Our implementation significantly advances the goal of designing a deployable, general, TCP-compatible protocol that provides the benefits of network coding.

Motivation & Objective

  • To address the incompatibility of batch-based network coding with TCP’s window-based congestion control in real-world wireless networks.
  • To enable practical deployment of network coding with TCP by resolving issues like variable packet length, buffer management, and header overhead.
  • To demonstrate compatibility and performance gains with the widely deployed TCP-Reno, not just TCP-Vegas as in prior theoretical work.
  • To evaluate the impact of key protocol parameters—redundancy factor R and coding window size W—on throughput in lossy wireless environments.

Proposed method

  • Introduces a sliding-window network coding scheme where each packet is a random linear combination of the most recent W unacknowledged segments in the TCP window.
  • Employs a novel acknowledgment mechanism that allows the receiver to send a TCP ACK for every linearly independent degree of freedom received, rather than waiting for full batch decoding.
  • Uses a finite field for coding operations to ensure high probability of generating new degrees of freedom with each transmission.
  • Implements header compression and buffer management techniques to minimize overhead and maintain compatibility with TCP’s window management.
  • Employs a dynamic adaptation strategy for redundancy factor R and coding window size W based on observed loss rates and round-trip time.
  • Conducts experiments using iperf over a single-hop wireless link with controlled loss rates to measure goodput under varying R and W settings.

Experimental results

Research questions

  • RQ1Can a sliding-window network coding scheme be made compatible with TCP-Reno’s congestion control and window management?
  • RQ2How does the use of per-degree-of-freedom acknowledgment mitigate the performance degradation caused by packet reordering in multipath or opportunistic routing?
  • RQ3What is the optimal configuration of redundancy factor R and coding window size W for maximizing goodput under varying wireless loss rates?
  • RQ4How do coding and decoding overheads affect the net performance gain compared to standard TCP?

Key findings

  • At a 10% packet loss rate, the optimal redundancy factor R is approximately 1.25, slightly higher than the theoretical optimum of 1.11, likely due to implementation constraints like limited coding window size.
  • A coding window size W = 2 yields the highest goodput at 5% loss rate, indicating that even small window sizes significantly improve performance over simple repetition coding (W=1).
  • For loss rates up to 5%, W=2 is optimal; for higher loss rates (up to 25%), W=3 provides better performance, suggesting that window size should scale with channel loss.
  • Goodput with TCP/NC exceeds standard TCP at loss rates above 2%, with a 30% improvement observed at 10% loss rate, demonstrating effective masking of losses from TCP.
  • In the lossless case, TCP outperforms TCP/NC due to computational and header overheads, confirming that coding gains only emerge under lossy conditions.
  • The protocol remains compatible with TCP-Reno and avoids the ACK delay and reordering issues inherent in batch-based coding schemes, enabling practical deployment in multipath and multicast scenarios.

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.