We consider online algorithms for scheduling weighted packets with deadlines in multiple sizebounded buffers. There are m ≥ 1 buffers B1, B2, . . . , Bm. At any time, a buffer Bi can store at most bi ∈ Z packets. Packets arrive over time. Each packet is associated with a non-negative value, an integer deadline, and a target buffer that it can reside in. In each time step, only one pending packet is allowed to be sent. Our objective is to maximize the total value gained by delivering packets before their respective deadlines in an online manner. We call this model a single-buffer model (when m = 1) or a multi-buffer model (when m > 1). The single-buffer model generalizes the bounded-delay model (Hajek. CISS 2001. Kesselman et al. STOC 2001). Competitive analysis is employed to measure an online algorithm’s performance. For the single-buffer model, we first show that the lower bound of competitive ratios of a family of deterministic online algorithms is 2 — all previously known deterministic algorithms for the boundeddelay model fall in this category. Then we present a 3-competitive deterministic algorithm and a randomized 2.618-competitive algorithm. For the single-buffer model, no previously known algorithm has a competitive ratio better than 9.82 (Azar, Levy. SWAT 2006). The multi-buffer model has been studied by Azar and Levy (Azar, Levy. SWAT 2006) and they developed a 9.82-competitive deterministic algorithm. We propose a deterministic algorithm for the multi-buffer model achieving a competitive ratio of 6.828. Our algorithms as well as their analysis have several interesting features. We design algorithms for both models using the same generic algorithmic framework: greedily maintaining the packets in the buffers with (possibly) modified characteristics. Our analysis is different from the classic potential function approach. For the single-buffer model, we apply a simple charging scheme which depends on a modification of the packets in the adversary’s buffer. We then prove that a set of invariants hold at the end of each time step. For the multi-buffer model, we create an intermediate weaker adversary that gains at least 1/c1 of what an optimal offline algorithm gains. Then we prove that compared with this weaker adversary, our algorithm is at least c2-competitive. Altogether, our algorithm is (c1 · c2)-competitive. Department of Computer Science, George Mason University. lifei@cs.gmu.edu.
[1]
Matthias Englert,et al.
Considering suppressed packets improves buffer management in QoS switches
,
2007,
SODA '07.
[2]
Fei Li,et al.
An optimal online algorithm for packet scheduling with agreeable deadlines
,
2005,
SODA '05.
[3]
Yishay Mansour,et al.
Improved Competitive Guarantees for QoS Buffering
,
2003,
Algorithmica.
[4]
Markus Schmidt,et al.
Packet Buffering: Randomization Beats Deterministic Algorithms
,
2005,
STACS.
[5]
Francis Y. L. Chin,et al.
Online Scheduling with Partial Job Values: Does Timesharing or
Randomization Help?
,
2003,
Algorithmica.
[6]
V. Paxson,et al.
WHERE MATHEMATICS MEETS THE INTERNET
,
1998
.
[7]
Marek Chrobak,et al.
Online Competitive Algorithms for Maximizing Weighted Throughput of Unit Jobs
,
2004,
STACS.
[8]
Boaz Patt-Shamir,et al.
Buffer overflow management in QoS switches
,
2001,
STOC '01.
[9]
Boaz Patt-Shamir,et al.
Nearly optimal FIFO buffer management for DiffServ
,
2002,
PODC '02.
[10]
Baruch Schieber,et al.
Further Improvements in Competitive Guarantees for QoS Buffering
,
2004,
ICALP.
[11]
Marek Chrobak,et al.
Improved online algorithms for buffer management in QoS switches
,
2004,
ESA.
[12]
Fei Li,et al.
Better online buffer management
,
2007,
SODA '07.
[13]
Bruce Hajek.
On the Competitiveness of On-Line Scheduling of Unit-Length Packets with Hard Deadlines in Slotted Time
,
2001
.
[14]
Allan Borodin,et al.
Online computation and competitive analysis
,
1998
.
[15]
Yossi Azar,et al.
The zero-one principle for switching networks
,
2004,
STOC '04.
[16]
Yossi Azar,et al.
Multiplexing Packets with Arbitrary Deadlines in Bounded Buffers
,
2006,
SWAT.
[17]
Yossi Azar,et al.
Management of Multi-Queue Switches in QoS Networks
,
2003,
STOC '03.