Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:2410.19119

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:2410.19119 (cs)
[Submitted on 24 Oct 2024]

Title:Tera-Scale Multilevel Graph Partitioning

Authors:Daniel Salwasser, Daniel Seemaier, Lars Gottesbüren, Peter Sanders
View a PDF of the paper titled Tera-Scale Multilevel Graph Partitioning, by Daniel Salwasser and 3 other authors
View PDF HTML (experimental)
Abstract:We present TeraPart, a memory-efficient multilevel graph partitioning method that is designed to scale to extremely large graphs.
In balanced graph partitioning, the goal is to divide the vertices into $k$ blocks with balanced size while cutting as few edges as possible.
Due to its NP-hard nature, heuristics are prevalent in this field, with the multilevel framework as the state-of-the-art method.
Recent work has seen tremendous progress in speeding up partitioning algorithms through parallelism. The current obstacle in scaling to larger graphs is the high memory usage due to auxiliary data structures and storing the graph itself in memory.
In this paper, we present and study several optimizations to significantly reduce their memory footprint.
We devise parallel label propagation clustering and graph contraction algorithms that use $O(n)$ auxiliary space instead of $O(np)$, where $p$ is the number of processors.
Moreover, we employ an existing compressed graph representation that enables iterating over a neighborhood by on-the-fly decoding at speeds close to the uncompressed graph.
Combining these optimizations yields up to a 16-fold reduction in peak memory, while retaining the same solution quality and similar speed.
This configuration can partition a graph with one trillion edges in under 8 minutes \emph{on a single machine} using around 900\,GiB of RAM.
This is the first work to employ the multilevel framework at this scale, which is vital to achieving low edge cuts.
Moreover, our distributed memory implementation handles graphs of up to 16 trillion edges on 128 machines with 256\,GiB each in just under 10 minutes.
Finally, we present a version of shared-memory parallel FM local search that uses $O(m)$ space instead of $O(nk)$, reducing peak memory by factor 5.8 on medium-sized graphs without affecting running time.
Subjects: Data Structures and Algorithms (cs.DS)
Cite as: arXiv:2410.19119 [cs.DS]
  (or arXiv:2410.19119v1 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.2410.19119
arXiv-issued DOI via DataCite

Submission history

From: Daniel Seemaier [view email]
[v1] Thu, 24 Oct 2024 19:43:17 UTC (1,097 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Tera-Scale Multilevel Graph Partitioning, by Daniel Salwasser and 3 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
license icon view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2024-10
Change to browse by:
cs

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack