On the performance of greedy algorithms in packet buffering

被引:36
|
作者
Albers, S [1 ]
Schmidt, M [1 ]
机构
[1] Univ Freiburg, Inst Informat, D-79110 Freiburg, Germany
关键词
buffer; competitive; greedy; network switch; online; packet; throughput;
D O I
10.1137/S0097539704446268
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We study a basic buffer management problem that arises in network switches. Consider m input ports, each of which is equipped with a buffer ( queue) of limited capacity. Data packets arrive online and can be stored in the buffers if space permits; otherwise packet loss occurs. In each time step the switch can transmit one packet from one of the buffers to the output port. The goal is to maximize the number of transmitted packets. Simple arguments show that any work-conserving algorithm, which serves any nonempty buffer, is 2-competitive. Azar and Richter recently presented a randomized online algorithm and gave lower bounds for deterministic and randomized strategies. In practice, greedy algorithms are very important because they are fast, use little extra memory, and reduce packet loss by always serving a longest queue. In this paper we first settle the competitive performance of the entire family of greedy strategies. We prove that greedy algorithms are not better than 2-competitive no matter how ties are broken. Our lower bound proof uses a new recursive construction for building adversarial buffer configurations that may be of independent interest. We also give improved lower bounds for deterministic and randomized online algorithms. In this paper we present the first deterministic online algorithm that is better than 2-competitive. We develop a modified greedy algorithm, called semigreedy, and prove that it achieves a competitive ratio of 17/9 approximate to 1.89. The new algorithm is simple, fast, and uses little extra memory. Only when the risk of packet loss is low does it not serve the longest queue. Additionally we study scenarios when an online algorithm is granted additional resources. We consider resource augmentation with respect to memory and speed; i.e., an online algorithm may be given larger buffers or higher transmission rates. We analyze greedy and other online strategies.
引用
收藏
页码:278 / 304
页数:27
相关论文
共 50 条
  • [1] Packet buffering: Randomization beats deterministic algorithms
    Schmidt, M
    STACS 2005, PROCEEDINGS, 2005, 3404 : 293 - 304
  • [2] On performance of greedy algorithms
    Temlyakov, Vladimir N.
    Zheltov, Pavel
    JOURNAL OF APPROXIMATION THEORY, 2011, 163 (09) : 1134 - 1145
  • [3] An Experimental Study of New and Known Online Packet Buffering Algorithms
    Susanne Albers
    Tobias Jacobs
    Algorithmica, 2010, 57 : 725 - 746
  • [4] An Experimental Study of New and Known Online Packet Buffering Algorithms
    Albers, Susanne
    Jacobs, Tobias
    ALGORITHMICA, 2010, 57 (04) : 725 - 746
  • [5] An experimental study of new and known online packet buffering algorithms
    Albers, Susanne
    Jacobs, Tobias
    ALGORITHMS - ESA 2007, PROCEEDINGS, 2007, 4698 : 754 - +
  • [6] Performance comparisons of greedy algorithms in compressed sensing
    Blanchard, Jeffrey D.
    Tanner, Jared
    NUMERICAL LINEAR ALGEBRA WITH APPLICATIONS, 2015, 22 (02) : 254 - 282
  • [7] GREEDY PACKET SCHEDULING
    CIDON, I
    KUTTEN, S
    MANSOUR, Y
    PELEG, D
    SIAM JOURNAL ON COMPUTING, 1995, 24 (01) : 148 - 157
  • [8] Packet buffering in Manet
    Garg, Nishu
    Sharma, Ruchika
    Pal, Parul
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2011, 11 (06): : 218 - 222
  • [9] GREEDY PACKET SCHEDULING
    CIDON, I
    KUTTEN, S
    MANSOUR, Y
    PELEG, D
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 486 : 169 - 184
  • [10] Performance Analysis of Optical Packet Switches Enhanced with Electronic Buffering
    Zhang, Zhenghao
    Yang, Yuanyuan
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-5, 2009, : 290 - +