Adaptive mean queue size and its rate of change: queue management with random dropping

Karmeshu, Sanjeev Patel, Shalabh Bhatnagar

TL;DR

Active Queue Management (AQM) algorithms like RED struggle under heavy network traffic because they only look at the average queue size, leading to excessive packet drops and delays. This paper introduces AQMRD, a novel algorithm that incorporates the rate of change of the queue size to dynamically adjust dropping thresholds. By anticipating congestion before it happens, AQMRD significantly improves throughput while reducing queuing delays and average queue sizes compared to existing methods.

What Problem Does This Paper Address?

In computer networks, routers use Active Queue Management (AQM) to control congestion by intentionally dropping packets before their memory buffers completely overflow. This signals senders (like TCP flows) to slow down. The classic algorithm, Random Early Detection (RED), calculates the probability of dropping a packet based solely on the average queue size.

However, under heavy, non-stationary traffic, the queue size fluctuates wildly. Because RED only looks at the current average size, it often reacts too late. The queue hits its maximum threshold frequently, leading to massive packet drops, unpredictable queuing delays, and poor network utilization. Existing improvements (like Adaptive RED or TRED) attempt to fix this by tweaking parameters, but they still ignore the second-order dynamics of the queue—specifically, how fast the queue is growing or shrinking.

Methods

The authors propose Adaptive Queue Management with Random Dropping (AQMRD). The core innovation is treating the queue like a dynamical system by measuring not just its current state (average queue size, $avg$), but its velocity (rate of change, $davg$).

Here is how the algorithm works:

  • AQMRD introduces a dynamic middle threshold, $mid_{th}$, that floats between the standard minimum ($min_{th}$) and maximum ($max_{th}$) queue thresholds.
  • If $davg > 0$ (the queue is growing): The algorithm anticipates impending congestion. It lowers $mid_{th}$, applying a more aggressive packet-dropping function earlier to save buffer space and prevent the queue from hitting the absolute maximum.
  • If $davg < 0$ (the queue is shrinking): It raises $mid_{th}$, relaxing the dropping probability to maximize throughput and ensure the network link isn't underutilized.

The system was evaluated using the ns-2 network simulator, comparing it against a suite of existing AQM algorithms including RED, MRED, Adaptive-RED, TRED, REM, SFQ, and PI.

Datasets

Not discussed in the paper in the context of standard machine learning datasets. The evaluation relies on synthetic network traffic generated within the ns-2 network simulator. The authors simulated varying numbers of FTP (File Transfer Protocol) sources (ranging from 12 to 100) to represent light, moderate, high, and very high traffic loads.

Key Insights and Ideas

  • Velocity matters: Just as driving a car safely requires knowing both your current position and your speed, managing a router queue benefits massively from knowing the rate of change ($davg$). This allows the router to act proactively rather than reactively.
  • Dynamic thresholds prevent global synchronization: By constantly shifting the $mid_{th}$ parameter based on traffic velocity, AQMRD avoids the "global synchronization" problem. This is a common network flaw where multiple TCP flows back off and ramp up at the exact same time, causing wild oscillations and wasted bandwidth.
  • Decoupling throughput and delay: Traditionally, achieving high throughput meant tolerating high queuing delays (because you had to keep the buffer full). AQMRD proves that by aggressively managing the growth rate of the queue, a network can maintain high throughput while keeping the actual queue size (and thus the delay) remarkably low.

Key Results

  • Reduced Queuing Delay: AQMRD reduced the expected queuing delay by up to 17.74% compared to standard RED under heavy traffic loads (100 FTP sources).
  • Smaller Queue Sizes: The algorithm reduced the expected average queue size by 38.4% under moderate loads (50 FTP sources) compared to RED, leading to much more stable network performance.
  • Higher Throughput: AQMRD consistently outperformed RED, Adaptive-RED, and TRED in average throughput, particularly when the network load exceeded 54 FTP sources. It showed an approximate 12-16% relative throughput improvement over TRED.
  • Robustness to Hardware: Unlike Proportional Integrator (PI) and Random Early Marking (REM) algorithms, which proved highly sensitive to router buffer size, AQMRD maintained high performance even with small buffer sizes.

Limitations and Future Work

The authors note that achieving high throughput and low queuing delay simultaneously often comes at the cost of a slightly higher packet loss rate, which AQMRD experiences compared to some baselines (though it manages the overall trade-off better).

For future work, the authors suggest applying stochastic optimization techniques to automatically tune the algorithm's hyperparameters (such as $mid_{th}$, $max_{th}$, $min_{th}$, and queue weights). Currently, these parameters require manual or heuristic initialization, and automating this could yield even better performance across diverse network conditions.

Summary updated

BibTeX
@article{karmeshu2017adaptive,
  author = {Karmeshu and Sanjeev Patel and Shalabh Bhatnagar},
  title = {{Adaptive mean queue size and its rate of change: queue management with random dropping}},
  journal = {Telecommun. Syst.},
  year = {2017},
  doi = {10.1007/s11235-016-0229-4},
}
Figure