Abstract

In modern parallel systems and distributed applications, a large number of cores work synergistically for parallel jobs. Properly dispatching tasks among CPU cores is crucial to reduce response time of jobs, which provides benefit for both system performance and energy saving. In this paper, a hybrid scheme of task scheduling and load balancing named DeMS is proposed. DeMS consists of three algorithms, including On-Demand scheduling, Querying and Migrating Task (QMT) and Staged Task Migration (STM). The On-Demand scheduling algorithm is proposed to decrease the communication overhead between a master and slaves. Slaves have an initiative state declaring mechanism and the master can find out a slave with low workload to dispatch a new task. QTM is designed to keep the workload balanced. A slave with high workload can be detected by the master which will assign the last dispatched task to another idle slave. Besides, the dependencies among tasks are considered and STM is proposed to schedule the tasks associated with each other. A job is divided into stages according to tasks׳ execution sequence and Data Shuffling is used to represent interactions between stages. Finally, a testbed is developed to evaluate DeMS and we conduct a series of experiments on 10,000 virtual slaves. Simulation results demonstrate that our proposed On-Demand scheduling algorithm can significantly reduce the response time of parallel jobs. Meanwhile, QMT and STM are effective for independent-task and dependent-task schedulings, respectively.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.