Competitive Capacitated Online Recoloring

Authors Rajmohan Rajaraman, Omer Wasim



PDF
Thumbnail PDF

File

LIPIcs.ESA.2024.95.pdf
  • Filesize: 0.75 MB
  • 17 pages

Document Identifiers

Author Details

Rajmohan Rajaraman
  • Northeastern University, Boston, MA, USA
Omer Wasim
  • Northeastern University, Boston, MA, USA

Acknowledgements

This work was partially supported by NSF grant CCF-2335187.

Cite AsGet BibTex

Rajmohan Rajaraman and Omer Wasim. Competitive Capacitated Online Recoloring. In 32nd Annual European Symposium on Algorithms (ESA 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 308, pp. 95:1-95:17, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ESA.2024.95

Abstract

In this paper, we revisit the online recoloring problem introduced recently by Azar, Machluf, Patt-Shamir and Touitou [Azar et al., 2022] to investigate algorithmic challenges that arise while scheduling virtual machines or processes in distributed systems and cloud services. In online recoloring, there is a fixed set V of n vertices and an initial coloring c₀: V → [k] for some k ∈ ℤ^{> 0}. Under an online sequence σ of requests where each request is an edge (u_t,v_t), a proper vertex coloring c of the graph G_t induced by requests until time t needs to be maintained for all t; i.e., for any (u,v) ∈ G_t, c(u)≠ c(v). In the distributed systems application, a vertex corresponds to a VM, an edge corresponds to the requirement that the two endpoint VMs be on different clusters, and a coloring is an allocation of VMs to clusters. The objective is to minimize the total weight of vertices recolored for the sequence σ. In [Azar et al., 2022], the authors give competitive algorithms for two polynomially tractable cases - 2-coloring for bipartite G_t and (Δ+1)-coloring for Δ-degree G_t - and lower bounds for the fully dynamic case where G_t can be arbitrary. We obtain the first competitive algorithms for capacitated online recoloring and fully dynamic recoloring, in which there is a bound on the number or weight of vertices in each color. Our first set of results is for 2-recoloring using algorithms that are (1+ε)-resource augmented where ε ∈ (0,1) is an arbitrarily small constant. Our main result is an O(log n)-competitive deterministic algorithm for weighted bipartite graphs, which is asymptotically optimal in light of an Ω(log n) lower bound that holds for an unbounded amount of augmentation. We also present an O(nlog n)-competitive deterministic algorithm for fully dynamic recoloring, which is optimal within an O(log n) factor in light of a Ω(n) lower bound that holds for an unbounded amount of augmentation. Our second set of results is for Δ-recoloring in an (1+ε)-overprovisioned setting where the maximum degree of G_t is bounded by (1-ε)Δ for all t, and each color assigned to at most (1+ε)n/(Δ) vertices, for an arbitrary ε > 0. Our main result is an O(1)-competitive randomized algorithm for Δ = O(√{n/log n}). We also present an O(Δ)-competitive deterministic algorithm for Δ ≤ ε n/2. Both results are asymptotically optimal.

Subject Classification

ACM Subject Classification
  • Theory of computation → Online algorithms
Keywords
  • online algorithms
  • competitive ratio
  • recoloring
  • resource augmentation

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Zaid Allybokus, Nancy Perrot, Jérémie Leguay, Lorenzo Maggi, and Eric Gourdin. Virtual function placement for service chaining with partial orders and anti-affinity rules. Networks, 71(2):97-106, 2018. Google Scholar
  2. The Kubernetes Authors. Assigning pods to nodes, 2024. URL: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/.
  3. Chen Avin, Marcin Bienkowski, Andreas Loukas, Maciej Pacut, and Stefan Schmid. Dynamic balanced graph partitioning. SIAM Journal on Discrete Mathematics, 34(3):1791-1812, 2020. Google Scholar
  4. Chen Avin, Kaushik Mondal, and Stefan Schmid. Demand-aware network designs of bounded degree. Distributed Computing, 33(3-4):311-325, 2020. Google Scholar
  5. Yossi Azar, Chay Machluf, Boaz Patt-Shamir, and Noam Touitou. Competitive Vertex Recoloring. In Mikołaj Bojańczyk, Emanuela Merelli, and David P. Woodruff, editors, 49th International Colloquium on Automata, Languages, and Programming (ICALP 2022), volume 229 of Leibniz International Proceedings in Informatics (LIPIcs), pages 13:1-13:20, Dagstuhl, Germany, 2022. Schloss Dagstuhl - Leibniz-Zentrum für Informatik. URL: https://doi.org/10.4230/LIPIcs.ICALP.2022.13.
  6. Yossi Azar, Chay Machluf, Boaz Patt-Shamir, and Noam Touitou. Competitive vertex recoloring: (online disengagement). Algorithmica, pages 1-27, 2023. Google Scholar
  7. Luis Barba, Jean Cardinal, Matias Korman, Stefan Langerman, André Van Renssen, Marcel Roeloffzen, and Sander Verdonschot. Dynamic graph coloring. In Workshop on algorithms and data structures, pages 97-108. Springer, 2017. Google Scholar
  8. Sayan Bhattacharya, Fabrizio Grandoni, Janardhan Kulkarni, Quanquan C Liu, and Shay Solomon. Fully dynamic (δ+ 1)-coloring in o (1) update time. ACM Transactions on Algorithms (TALG), 18(2):1-25, 2022. Google Scholar
  9. Bartłomiej Bosek, Yann Disser, Andreas Emil Feldmann, Jakub Pawlewicz, and Anna Zych-Pawlewicz. Recoloring Interval Graphs with Limited Recourse Budget. In Susanne Albers, editor, 17th Scandinavian Symposium and Workshops on Algorithm Theory (SWAT 2020), volume 162 of Leibniz International Proceedings in Informatics (LIPIcs), pages 17:1-17:23, Dagstuhl, Germany, 2020. Schloss Dagstuhl - Leibniz-Zentrum für Informatik. URL: https://doi.org/10.4230/LIPIcs.SWAT.2020.17.
  10. VMware Docs. Using affinity rules with vsphere drs, 2024. URL: https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-resource-management/GUID-FF28F29C-8B67-4EFF-A2EF-63B3537E6934.html#:~:text=An%20anti%2Daffinity%20rule%20specifies,using%20this%20type%20of%20rule.
  11. Tobias Forner, Harald Räcke, and Stefan Schmid. Online balanced repartitioning of dynamic communication patterns in polynomial time. In Symposium on Algorithmic Principles of Computer Systems (APOCS), pages 40-54. SIAM, 2021. Google Scholar
  12. Michael R Garey, David S Johnson, and Larry Stockmeyer. Some simplified np-complete problems. In Proceedings of the sixth annual ACM symposium on Theory of computing, pages 47-63, 1974. Google Scholar
  13. Monika Henzinger, Stefan Neumann, Harald Räcke, and Stefan Schmid. Tight bounds for online graph partitioning. In Proceedings of the 2021 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2799-2818. SIAM, 2021. Google Scholar
  14. Monika Henzinger, Stefan Neumann, and Andreas Wiese. Explicit and implicit dynamic coloring of graphs with bounded arboricity. arXiv preprint arXiv:2002.10142, 2020. Google Scholar
  15. Monika Henzinger and Pan Peng. Constant-time dynamic (δ +1)-coloring. ACM Trans. Algorithms, 18(2), March 2022. URL: https://doi.org/10.1145/3501403.
  16. Fabien Hermenier and Ludovic Henrio. Trustable virtual machine scheduling in a cloud. In Proceedings of the 2017 Symposium on Cloud Computing, pages 15-26, 2017. Google Scholar
  17. Richard M Karp. Reducibility among combinatorial problems. Springer, 2010. Google Scholar
  18. Manas Jyoti Kashyop, N. S. Narayanaswamy, Meghana Nasre, and Sai Mohith Potluri. Trade-offs in dynamic coloring for bipartite and general graphs. Algorithmica, 85(4):854-878, October 2022. URL: https://doi.org/10.1007/s00453-022-01050-7.
  19. Henry A Kierstead, Alexandr V Kostochka, Marcelo Mydlarz, and Endre Szemerédi. A fast algorithm for equitable coloring. Combinatorica, 30(2):217-224, 2010. Google Scholar
  20. Michael Mitzenmacher and Eli Upfal. Probability and computing: Randomization and probabilistic techniques in algorithms and data analysis. Cambridge university press, 2017. Google Scholar
  21. Maciej Pacut, Mahmoud Parham, and Stefan Schmid. Optimal online balanced graph partitioning. In IEEE INFOCOM 2021-IEEE Conference on Computer Communications, pages 1-9. IEEE, 2021. Google Scholar
  22. Harald Räcke, Stefan Schmid, and Ruslan Zabrodin. Approximate dynamic balanced graph partitioning. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 401-409, 2022. Google Scholar
  23. Rajmohan Rajaraman and Omer Wasim. Improved bounds for online balanced graph re-partitioning. In 30th Annual European Symposium on Algorithms (ESA 2022). Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022. Google Scholar
  24. Manoel C Silva Filho, Claudio C Monteiro, Pedro RM Inácio, and Mário M Freire. Approaches for optimizing virtual machine placement and migration in cloud environments: A survey. Journal of Parallel and Distributed Computing, 111:222-250, 2018. Google Scholar
  25. Shay Solomon and Nicole Wein. Improved dynamic graph coloring. ACM Trans. Algorithms, 16(3), June 2020. URL: https://doi.org/10.1145/3392724.
  26. Ruoxiao Tang. Innovations for data center network optimization. In 2021 International Conference on Computer Information Science and Artificial Intelligence (CISAI), pages 610-615, 2021. URL: https://doi.org/10.1109/CISAI54367.2021.00123.
  27. Huandong Wang, Yong Li, Ying Zhang, and Depeng Jin. Virtual machine migration planning in software-defined networks. IEEE Transactions on Cloud Computing, 7(4):1168-1182, 2019. URL: https://doi.org/10.1109/TCC.2017.2710193.
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail