Abstract
This paper studies two related scheduling problems: fractional bamboo trimming and distributed windows scheduling. In the fractional bamboo trimming problem, we are given n bamboos with different growth rates and cut fractions. At the end of each day, we can cut a fraction of one bamboo. The goal is to design a perpetual schedule of cuts to minimize the height of the tallest bamboo ever. For this problem, we present a 2-approximation algorithm. In addition, we prove upper bounds on the approximation factors of well-known algorithms Reduce-Max and Reduce-Fastest(x) for this problem. In the closely related windows scheduling problem, given a multiset of positive integers \(W = \{w_1, ..., w_n\}\), we want to schedule n pages on broadcasting channels such that the time interval between any two consecutive appearances of the i-th page (\(1 \le i \le n\)) is at most \(w_i\). The goal of this problem is to minimize the number of channels. We provide an algorithm for the windows scheduling problem that uses at most \(\left\lceil \frac{d(W) + 1}{0.75} \right\rceil \) channels, where \(d(W) = \sum _{i=1}^{n}{\frac{1}{w_i}}\). When \(d(W) \le 46\), our algorithm guarantees a smaller upper bound on the number of channels than the best-known algorithm in the literature. We also describe the first approximation algorithm for the windows scheduling problem in a distributed setting, where input data is partitioned among a set of m machines. Furthermore, we introduce patterns of some multisets with \(d(W) \le 1\) for which windows scheduling on one channel (i.e., pinwheel scheduling) is impossible.
This work was partially funded by NSERC Discovery Grants.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adler, M., Berenbrink, P., Friedetzky, T., Goldberg, L.A., Goldberg, P., Paterson, M.: A proportionate fair scheduling rule with good worst-case performance. In: Proceedings of the Fifteenth Annual ACM Symposium on Parallel Algorithms and Architectures, pp. 101–108 (2003)
Alshamrani, S.: How reduce max algorithm behaves with symptoms appearance on virtual machines in clouds. In: 2015 International Conference on Cloud Computing (ICCC), pp. 1–4. IEEE (2015)
Ammar, M.H., Wong, J.W.: The design of teletext broadcast cycles. Perform. Eval. 5(4), 235–242 (1985)
Anily, S., Glass, C.A., Hassin, R.: The scheduling of maintenance service. Discrete Appl. Math. 82(1–3), 27–42 (1998)
Assadi, S.: Combinatorial optimization on massive datasets: streaming, distributed, and massively parallel computation. University of Pennsylvania (2018)
Bar-Noy, A., Ladner, R.E.: Windows scheduling problems for broadcast systems. SIAM J. Comput. 32(4), 1091–1113 (2003)
Bar-Noy, A., Ladner, R.E., Tamir, T.: Scheduling techniques for media-on-demand. In: SODA, pp. 791–80 (2003)
Bar-Noy, A., Ladner, R.E., Tamir, T.: Windows scheduling as a restricted version of bin packing. ACM Trans. Algorithms (TALG) 3(3), 28-es (2007)
Beame, P., Koutris, P., Suciu, D.: Communication steps for parallel query processing. J. ACM (JACM) 64(6), 1–58 (2017)
Bender, M.A., Farach-Colton, M., Kuszmaul, W.: Achieving optimal backlog in multi-processor cup games. In: Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing, pp. 1148–1157 (2019)
Bender, M.A., et al.: The minimum backlog problem. Theor. Comput. Sci. 605, 51–61 (2015)
Bender, M.A., Kuszmaul, W.: Randomized cup game algorithms against strong adversaries. In: Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), pp. 2059–2077. SIAM (2021)
Bilò, D., Gualà, L., Leucci, S., Proietti, G., Scornavacca, G.: Cutting bamboo down to size. Theoret. Comput. Sci. 909, 54–67 (2022)
Chan, M.Y., Chin, F.Y.L.: General schedulers for the pinwheel problem based on double-integer reduction. IEEE Trans. Comput. 41(06), 755–768 (1992)
Garey, M.R., Johnson, D.S.: Approximation algorithms for bin packing problems: a survey. In: Ausiello, G., Lucertini, M. (eds.) Analysis and Design of Algorithms in Combinatorial Optimization. ICMS, vol. 266, pp. 147–172. Springer, Vienna (1981). https://doi.org/10.1007/978-3-7091-2748-3_8
Dean, J., Ghemawat, S.: MapReduce: simplified data processing on large clusters. Commun. ACM 51(1), 107–113 (2008)
Fishburn, P.C., Lagarias, J.C.: Pinwheel scheduling: achievable densities. Algorithmica 34(1), 14–38 (2002)
Gasieniec, L., et al.: Perpetual maintenance of machines with different urgency requirements. J. Comput. Syst. Sci. 139, 103476 (2024)
Gąsieniec, L., Klasing, R., Levcopoulos, C., Lingas, A., Min, J., Radzik, T.: Bamboo garden trimming problem (perpetual maintenance of machines with different attendance urgency factors). In: Steffen, B., Baier, C., van den Brand, M., Eder, J., Hinchey, M., Margaria, T. (eds.) SOFSEM 2017. LNCS, vol. 10139, pp. 229–240. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-51963-0_18
Goldwasser, M.H.: A survey of buffer management policies for packet switches. ACM SIGACT News 41(1), 100–128 (2010)
Höhne, F., van Stee, R.: A 10/7-approximation for discrete bamboo garden trimming and continuous trimming on star graphs. In: Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques (APPROX/RANDOM 2023). Schloss Dagstuhl-Leibniz-Zentrum für Informatik (2023)
Holte, R., Mok, A., Rosier, L., Tulchinsky, I., Varvel, D.: The pinwheel: a real-time scheduling problem. In: Proceedings of the 22nd Hawaii International Conference of System Science, pp. 693–702 (1989)
Im, S., Moseley, B., Zhou, R.: The matroid cup game. Oper. Res. Lett. 49(3), 405–411 (2021)
Indyk, P., Mahabadi, S., Mahdian, M., Mirrokni, V.S.: Composable core-sets for diversity and coverage maximization. In: Proceedings of the 33rd ACM SIGMOD-SIGACT-SIGART Symposium on Principles of Database Systems, pp. 100–108 (2014)
Karloff, H., Suri, S., Vassilvitskii, S.: A model of computation for MapReduce. In: Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 938–948. SIAM (2010)
Kuszmaul, J.: Bamboo trimming revisited: Simple algorithms can do well too. In: Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 411–417 (2022)
Kuszmaul, W.: Achieving optimal backlog in the vanilla multi-processor cup game. In: Proceedings of the Fourteenth Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 1558–1577. SIAM (2020)
Kuszmaul, W.: How asymmetry helps buffer management: achieving optimal tail size in cup games. In: Proceedings of the 53rd Annual ACM SIGACT Symposium on Theory of Computing, pp. 1248–1261 (2021)
Kuszmaul, W., Westover, A.: The variable-processor cup game. arXiv preprint arXiv:2012.00127 (2020)
Liu, C.L., Layland, J.W.: Scheduling algorithms for multiprogramming in a hard-real-time environment. J. ACM (JACM) 20(1), 46–61 (1973)
Mirjalali, K., Tabatabaee, S.A., Zarrabi-Zadeh, H.: Distributed unit clustering. In: CCCG, pp. 236–241 (2019)
van Ee, M.: A 12/7-approximation algorithm for the discrete bamboo garden trimming problem. Oper. Res. Lett. 49(5), 645–649 (2021)
Viswanathan, S., Imielinski, T.: Metropolitan area video-on-demand service using pyramid broadcasting. Multimed. Syst. 4, 197–208 (1996)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Beikmohammadi, A., Evans, W., Tabatabaee, S.A. (2024). Fractional Bamboo Trimming and Distributed Windows Scheduling. In: Fernau, H., Gaspers, S., Klasing, R. (eds) SOFSEM 2024: Theory and Practice of Computer Science. SOFSEM 2024. Lecture Notes in Computer Science, vol 14519. Springer, Cham. https://doi.org/10.1007/978-3-031-52113-3_5
Download citation
DOI: https://doi.org/10.1007/978-3-031-52113-3_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-52112-6
Online ISBN: 978-3-031-52113-3
eBook Packages: Computer ScienceComputer Science (R0)