Skip to main content
Erschienen in: Cluster Computing 1/2024

23.03.2023

A new distributed graph coloring algorithm for large graphs

verfasst von: Assia Brighen, Hachem Slimani, Abdelmounaam Rezgui, Hamamache Kheddouci

Erschienen in: Cluster Computing | Ausgabe 1/2024

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

The vertex graph coloring problem (VGCP) is one of the most well-known problems in graph theory. It is used for solving several real-world problems such as compiler optimization, map coloring, and frequency assignment. The goal of VGCP is to color all vertices of the graph so that adjacent vertices receive different colors and the number of different colors used is minimized. The main difficulty of this problem resides when the graph size increases, that induces the increase in complexity of the VGCP which gives it the characteristic of being an NP-hard problem. To deal with this problem in the context of large graphs, different options are considered, including new large graph parallel processing frameworks such as Pregel, Graphx and Giraph. The latter is viewed as one of the most popular large graph processing frameworks both in industry and academia. In this work, we propose a new parallel graph coloring algorithm, called DistG, based on the vertex-centric computation model. The main feature of the proposed algorithm is that it colors all the vertices in its second superstep, corresponding to the initial coloration stage, and in the other supersteps takes care of conflict correction. And this allows it to exclude from the computation from the third superstep all the vertices not concerned by conflicts, what makes it several important gains in terms of number of supersteps, number of exchanged messages, and execution time. For its implementation, we have used the Giraph framework but it can be easily adaptable to any vertex-centric system. We have evaluated the DistG algorithm on several datasets from the SNAP graph benchmark using a Hadoop Cluster. The obtained results have shown that the proposed algorithm performs better than concurrent algorithms in terms of number of colors, CPU time, number of supersteps, and communication cost.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literatur
1.
3.
4.
Zurück zum Zitat Alabandi, G., Powers, E., Burtscher, M.: Increasing the parallelism of graph coloring via shortcutting. In: PPoPP’20, Proceedings of the 25th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, pp. 262–275 (2020). https://doi.org/10.1145/3332466.3374519 Alabandi, G., Powers, E., Burtscher, M.: Increasing the parallelism of graph coloring via shortcutting. In: PPoPP’20, Proceedings of the 25th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, pp. 262–275 (2020). https://​doi.​org/​10.​1145/​3332466.​3374519
7.
Zurück zum Zitat Avery, C.: Giraph: large-scale graph processing infrastructure on hadoop. In: Proceeding of the 2011 Hadoop Summit. Santa Clara (2011) Avery, C.: Giraph: large-scale graph processing infrastructure on hadoop. In: Proceeding of the 2011 Hadoop Summit. Santa Clara (2011)
11.
Zurück zum Zitat Boman, E.G., Bozdag, D., Catalyurek, U., Gebremedhin, A.H., Manne, F.: A scalable parallel graph coloring algorithm for distributed memory computers. In: Euro-Par’05 Proceedings of the 11th International Euro-Par Conference on Parallel Processing, pp. 241–251 (2005). https://doi.org/10.1007/11549468_29 Boman, E.G., Bozdag, D., Catalyurek, U., Gebremedhin, A.H., Manne, F.: A scalable parallel graph coloring algorithm for distributed memory computers. In: Euro-Par’05 Proceedings of the 11th International Euro-Par Conference on Parallel Processing, pp. 241–251 (2005). https://​doi.​org/​10.​1007/​11549468_​29
13.
18.
Zurück zum Zitat Chen, W., Chen, W., Ashar, P., Chen, K., Cheng, B.: Register allocation for intel processor graphics. In: CGO 2018 Proceedings of the 2018 International Symposium on Code Generation and Optimization, pp. 352–364 (2018). https://doi.org/10.1145/3168806 Chen, W., Chen, W., Ashar, P., Chen, K., Cheng, B.: Register allocation for intel processor graphics. In: CGO 2018 Proceedings of the 2018 International Symposium on Code Generation and Optimization, pp. 352–364 (2018). https://​doi.​org/​10.​1145/​3168806
21.
Zurück zum Zitat Deveci, M., Boman, E.G., Devine, K.D., Rajamanickam, S.: Parallel graph coloring for manycore architectures. In: 2016 IEEE International Parallel and Distributed Processing Symposium (IPDPS), IEEE, Chicago, IL, USA, pp. 892–901 (2016). https://doi.org/10.1109/IPDPS.2016.54 Deveci, M., Boman, E.G., Devine, K.D., Rajamanickam, S.: Parallel graph coloring for manycore architectures. In: 2016 IEEE International Parallel and Distributed Processing Symposium (IPDPS), IEEE, Chicago, IL, USA, pp. 892–901 (2016). https://​doi.​org/​10.​1109/​IPDPS.​2016.​54
24.
Zurück zum Zitat Gebremedhin, A.H., Manne, F.: Scalable parallel graph coloring algorithms. Concurrency 12(12), 1131–1146 (2000)CrossRef Gebremedhin, A.H., Manne, F.: Scalable parallel graph coloring algorithms. Concurrency 12(12), 1131–1146 (2000)CrossRef
27.
28.
Zurück zum Zitat Grosset, A.V.P., Zhuand, P., Venkatasubramanian, S., Hall, M.: Evaluating graph coloring on GPUs. In: PPoPP’11 Proceedings of the 16th ACM Symposium on Principles and Practice of Parallel Programming, ACM SIGPLAN Notices-PPoPP’11, vol. 46(8), pp. 297–298 (2011). https://doi.org/10.1145/2038037.1941597 Grosset, A.V.P., Zhuand, P., Venkatasubramanian, S., Hall, M.: Evaluating graph coloring on GPUs. In: PPoPP’11 Proceedings of the 16th ACM Symposium on Principles and Practice of Parallel Programming, ACM SIGPLAN Notices-PPoPP’11, vol. 46(8), pp. 297–298 (2011). https://​doi.​org/​10.​1145/​2038037.​1941597
30.
Zurück zum Zitat Hasenplaugh, W., Kaler, T., Schardl, T.B., Leiserson, C.E.: Ordering heuristics for parallel graph coloring. In: SPAA ’14 Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 166–177 (2014). https://doi.org/10.1145/2612669.2612697 Hasenplaugh, W., Kaler, T., Schardl, T.B., Leiserson, C.E.: Ordering heuristics for parallel graph coloring. In: SPAA ’14 Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures, pp. 166–177 (2014). https://​doi.​org/​10.​1145/​2612669.​2612697
37.
Zurück zum Zitat Kosowski, A., Manuszewski, K.: Classical graph coloring. In: Kubale, M. (ed.) Graph Colorings, chapter 1, pp. 1–20. American Mathematical Society, Providence (2004) Kosowski, A., Manuszewski, K.: Classical graph coloring. In: Kubale, M. (ed.) Graph Colorings, chapter 1, pp. 1–20. American Mathematical Society, Providence (2004)
40.
Zurück zum Zitat Loveless, T., Ott, J., Brisk, P.: A performance-optimizing compiler for cyber-physical digital microfluidic biochips. In: CGO 2020, Proceedings of the 18th ACM/IEEE International Symposium on Code Generation and Optimization, pp. 171–184 (2020). https://doi.org/10.1145/3368826.3377925 Loveless, T., Ott, J., Brisk, P.: A performance-optimizing compiler for cyber-physical digital microfluidic biochips. In: CGO 2020, Proceedings of the 18th ACM/IEEE International Symposium on Code Generation and Optimization, pp. 171–184 (2020). https://​doi.​org/​10.​1145/​3368826.​3377925
43.
Zurück zum Zitat Malewicz, G., Austern, M.H., Bik, A.J.C., Dehnert, J.C., Horn, I., Leiser, N., Czajkowski, G.: Pregel: a system for large-scale graph processing. In: Proceedings of the 2010 ACM SIGMOD International Conference on Management of data, Indiana, USA, pp. 135–146 (2010). https://doi.org/10.1145/1807167.1807184 Malewicz, G., Austern, M.H., Bik, A.J.C., Dehnert, J.C., Horn, I., Leiser, N., Czajkowski, G.: Pregel: a system for large-scale graph processing. In: Proceedings of the 2010 ACM SIGMOD International Conference on Management of data, Indiana, USA, pp. 135–146 (2010). https://​doi.​org/​10.​1145/​1807167.​1807184
47.
60.
Zurück zum Zitat Shukla, A.N., Garg, M.L., Misra, R.: An approach to solve graph coloring problem using linked list. Int. J. Adv. Stud. Sci. Res., 4(2) (2019) Shukla, A.N., Garg, M.L., Misra, R.: An approach to solve graph coloring problem using linked list. Int. J. Adv. Stud. Sci. Res., 4(2) (2019)
62.
64.
Zurück zum Zitat Tziritas, N., Loukopoulos, T., Khan, S.U., Xu, C., Zomaya, A.Y.: A communication-aware energy-efficient graph coloring algorithm for vm placement in clouds. In: 2018 IEEE SmartWorld, Ubiquitous Intelligence & Computing, Advanced & Trusted Computing, Scalable Computing & Communications, Cloud & Big Data Computing, Internet of People and Smart City Innovation (SmartWorld/SCALCOM/UIC/ATC/CBDCom/IOP/SCI), pp. 1684–1691 (2018). https://doi.org/10.1109/SmartWorld.2018.00286 Tziritas, N., Loukopoulos, T., Khan, S.U., Xu, C., Zomaya, A.Y.: A communication-aware energy-efficient graph coloring algorithm for vm placement in clouds. In: 2018 IEEE SmartWorld, Ubiquitous Intelligence & Computing, Advanced & Trusted Computing, Scalable Computing & Communications, Cloud & Big Data Computing, Internet of People and Smart City Innovation (SmartWorld/SCALCOM/UIC/ATC/CBDCom/IOP/SCI), pp. 1684–1691 (2018). https://​doi.​org/​10.​1109/​SmartWorld.​2018.​00286
68.
69.
70.
Zurück zum Zitat Zhaocai, W., Dangweia, W., Xiaoguangb, B., Tunhua, W.: A parallel biological computing algorithm to solve the vertex coloring problem with polynomial time complexity. Journal of Intelligent & Fuzzy Systems, pages 1–11, (2021). https://doi.org/10.3233/JIFS-200025 Zhaocai, W., Dangweia, W., Xiaoguangb, B., Tunhua, W.: A parallel biological computing algorithm to solve the vertex coloring problem with polynomial time complexity. Journal of Intelligent & Fuzzy Systems, pages 1–11, (2021). https://​doi.​org/​10.​3233/​JIFS-200025
Metadaten
Titel
A new distributed graph coloring algorithm for large graphs
verfasst von
Assia Brighen
Hachem Slimani
Abdelmounaam Rezgui
Hamamache Kheddouci
Publikationsdatum
23.03.2023
Verlag
Springer US
Erschienen in
Cluster Computing / Ausgabe 1/2024
Print ISSN: 1386-7857
Elektronische ISSN: 1573-7543
DOI
https://doi.org/10.1007/s10586-023-03988-x

Weitere Artikel der Ausgabe 1/2024

Cluster Computing 1/2024 Zur Ausgabe

Premium Partner