English

Tight Analysis of Priority Queuing Policy for Egress Traffic

Data Structures and Algorithms 2014-09-02 v2

Abstract

Recently, the problems of evaluating performances of switches and routers have been formulated as online problems, and a great amount of results have been presented. In this paper, we focus on managing outgoing packets (called {\em egress traffic}) on switches that support Quality of Service (QoS), and analyze the performance of one of the most fundamental scheduling policies {\em Priority Queuing} (PQPQ) using competitive analysis. We formulate the problem of managing egress queues as follows: An output interface is equipped with mm queues, each of which has a buffer of size BB. The size of a packet is unit, and each buffer can store up to BB packets simultaneously. Each packet is associated with one of mm priority values αj\alpha_{j} (1jm1 \leq j \leq m), where α1α2αm\alpha_{1} \leq \alpha_{2} \leq \cdots \leq \alpha_{m}, α1=1\alpha_{1} = 1, and αm=α\alpha_{m} = \alpha and the task of an online algorithm is to select one of mm queues at each scheduling step. The purpose of this problem is to maximize the sum of the values of the scheduled packets. For any BB and any mm, we show that the competitive ratio of PQPQ is exactly 2minx[1,m1]{αx+1j=1x+1αj}2 - \min_{x \in [1, m-1] } \{ \frac{ \alpha_{x+1} }{ \sum_{j = 1}^{x+1} \alpha_{j} } \}. That is, we conduct a complete analysis of the performance of PQPQ using worst case analysis. Moreover, we show that no deterministic online algorithm can have a competitive ratio smaller than 1+α3+α2+αα4+4α3+3α2+4α+11 + \frac{ \alpha^3 + \alpha^2 + \alpha }{ \alpha^4 + 4 \alpha^3 + 3 \alpha^2 + 4 \alpha + 1 }.

Keywords

Cite

@article{arxiv.1207.5959,
  title  = {Tight Analysis of Priority Queuing Policy for Egress Traffic},
  author = {Jun Kawahara and Koji M. Kobayashi and Tomotaka Maeda},
  journal= {arXiv preprint arXiv:1207.5959},
  year   = {2014}
}

Comments

20 pages