Abstract
The problem of scheduling resources for tasks with variable requirements over time can be stated as follows. We are given two sequences of vectors A=A 1,…,A n and R=R 1,…,R m . Sequence A represents resource availability during n time intervals, where each vector A i has q elements. Sequence R represents resource requirements of a task during m intervals, where each vector R i has q elements. We wish to find the earliest time interval i, termed latency, such that for 1≤k≤m, 1≤j≤q: A j i+k−1 ≥R j k , where A j i+k−1 and R j k are the jth elements of vectors A i+k−1 and R k , respectively. One application of this problem is I/O scheduling for multimedia presentations.
The fastest known algorithm to compute the optimal solution of this problem has \({\mathcal{O}}(n\sqrt{m}\log m)\) computation time (Amir and Farach, in Proceedings of the ACM-SIAM symposium on discrete algorithms (SODA), San Francisco, CA, pp. 212–223, 1991; Inf. Comput. 118(1):1–11, 1995). We propose a technique that approximates the optimal solution in linear time: \({\mathcal{O}}(n)\) .
We evaluated the performance of our algorithm when used for multimedia I/O scheduling. Our results show that 95% of the time, our solution is within 5% of the optimal.
Similar content being viewed by others
References
Abrahamson, K. (1987). Generalized string matching. SIAM Journal on Computing, 16(6), 1039–1051.
Amir, A., & Farach, M. (1991). Efficient 2-dimensional approximate matching of non-rectangular figures. In Proceedings of the ACM-SIAM symposium on discrete algorithms (SODA) (pp. 212–223), San Francisco, CA.
Amir, A., & Farach, M. (1995). Efficient 2-dimensional approximate matching of half-rectangular figures. Information and Computation, 118(1), 1–11.
Boyer, R. S., & Moore, J. S. (1977). A fast string searching algortithm. Communications of the ACM, 20, 762–772.
Escobar-Molano, M. L., & Ghandeharizadeh, S. (1997). On coordinated display of structured video. IEEE Multimedia, 4(3), 62–75.
Escobar-Molano, M. L., & Ghandeharizadeh, S. (2000). On the complexity of coordinated display of multimedia objects. Theoretical Computer Science, 242(1–2).
Escobar-Molano, M. L., Ghandeharizadeh, S., & Ierardi, D. (1996). An optimal resource scheduler for continuous display of structured video objects. IEEE Transactions on Knowledge and Data Engineering, 8(3), 508–511.
Escobar-Molano, M. L., Barrett, D., Genova, Z., & Zhang, L. (2001). Retrieval scheduling for multimedia presentations. In Multimedia information systems (pp. 143–152).
Fischer, M. J., & Paterson, M. S. (1974). String matching and other products. In Complexity of computation, SIAM-AMS proceedings (pp. 113–125), Providence, RI.
Garey, M. R., & Graham, R. L. (1975). Bounds for multiprocessor scheduling with resource constraints. SIAM Journal on Computing, 4(2), 187–200.
Garey, M. R., Graham, R. L., Johnson, D. S., & Yao, A. C. (1976). Resource constrained scheduling as generalized bin packing. Journal of Combinatorial Theory, 21, 257–298.
Garofalakis, M. N., Ioannidis, Y. E., & Ozden, B. (1998). Resource scheduling for composite multimedia objects. In Proceedings of very large data bases (VLDB) conference (pp. 74–85), August 1998.
Hall, L. A., Shmoys, D. B., & Wein, J. (1996). Scheduling to minimize average completion time: off-line and on-line algorithms. In Proceedings of the ACM-SIAM symposium on discrete algorithms (SODA) (pp. 142–151).
Johnson, S. G., & Frigo, M. (2007). A modified split-radix fft with fewer arithmetic operations. IEEE Transactions on Signal Processing, 55(1), 111–119.
Knutt, D. E., Morris, J. H., & Pratt, V. A. (1977). Fast pattern matching in strings. SIAM Journal on Computing, 6(2), 323–350.
Muthukrishnan, S., & Palem, K. (1994). Non-standard stringology: algorithms and complexity. In Proceedings of the ACM symposium on theory of computing (STOC) (pp. 770–779), Quebec, Canada.
Shahabi, C., Ghandeharizadeh, S., & Chaudhuri, S. (2002). On scheduling atomic and composite multimedia objects. IEEE Transactions on Knowledge and Data Engineering, 14(2), 447–455.
Shmoys, D. B., Wein, J., & Williamson, D. P. (1995). Scheduling parallel machines on-line. SIAM Journal on Computing, 24(6), 1313–1331.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Escobar-Molano, M.L., Barrett, D.A. Resource scheduling with variable requirements over time. J Sched 11, 475–489 (2008). https://doi.org/10.1007/s10951-007-0016-x
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10951-007-0016-x