DIRAC: a software-based wireless router system

Petros Zerfos, Gary Zhong, Jerry Cheng, Haiyun Luo, Songwu Lu, Jia-Ru LiMobiCom 2003

TL;DR

This paper introduces DIRAC, a software-based wireless router system designed to bridge the gap between traditional IP routing and the dynamic nature of wireless networks. By enabling fine-grained interaction between the router core and access points, DIRAC facilitates the development and deployment of advanced wireless-specific services like fast handovers and channel-adaptive forwarding.

What Problem Does This Paper Address?

The increasing popularity of wireless data networks, particularly those based on IP, has highlighted a critical limitation in current router architectures: they are not designed to handle the inherent challenges of wireless environments. These challenges include dynamic channel conditions (e.g., signal fluctuations, interference) and host mobility (users moving between access points). While numerous protocols have been proposed to address these issues, a practical system framework for their implementation, evaluation, and deployment has been missing. Existing solutions often rely on simulations, but lack a real-world system to test and integrate them. DIRAC aims to fill this void by providing a flexible, software-based router architecture that can effectively leverage link-layer information to improve wireless network performance.

Methods

DIRAC employs a distributed router architecture composed of two main components:

  • Router Core (RC): This is the central processing unit, running on a commodity PC. It handles the main routing functions, including packet forwarding and control-plane management. The RC is designed to be largely link-layer technology independent.
  • Router Agents (RAs): These are lightweight, network-specific modules that run on each wireless Access Point (AP). RAs act as messengers, collecting link-layer information (like channel quality statistics) from the AP and relaying it to the RC. They also receive and enforce control commands from the RC using link-layer mechanisms.

This distributed approach allows the RC to make informed, adaptive decisions based on real-time wireless conditions without requiring complex modifications to the AP hardware or the IP layer itself. The interaction between the RC and RAs is managed through a simple protocol using UDP and is categorized into three forms: events (e.g., reassociation), actions (e.g., deauthentication), and statistics (e.g., signal-to-noise ratio).

Datasets

Not discussed in the paper. The paper focuses on system design and evaluation using a custom testbed.

Key Insights and Ideas

  • Bridging the Gap: The core insight is that a software-based, distributed router architecture can effectively bridge the gap between the network layer (IP) and the link layer (wireless) to enable wireless-specific services.
  • Location-Dependent Information: Link-layer information is inherently location-dependent and best accessed at the AP. DIRAC leverages this by having RAs at each AP collect and report this data.
  • Cost-Effective Scalability: By centralizing most of the complexity in the RC and keeping RAs simple, DIRAC allows for cost-effective upgrades and management of large wireless networks with many APs.
  • Asymmetric Uplink/Downlink Handling: DIRAC recognizes that the router has more control and information over downlink flows than uplink flows. It implements an asymmetric approach, with proactive downlink services and reactive uplink policing, to optimize performance.
  • Flexibility through Software: The software-based nature of DIRAC, particularly its implementation using the Click modular router framework, allows for rapid prototyping, experimentation, and deployment of new wireless protocols.

Key Results

DIRAC successfully demonstrates its viability through the implementation and evaluation of three prototype wireless services:

  • Link-Layer Informed Fast Handover: This service reduces handover latency and packet loss during mobile host transitions between APs. Experiments showed a tunnel setup time of approximately 7.9ms, with an acceptable increase in end-to-end delay for UDP packets.
  • Channel-Adaptive FEC-Based Downlink Forwarding: This addresses the Head-of-Line (HoL) blocking problem in wireless networks. It showed that by disabling link-layer retransmissions and using adaptive Forward Error Correction (FEC), the throughput of unaffected nodes is not degraded by the poor performance of a single node, unlike traditional retransmission methods.
  • Link-Layer Assisted Uplink Policing: This mechanism protects flows from aggressive users by using link-layer deauthentication to temporarily deny access to the wireless channel. Experiments showed that policing effectively limits aggressive UDP traffic, allowing a TCP streaming service to complete without disruption.

The system also demonstrated good scalability, with the RC processing statistics reports from 50 APs in approximately 140µsecs and handling channel states for 50 clients per AP in less than 1µsec.

Limitations and Future Work

  • Mobile Host Software Updates: Some wireless services enabled by DIRAC require updates to the mobile host's software (e.g., for fast handover, adaptive FEC).
  • Event Processing Optimization: While statistics processing is highly optimized, event processing in the RC currently uses string operations that could be further optimized.
  • Future Work: The authors suggest exploring support for firewalls for roaming users, inter-AP coordinated resource management for VoIP, energy efficiency features, performance optimization techniques, and larger testbed deployments. They also note that while the current implementation uses IPv6, it can be ported to IPv4.

Summary updated

BibTeX
@inproceedings{zerfos2003dirac,
  author = {Petros Zerfos and Gary Zhong and Jerry Cheng and Haiyun Luo and Songwu Lu and Jia-Ru Li},
  title = {{DIRAC: a software-based wireless router system}},
  booktitle = {MobiCom},
  year = {2003},
  doi = {10.1145/938985.939009},
}

Loading related content...

Figure