Abstract
Efficiently allocating resources in Grid computing environments requires satisfying both node-level constraints (CPU, RAM) and link-level constraints (network bandwidth). This problem, known as topology-aware coallocation, is NP-hard. We present a fast heuristic algorithm, the CTAAP-Solver, which leverages machine clustering and a three-step matching process to achieve near-optimal allocations with significantly reduced computational overhead compared to exact integer programming methods.
Introduction
Modern scientific simulations, such as agent-based models or molecular dynamics, require intense communication between specific tasks. To run these efficiently on a Computational Grid, a scheduler must perform coallocation: finding a set of machines that meet task requirements while supporting the necessary network topology. Mathematically, this is a graph matching problem. In large-scale Grids, traditional exact algorithms are computationally prohibitive. We propose a solution that balances speed and strict constraint adherence.
Methodology: The CTAAP-Solver
The core of our approach is the Clustered Topology-Aware Coallocation Problem (CTAAP). By grouping identical machines into "homogeneous clusters," we significantly reduce the search space.
The CTAAP-Solver operates in three distinct phases:
- Inexact Graph Matching: Utilizing a modified Graduated Assignment Graph Matching (GAGM) algorithm, we generate a profitability matrix representing the likelihood of assigning tasks to resource clusters.
- Weighted Bipartite Matching: We treat the problem as a bipartite matching between tasks and clusters, using weights from the previous step to satisfy CPU and memory constraints.
- Iterative Cleanup: We identify and remove allocations that violate network connectivity constraints, looping back to the matching phase until a valid configuration is found.
Evaluation and Results
We evaluated the CTAAP-Solver using synthetic request graphs (50 nodes) and offer graphs (5 clusters). Results were compared against optimal solutions from Integer Programming solvers (GLPK and CBC).
Key Findings
- Accuracy: The solver achieved match sizes within 4% to 17% of the theoretical optimum in high-availability scenarios.
- Performance: Unlike exhaustive search methods, the CTAAP-Solver's runtime scales polynomially with the number of clusters. It can handle request graphs of up to 1,000 nodes in approximately 400 seconds, whereas traditional solvers exhibit exponential runtime growth.
- Scalability: The algorithm's complexity remains manageable as the number of nodes increases, making it suitable for real-time scheduling in large-scale Grids.
Conclusion
The CTAAP-Solver provides a scalable and efficient heuristic for resource coallocation in Grid environments. By simplifying the problem through clustering and employing a multi-stage matching process, it ensures valid allocations that respect complex network topologies without the prohibitive costs of exact solvers. Future work will explore the application of this model in highly heterogeneous or dynamic environments.
Summary updated