Cooperative Job Scheduling and Data Allocation in Data-Intensive Parallel Computing Clusters
Haoyu Wang, Guoxin Liu, Haiying Shen · IEEE Transactions on Cloud Computing · 2022
In data-intensive parallel computing clusters, it is important to provide deadline-guaranteed service to jobs while minimizing resource usage (e.g., network bandwidth and energy). Under the current computing framework (that first allocates data and then schedules jobs), in a busy cluster with many jobs, it is difficult to achieve high data locality (hence low bandwidth consumption), deadline guarantee, and high energy savings simultaneously. We model the problem to simultaneously achieve these three objectives using integer programming. Due to the NP-hardness of the problem, we propose a heuristic Cooperative job Scheduling and data Allocation method (CSA).CSAnovelly reverses the order of data allocation and job scheduling in the current computing framework. Job-scheduling-first enablesCSAto proactively consolidate tasks with more common requested data to the same server when conducting deadline-aware scheduling, and also consolidate the tasks to as few servers as possible to maximize energy savings. This facilitates the subsequent data allocation step to allocate a data block to the server that hosts most of this data's requester tasks, thus maximally enhancing data locality. To achieve the tradeoff between data locality and energy savings with specified weights,CSAhas a cooperative recursive refinement process that recursively adjusts the job schedule and data allocation schedule. We further propose two enhancement algorithms (i.e., minimum k-cut data reallocation algorithm and bipartite based task reassignment algorithm) to further improve the performance ofCSAthrough additional data reallocation and task reassignment, respectively. Trace-driven experiments in the simulation and the real cluster show thatCSAoutperforms other schedulers in supplying deadline-guarantee and resource-efficient services and the effectiveness of each enhancement. Also, the enhancement algorithms are effective in improvingCSA.