Introduction
Intersession Network Coding (NC) has long promised theoretical capacity gains in wireless networks by mixing independent data flows at intermediate routers. However, practical implementations have historically struggled to deliver these gains in real-world "rate-adaptive" environments where link speeds fluctuate based on signal quality. The primary obstacle is processing overhead; previous systems like COPE required explicit, per-packet acknowledgments from neighbors, which consumed excessive CPU cycles at high bit rates (e.g., 54 Mbps). NCRAWL (Network Coding for Rate Adaptive Wireless Links) addresses this by introducing a modular, lightweight framework that minimizes signaling traffic and processing tax.
System Architecture
NCRAWL is implemented as a modular extension of the Click modular router, operating as a Linux kernel module. Its design prioritizes efficiency to ensure that the "gains" of network coding are not negated by computational overhead.
The framework introduces several key innovations:
- Stochastic Overhearing: Instead of explicit ACKs for every overheard packet, NCRAWL utilizes Packet Delivery Ratio (PDR) metrics to estimate the probability that a neighbor can decode a coded packet. This probabilistic approach significantly reduces signaling overhead.
- Joint NC and Scheduling: It integrates link scheduling with NC using a "MaxWeight" algorithm that accounts for both queue lengths and varying link rates.
- Rate Awareness: The system ensures that coded transmissions occur at rates decodable by all intended recipients, preventing packet loss due to aggressive coding.
- Modular API: By abstracting the core mechanisms of NC—such as queuing, XORing, and header management—NCRAWL allows researchers to easily swap and test different scheduling policies.
Experimental Setup
The performance of NCRAWL was evaluated on a physical wireless testbed consisting of 20 nodes equipped with 1GHz CPUs and Atheros 802.11a/b/g WiFi cards.
Testing focused on "wheel" topologies, where multiple flows intersect at a central relay node. These configurations ranged from simple three-node setups (Alice-Relay-Bob) to complex 6-wheel topologies. Evaluations utilized saturated UDP flows via iperf and standard TCP traffic to measure throughput and protocol interaction under realistic conditions.
Key Results and Discussion
Experimental results demonstrate that NCRAWL successfully bridges the gap between theory and practice:
- Efficiency: NCRAWL reduces CPU utilization by 2x to 7x compared to previous state-of-the-art implementations. At 54 Mbps, it maintains a CPU load below 40%, whereas earlier systems often saturated the CPU, leading to performance degradation.
- Throughput Gains: In standard relay scenarios, the framework achieved the theoretical 1.33x throughput gain. In N-wheel topologies, gains asymptotically approached 2x as the number of flows increased, matching theoretical predictions.
- Protocol Compatibility: While NC often interferes with TCP due to packet reordering, NCRAWL’s integrated scheduling provided a modest throughput improvement for TCP traffic at high rates.
Conclusion and Future Work
NCRAWL demonstrates that the CPU is a critical bottleneck in modern high-speed wireless network coding. By shifting from deterministic to stochastic signaling and providing a modular architecture, it makes NC practical for 802.11g/n speeds. Future research will focus on optimizing the framework for TCP's sensitivity to reordering and extending support to MIMO-based systems like 802.11ac.
Summary updated