[Paper Review] Compression and Sieve: Reducing Communication in Parallel Breadth First Search on Distributed Memory Systems
This paper proposes a communication-optimized parallel BFS for distributed memory systems by combining message compression and a novel sieve technique using a distributed cross-directory. By compressing frontier bitmaps and eliminating redundant messages via the sieve, the approach reduces communication time by 79.0% and achieves 2.2× speedup over the Graph500 baseline on a 6,144-core cluster, reaching 12.1 GTEPS.
For parallel breadth first search (BFS) algorithm on large-scale distributed memory systems, communication often costs significantly more than arithmetic and limits the scalability of the algorithm. In this paper we sufficiently reduce the communication cost in distributed BFS by compressing and sieving the messages. First, we leverage a bitmap compression algorithm to reduce the size of messages before communication. Second, we propose a novel distributed directory algorithm, cross directory, to sieve the redundant data in messages. Experiments on a 6,144-core SMP cluster show our algorithm outperforms the baseline implementation in Graph500 by 2.2 times, reduces its communication time by 79.0%, and achieves a performance rate of 12.1 GTEPS (billion edge visits per second)
Motivation & Objective
- To address the high communication cost that limits scalability in large-scale distributed BFS on shared-memory systems.
- To reduce the size of messages exchanged during BFS traversal, particularly frontier data, to minimize communication overhead.
- To improve performance by optimizing both message format and transmission redundancy in distributed BFS.
- To evaluate the effectiveness of compression and sieve techniques on real-world graph workloads at scale.
Proposed method
- Applying bitmap compression to represent the frontier set, reducing message size before communication.
- Introducing a novel distributed directory called 'cross directory' to detect and eliminate redundant messages before transmission.
- Using a sieve mechanism that leverages the cross directory to filter out duplicate or unnecessary messages across processors.
- Evaluating multiple compression algorithms (e.g., Zlib, bit-level compression) to identify optimal space-time trade-offs for bitmap data.
- Implementing the optimized BFS on a 6,144-core SMP cluster to measure performance and communication reduction.
- Combining compression and sieve techniques in a pipeline: sieve first, then compress, to maximize communication reduction.
Experimental results
Research questions
- RQ1How effective is bitmap-based message compression in reducing communication volume in distributed BFS?
- RQ2To what extent can a distributed sieve mechanism eliminate redundant messages and further reduce communication?
- RQ3What is the combined impact of compression and sieving on end-to-end communication time and performance in large-scale BFS?
- RQ4How do different compression algorithms compare in terms of compression ratio and runtime overhead for BFS frontier data?
- RQ5Can the proposed techniques be effectively combined with existing optimizations like two-dimensional graph partitioning?
Key findings
- The proposed compression technique alone reduces communication time by 52.4% and improves performance by 1.7× over the baseline.
- The sieve technique, using a distributed cross directory, reduces communication time by an additional 55.9%, improving performance by 1.3×.
- The combined compression and sieve approach reduces total communication time by 79.0% compared to the Graph500 baseline.
- The optimized algorithm achieves a performance rate of 12.1 GTEPS (billion edge visits per second) on a 6,144-core cluster.
- Zlib is found to be unsuitable for bitmap compression due to poor compression ratio and high runtime overhead.
- The space-time trade-off analysis shows that bit-level compression offers the best balance for large-scale BFS workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.