Abstract Grid computing systems often require extensive configuration and specialized expertise, creating a barrier for researchers with medium-scale computational needs. This paper introduces a lightweight, ad-hoc grid computing framework designed for rapid deployment in small-to-medium networks. By minimizing overhead associated with enterprise security and complex file transfers, the framework offers a "plug-and-play" solution. Central to the system is the "Segmented Sympathy" scheduling algorithm, which optimizes task allocation in heterogeneous environments. Evaluation against standard genetic algorithms shows a 160% improvement in scheduling speed and a significant reduction in total makespan.
1. Introduction
Traditional grid computing middleware is typically designed for massive, multi-institutional projects. However, many engineering and research tasks fall into a "medium-scale" category—problems that exceed the capacity of a single workstation but do not justify the weeks of configuration required for standard grid tools. This paper addresses the gap for a low-overhead, easy-to-deploy framework that can transform a local cluster of standard hardware into a functional grid "out-of-the-box."
2. Framework Architecture
The proposed framework is structured around three primary entities: the User, a Supervisor Node, and multiple Worker Nodes. The system's logic is defined by a Problem Solving Schema (PSS), an XML-based document that specifies tasks, dependencies, and priorities.
The workflow adopts a Map-Reduce-inspired pattern. Users decompose problems into independent tasks (Map) and provide a Result Compilation Program (RCP) to aggregate outputs (Reduce). A key feature is the Execution Monitor Program (EMP), which enables dynamic control by allowing the supervisor to pause or modify execution based on intermediate results. To ensure non-blocking operation, both supervisor and workers utilize a multi-threaded architecture managing heartbeats, coordination, and file transfers concurrently.
3. The Segmented Sympathy Scheduling Algorithm
The framework's primary technical innovation is its scheduling mechanism, which utilizes a Genetic Algorithm (GA) seeded with a novel heuristic called Segmented Sympathy. This heuristic uses a sympathy metric ($s_i$) calculated as the product of the mean expected completion time ($E(c_i)$) and its variance ($V(c_i)$) across all available machines.
The "Segmented Sympathy" approach prioritizes tasks that exhibit high variance in performance across different hardware. By identifying tasks that are highly sensitive to specific node capabilities, the algorithm ensures that "picky" tasks are assigned to optimal nodes, while more flexible tasks occupy the remaining resources. This prevents slow nodes from becoming bottlenecks for specialized tasks.
4. Evaluation and Results
The framework was evaluated using Expected Time to Compute (ETC) matrices, which are standard benchmarks for simulating task and machine heterogeneity in scheduling research. The proposed algorithm was compared against standard GA implementations.
Key findings include:
- Scheduling Efficiency: The Segmented Sympathy-seeded GA is approximately 160% faster at generating schedules than standard GA approaches.
- Makespan Reduction: The total time to complete all tasks (makespan) improved by an average of 3.42%, with peak improvements reaching 8.34%.
- Ease of Deployment: The system demonstrated "out-of-the-box" functionality on standard Linux environments with zero external dependencies, validating its design for ad-hoc use.
5. Discussion and Conclusion
While the framework provides significant performance and deployment advantages in local, trusted networks, it has limitations. The omission of complex security layers, while beneficial for speed, necessitates deployment in secure environments. Additionally, the single-supervisor model may present a bottleneck as the network scales.
Future research will focus on developing a "Grid Manager" to coordinate multiple supervisors and integrating lightweight authentication for unsecured networks. Despite these limitations, the framework offers a highly adaptable, language-agnostic solution for diverse engineering teams requiring rapid grid deployment.
Summary updated