Q-CSMA: Queue-Length-Based CSMA/CA Algorithms for Achieving Maximum Throughput and Low Delay in Wireless Networks

Jian Ni, Bo Tan, R. Srikant · DOI

Abstract

Recently, it has been shown that carrier-sense multiple access (CSMA)-type random access algorithms can achieve the maximum possible throughput in ad hoc wireless networks. However, these algorithms assume an idealized continuous-time CSMA protocol where collisions can never occur. In addition, simulation results indicate that the delay performance of these algorithms can be quite bad. On the other hand, although some simple heuristics (such as greedy maximal scheduling) can yield much better delay performance for a large set of arrival rates, in general they may only achieve a fraction of the capacity region. In this paper, we propose a discrete-time version of the CSMA algorithm. Central to our results is a discrete-time distributed randomized algorithm that is based on a generalization of the so-called Glauber dynamics from statistical physics, where multiple links are allowed to update their states in a single timeslot. The algorithm generates collision-free transmission schedules while explicitly taking collisions into account during the control phase of the protocol, thus relaxing the perfect CSMA assumption. More importantly, the algorithm allows us to incorporate heuristics that lead to very good delay performance while retaining the throughput-optimality property.

Introduction

In wireless networks, interference prevents multiple overlapping links from transmitting simultaneously. A scheduling algorithm is required to manage these transmissions. Ideally, such an algorithm should be distributed (no central controller), throughput-optimal (able to stabilize the network under any feasible traffic load), and provide low delay (minimizing packet wait times).

Previous throughput-optimal CSMA models relied on idealized continuous-time assumptions that ignored real-world collisions and often resulted in poor delay performance. Conversely, simple greedy heuristics like Longest-Queue-First offer excellent delay but can fail to stabilize queues in certain network topologies even when the network is not at full capacity. Q-CSMA (Queue-Length-based CSMA/CA) bridges this gap by providing a discrete-time, distributed scheduling algorithm that achieves 100% capacity while maintaining low latency.

Methodology

Q-CSMA's core innovation lies in its discretization of time and its use of queue lengths to drive scheduling decisions.

Glauber Dynamics and Queue Weights

Inspired by statistical physics, the algorithm uses a discrete-time control phase. In each time slot, a "decision schedule" is randomly selected. Links update their state (active or inactive) based on their current queue length. By using a function of the queue length (e.g., $log(q)$) as the weight for activation probability, the distributed process converges toward a Maximum Weight Schedule, ensuring throughput optimality.

Discrete-Time Control Phase

Unlike idealized models, Q-CSMA uses a control phase with mini-slots and backoffs, similar to the 802.11 standard. This allows the protocol to handle collisions during the "handshaking" phase while ensuring the subsequent data transmission phase is collision-free. The paper includes a node-based implementation using "Request-To-Decide" (RTD) and "Clear-To-Decide" (CTD) messages to eliminate hidden and exposed terminal problems.

Hybrid Q-CSMA

To further optimize delay, a hybrid version was developed. It employs a distributed version of Greedy Maximal Scheduling (GMS) for links with shorter queues and transitions to the optimal Q-CSMA logic only when queues become large. This "best of both worlds" approach keeps latency low under normal conditions while providing a safety net for heavy traffic.

Evaluation Setup

The authors evaluated their algorithms using custom-built simulations of two distinct network topologies:

  1. 24-Link Grid Network: A 16-node grid used to test general performance under varying traffic intensities.
  2. 9-Link Ring Network: A specific "counter-example" topology where greedy algorithms are mathematically proven to achieve only 2/3 of the possible throughput.
Figure 1: The 24-link grid network topology used for performance evaluation.

Key Results

  • Throughput Optimality: Formal proofs demonstrate that Q-CSMA can stabilize any arrival rate within the network's capacity region.
  • Delay Reduction: In the 24-link grid, Hybrid Q-CSMA significantly outperformed standard CSMA and pure Q-CSMA, maintaining low delays even as traffic approached network limits.
  • Stability in Challenging Topologies: In the 9-link ring network, while greedy algorithms (GMS/D-GMS) saw queues grow infinitely at high loads, Q-CSMA and Hybrid Q-CSMA remained stable.
  • Collision Handling: By explicitly accounting for collisions in the control phase, Q-CSMA moves closer to a practical, deployable protocol than previous theoretical models.

Conclusion and Future Work

While Q-CSMA represents a significant step forward, some challenges remain. The mathematical proof relies on a time-scale separation assumption where schedules change faster than queue lengths. Future work includes extending this MAC-layer scheduling to multi-hop routing and end-to-end congestion control. Additionally, automating the tuning of parameters like the queue-length threshold ($w_0$) for the hybrid model remains an open research question.

Summary updated

BibTeX
@inproceedings{ni2011q,
  author = {Jian Ni and Bo Tan and R. Srikant},
  title = {{Q-CSMA: Queue-Length-Based CSMA/CA Algorithms for Achieving Maximum Throughput and Low Delay in Wireless Networks}},
  booktitle = {IEEE/ACM},
  year = {2011},
  doi = {10.1109/tnet.2011.2177101},
}
Figure