ABSTRACT
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 reasonable algorithm, which serves any non-empty 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 the second part of the paper we present the first deterministic online algorithm that is better than 2-competitive. We develop a modified greedy algorithm, called Semi-Greedy, and prove that it achieves a competitive ratio of $17/9 ≅ 1. 89$. The new algorithm is simple, fast and uses little extra memory. Only when the risk of packet loss is low, it does 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.
- W. Aiello, Y. Mansour, S. Rajagopolan and A. Rosen, Competitive queue policies for differentiated services. Proc. INFOCOM, 431--440, 2000.]] Google ScholarDigital Library
- N. Andelman, Y. Mansour and A. Zhu. Competitive queueing policies in QoS switches. Proc. 14th ACM-SIAM Symp. on Discrete Algorithms, 761--770, 2003.]] Google ScholarDigital Library
- Y. Azar and Y. Richter. Management of multi-queue switches in QoS Networks. Proc. 35th ACM Symp. on Theory of Computing, 82--89, 2003.]] Google ScholarDigital Library
- A. Aziz, A. Prakash and V. Ramachandran. A new optimal scheduler for switch-memory-switch routers. Proc. 15th Annual ACM Symp. on Parallelism in Algorithms and Architectures, 343--352, 2003.]] Google ScholarDigital Library
- A. Bar-Noy, A. Freund, S. Landa and J. Naor. Competitive on-line switching policies. Proc. 13th ACM-SIAM Symp. on Discrete Algorithms, 525--534, 2002.]] Google ScholarDigital Library
- E. L. Hahne, A. Kesselman and Y. Mansour. Competitive buffer management for shared-memory switches. Proc. 13th ACM Symp. on Parallel Algorithms and Architectures, 53--58, 2001.]] Google ScholarDigital Library
- A. Kesselman, Z. Lotker, Y. Mansour, B. Patt-Shamir, B. Schieber and M. Sviridenko. Buffer overflow management in QoS switches. Proc. 31st ACM Symp. on Theory of Computing, 520--529, 2001.]] Google ScholarDigital Library
- A. Kesselman and Y. Mansour. Loss-bounded analysis for differentiated services. Proc. 12th ACM-SIAM Symp. on Discrete Algorithms, 591--600, 2001.]] Google ScholarDigital Library
- A. Kesselman, Y. Mansour and R. van Stee. Improved competitive guarantees for QoS buffering Proc. 11th European Symp. on Algorithms, LNCS Vol. 2832, 361--372, 2003.]]Google Scholar
- A. Kesselman and A. Rosen. Scheduling policies for CIOQ switches. Proc. 15th Annual ACM Symp. on Parallelism in Algorithms and Architectures, 353--361, 2003.]] Google ScholarDigital Library
- H. Koga. Balanced scheduling towards loss-free packet queueing and delay fairness. Proc. 12th Annual International Symp. on Algorithms and Computation, LNCS Vol. 2223, 61--73, 2001.]] Google ScholarDigital Library
- D. D. Sleator and R. E. Tarjan. Amortized efficiency of list update and paging rules. Comm. of the ACM, 28:202-208, 1985.]] Google ScholarDigital Library
Index Terms
- On the performance of greedy algorithms in packet buffering
Recommendations
On the Performance of Greedy Algorithms in Packet Buffering
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; ...
Maximizing throughput in multi-queue switches
We study a basic problem in Multi-Queue switches. A switch connectsm input ports to a single output port. Each input port is equipped with an incoming FIFO queue with bounded capacityB. A switch serves its input queues by transmitting packets arriving ...
Reorder notifying TCP (RN-TCP) with explicit packet drop notification (EPDN): Research Articles
Numerous studies have shown that packet reordering is common, especially in networks where there is high degree of parallelism and different link speeds. Reordering of packets decrease the TCP performance of a network, mainly because it leads to ...
Comments