Online scheduling with a buffer on related machines

AbstractOnline scheduling with a buffer is a semi-online problem which is strongly related to the basic online scheduling problem. Jobs arrive one by one and are to be assigned to parallel machines. A buffer of a fixed capacity K is available for storing at most K input jobs. An arriving job must be either assigned to a machine immediately upon arrival, or it can be stored in the buffer for unlimited time. A stored job which is removed from the buffer (possibly, in order to allocate a space in the buffer for a new job) must be assigned immediately as well. We study the case of two uniformly related machines of speed ratio s≥1, with the goal of makespan minimization.Two natural questions can be asked. The first question is whether this model is different from standard online scheduling, that is, is any size of buffer K>0 already helpful to the algorithm, compared to the case K=0. The second question is whether there exists a constant K, so that a larger buffer is no longer beneficial to an algorithm, that is, increasing the size of the buffer above this threshold would not change the best competitive ratio further. Previous work (Kellerer et al., Oper. Res. Lett. 21, 235–242, 1997; Zhang, Inf. Process. Lett. 61, 145–148, 1997; Englert et al., Proc. 48th Symp. Foundations of Computer Science (FOCS), 2008) shows that in the case s=1, already K=1 allows to design a $\frac{4}{3}$ -competitive algorithm, which is best possible for any K≥1, whereas the best possible ratio for K=0 is $\frac{3}{2}$ . Similar results have been show for multiple identical machines (Englert et al., Proc. 48th Symp. Foundations of Computer Science (FOCS), 2008).We answer both questions affirmatively, and show that a buffer of size K=2 is sufficient to achieve the a competitive ratio which matches the lower bound for K→∞ for any s>1. In fact, we show that a buffer of size K=1 can evidently be exploited by the algorithm for any s>1, but for a range of values of s, it is still weaker than a buffer of size 2. On the other hand, in the case s≥2, a buffer of size K=1 already allows to achieve optimal bounds.

[1]  Shaobin Huang,et al.  Control Flow Checking Algorithm using Soft-basedIntra-/Inter-block Assigned-Signature , 2007 .

[2]  Leah Epstein,et al.  Optimal non-preemptive semi-online scheduling on two related machines , 2002, J. Algorithms.

[3]  Zsolt Tuza,et al.  Semi on-line algorithms for the partition problem , 1997, Oper. Res. Lett..

[4]  Eric Torng,et al.  Generating adversaries for request-answer games , 2000, SODA '00.

[5]  Guangzhong Sun,et al.  Study on Parallel Machine Scheduling Problem with Buffer , 2007, Second International Multi-Symposiums on Computer and Computational Sciences (IMSCCS 2007).

[6]  Gerhard J. Woeginger,et al.  Semi-online scheduling with decreasing job sizes , 2000, Oper. Res. Lett..

[7]  Matthias Englert,et al.  The Power of Reordering for Online Minimum Makespan Scheduling , 2008, 2008 49th Annual IEEE Symposium on Foundations of Computer Science.

[8]  Guochuan Zhang,et al.  A Simple Semi On-Line Algorithm for P2//C_{max} with a Buffer , 1997, Inf. Process. Lett..

[9]  Zsolt Tuza,et al.  Semi-online scheduling on two uniform processors , 2008, Theor. Comput. Sci..

[10]  Leah Epstein,et al.  Bin stretching revisited , 2003, Acta Informatica.

[11]  Zsolt Tuza,et al.  The On-Line Multiprocessor Scheduling Problem with Known Sum of the Tasks , 2004, J. Sched..

[12]  Guochuan Zhang,et al.  Semi On-Line Scheduling on Two Identical Machines , 1999, Computing.

[13]  Guochuan Zhang,et al.  A note on on-line scheduling with partial information , 2002 .

[14]  Ronald L. Graham,et al.  Bounds for certain multiprocessing anomalies , 1966 .

[15]  Yossi Azar,et al.  On-line bin-stretching , 1998, Theor. Comput. Sci..

[16]  Susanne Albers,et al.  Better bounds for online scheduling , 1997, STOC '97.

[17]  Gerhard J. Woeginger,et al.  Online Algorithms , 1998, Lecture Notes in Computer Science.

[18]  Deshi Ye,et al.  Semi-online scheduling with “end of sequence” information , 2007, J. Comb. Optim..

[19]  Gerhard J. Woeginger,et al.  Randomized online scheduling on two uniform machines , 2001, SODA '99.

[20]  György Turán,et al.  On the performance of on-line algorithms for partition problems , 1989, Acta Cybern..

[21]  Jirí Sgall,et al.  On-line Scheduling , 1996, Online Algorithms.

[22]  Ronald L. Graham,et al.  Bounds on Multiprocessing Timing Anomalies , 1969, SIAM Journal of Applied Mathematics.