Skip to main content
QUICK REVIEW

[Paper Review] Distributing an Exact Algorithm for Maximum Clique: maximising the costup

Ciaran McCreesh, Patrick Prosser|ENLIGHTEN (Jurnal Bimbingan dan Konseling Islam)|Sep 20, 2012
Cryptography and Data SecurityComputer Science26 references48 citations
TL;DR

This paper presents a lightweight, distributed extension of the MC exact algorithm for the maximum clique problem, enabling efficient parallel execution across a cluster of networked machines using minimal code changes. By decomposing the search space into independent subproblems and leveraging SSH and NFS, the approach achieves up to 42.3x speedup on 50 machines, demonstrating a significant costup with low development overhead.

ABSTRACT

We take an existing implementation of an algorithm for the maximum clique problem and modify it so that we can distribute it over an ad-hoc cluster of machines. Our goal was to achieve a significant speedup in performance with minimal development effort, i.e. a maximum costup. We present a simple modification to a state-of-the-art exact algorithm for maximum clique that allows us to distribute it across many machines. An empirical study over large hard benchmarks shows that speedups of an order of magnitude are routine for 25 or more machines.

Motivation & Objective

  • To achieve a high costup—performance gain exceeding cost increase—by distributing an existing exact maximum clique algorithm across a cluster of underutilized machines.
  • To minimize development effort while maximizing performance gains, using only SSH, NFS, and Java, without modifying the underlying algorithm’s core logic.
  • To evaluate the effectiveness of coarse-grained task distribution on hard maximum clique benchmarks, particularly under real-world constraints like network I/O and machine instability.
  • To explore practical trade-offs in distribution granularity, fault tolerance, and performance bottlenecks in ad-hoc cluster environments.

Proposed method

  • The algorithm MC is modified to split the search space into independent subproblems, each assigned to a separate machine via SSH, with results aggregated through a shared NFS-mounted directory.
  • Each worker process runs the original MC algorithm on a distinct subproblem derived from the initial candidate set, using a color-based upper bound to prune the search tree.
  • Tasks are distributed using a random order to reduce contention, and the best clique found so far is read at the start and written at the end of each task to enable global progress propagation.
  • Fault tolerance is achieved via NFS persistence: failed tasks can be re-executed by identifying missing results in the shared results directory.
  • The system uses a two-level decomposition: the first level splits the search space based on initial vertex choices, and the second level further subdivides remaining subproblems for load balancing.
  • Performance is monitored via a shared file for the best clique found, with periodic updates to reduce long-tail delays, though NFS locking limits update frequency.

Experimental results

Research questions

  • RQ1Can a minimal modification to an existing exact maximum clique algorithm achieve substantial speedup when distributed across a network of heterogeneous, non-dedicated machines?
  • RQ2To what extent does the overhead of distributed I/O and network communication limit scalability in a cluster with shared storage and SSH-based task distribution?
  • RQ3How does the choice of task granularity affect load balancing and overall performance, particularly in the presence of long-tail subproblems?
  • RQ4Can the system achieve a meaningful costup—defined as performance gain exceeding cost increase—under real-world constraints like machine downtime and limited shared resources?

Key findings

  • Speedups of up to 42.3x were achieved on the frb35-17-3 instance using 50 machines, with 11 hours of total runtime compared to over 13 days on a single machine.
  • For the frb35-17-1 instance, the distributed system solved the problem in under 7 hours, compared to more than a week on a single machine, demonstrating a significant performance gain.
  • An order-of-magnitude speedup was routinely achieved with 25 or more machines on hard benchmarks, confirming the scalability of the approach.
  • Despite significant I/O and network overhead, the system remained robust to machine failures due to NFS persistence, allowing failed tasks to be restarted with minimal disruption.
  • The long-tail problem persisted in some cases, particularly when a few subproblems dominated runtime, indicating that finer-grained distribution or work-stealing would be needed for further gains.
  • The authors conclude that the approach achieved a strong costup, as the performance gain vastly exceeded the cost of using a large number of underutilized machines over a short period.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.