Exact GPS simulation and optimal fair scheduling with logarithmic complexity

  • Authors:
  • Paolo Valente

  • Affiliations:
  • Dipartimento di Ingegneria dell'Informazione, Università degli Studi Di Modena, Modena, Italy

  • Venue:
  • IEEE/ACM Transactions on Networking (TON)
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Generalized Processor Sharing (GPS) is a fluid scheduling policy providing perfect fairness over both constant-rate and variable-rate links. The minimum deviation (lead/lag) with respect to the GPS service achievable by a packet scheduler is one maximum packet size. To the best of our knowledge, the only packet scheduler guaranteeing the minimum deviation is Worst-case Fair Weighted Fair Queueing (WF2Q), which requires on-line GPS simulation. Existing algorithms to perform GPS simulation have O(N) worst-case computational complexity per packet transmission (N being the number of competing flows). Hence, WF2Q has been charged for O(N) complexity too. However it has been proven that the lower bound complexity to guarantee O(1) deviation is Ω(log N), yet a scheduler achieving such a result has remained elusive so far. In this paper, we present L-GPS, an algorithm that performs exact GPS simulation with O(log N) worst-case complexity and small constants. As such it improves the complexity of all the packet schedulers based on GPS simulation. We also present L-WF2Q, an implementation of WF2Q based on L-GPS. L-WF2Q has O(log N) complexity with small constants, and, since it achieves the minimum possible deviation, it does match the aforementioned complexity lower bound. Furthermore, both L-GPS and L-WF2Q comply with constant-rate as well as variable-rate links. We assess the effectiveness of both algorithms by simulating real-world scenarios.