Breaking the Barrier of 2 for the Competitiveness of Longest Queue Drop
Antonios Antoniadis, Matthias Englert, Nicolaos Matsakis, Pavel Veselý
TL;DR
The paper resolves a long-standing open problem by proving that the Longest Queue Drop (LQD) algorithm for buffer management in shared-memory switches is $1.6918$-competitive, improving the previous $2$-competitive upper bound. It introduces a phase-based profit-splitting framework that distributes LQD’s profit across queues and bounds the offline optimum via a careful mapping of OPT-extra packets to LQD activity. A novel potential function and a decomposition into L-increase and S-increase enable tight per-queue analyses, incorporating live/dying queue dynamics and a mapping scheme that cancels portions of OPT’s advantage. The result has practical impact on online buffer management by providing the first constant-factor improvement for LQD without restrictions on the number of ports or buffer size, and the techniques may inform broader online-algorithm analyses in networking and queueing systems.
Abstract
We consider the problem of managing the buffer of a shared-memory switch that transmits packets of unit value. A shared-memory switch consists of an input port, a number of output ports, and a buffer with a specific capacity. In each time step, an arbitrary number of packets arrive at the input port, each packet designated for one output port. Each packet is added to the queue of the respective output port. If the total number of packets exceeds the capacity of the buffer, some packets have to be irrevocably evicted. At the end of each time step, each output port transmits a packet in its queue and the goal is to maximize the number of transmitted packets. The Longest Queue Drop (LQD) online algorithm accepts any arriving packet to the buffer. However, if this results in the buffer exceeding its memory capacity, then LQD drops a packet from whichever queue is currently the longest, breaking ties arbitrarily. The LQD algorithm was first introduced in 1991, and is known to be $2$-competitive since 2001. Although LQD remains the best known online algorithm for the problem and is of practical interest, determining its true competitiveness is a long-standing open problem. We show that LQD is 1.6918-competitive, establishing the first $(2-\varepsilon)$ upper bound for the competitive ratio of LQD, for a constant $\varepsilon>0$.
