[Paper Review] Scheduling Bag-of-Tasks in Clouds using Spot and Burstable Virtual Machines
This paper proposes Burst-HADS, a dynamic scheduler that combines spot and burstable virtual machines to minimize cost and execution time for bag-of-tasks applications in clouds. By using ILS-based task scheduling and dynamic work-stealing or task migration upon spot VM hibernation, Burst-HADS reduces monetary cost by 30.96% and makespan by 25.87% on average compared to on-demand-only scheduling, while meeting strict deadlines even under high hibernation rates.
Leading Cloud providers offer several types of Virtual Machines (VMs) in diverse contract models, with different guarantees in terms of availability and reliability. Among them, the most popular contract models are the on-demand and the spot models. In the former, on-demand VMs are allocated for a fixed cost per time unit, and their availability is ensured during the whole execution. On the other hand, in the spot market, VMs are offered with a huge discount when compared to the on-demand VMs, but their availability fluctuates according to the cloud's current demand that can terminate or hibernate a spot VM at any time. Furthermore, in order to cope with workload variations, cloud providers have also introduced the concept of burstable VMs which are able to burst up their respective baseline CPU performance during a limited period of time with an up to 20% discount when compared to an equivalent non-burstable on-demand VMs. In the current work, we present the Burst Hibernation-Aware Dynamic Scheduler (Burst-HADS), a framework that schedules and executes tasks of Bag-of-Tasks applications with deadline constraints by exploiting spot and on-demand burstable VMs, aiming at minimizing both the monetary cost and the execution time. Based on ILS metaheuristics, Burst-HADS defines an initial scheduling map of tasks to VMs which can then be dynamically altered by migrating tasks of a hibernated spot VM or by performing work-stealing when VMs become idle. Performance results on Amazon EC2 cloud with different applications show that, when compared to a solution that uses only regular on-demand instances, Burst-HADS reduces the monetary cost of the execution and meet the application deadline even in scenarios with high spot hibernation rates. It also reduces the total execution time when compared to a solution that uses only spot and non-burstable on-demand instances.
Motivation & Objective
- To address the trade-off between minimizing monetary cost and meeting execution deadlines in cloud-based bag-of-tasks workloads.
- To reduce reliance on expensive on-demand VMs by integrating low-cost spot VMs and cost-efficient burstable VMs.
- To design a dynamic scheduler that adapts to spot VM hibernation events without violating application deadlines.
- To minimize both execution time (makespan) and monetary cost through intelligent task migration and workload balancing.
- To evaluate the framework in real-world AWS EC2 scenarios with varying hibernation and resume rates.
Proposed method
- Burst-HADS uses an Iterated Local Search (ILS) metaheuristic to generate an initial task-to-VM mapping for bag-of-tasks applications.
- The scheduler dynamically migrates tasks from hibernated spot VMs to available on-demand or burstable VMs to prevent execution delays.
- It employs work-stealing mechanisms to redistribute idle tasks across active VMs, improving load balancing and reducing makespan.
- Burstable VMs are utilized in burst mode to handle workload spikes, leveraging accumulated CPU credits for performance beyond baseline.
- The framework delays migration until necessary to minimize overhead and maximize cost savings, prioritizing cost efficiency.
- It monitors spot VM hibernation and resume patterns to make informed scheduling decisions, minimizing new VM launches.
Experimental results
Research questions
- RQ1Can a hybrid scheduler using spot and burstable VMs reduce monetary cost while meeting strict deadline constraints for bag-of-tasks applications?
- RQ2How does dynamic task migration and work-stealing mitigate the impact of spot VM hibernation on execution time and cost?
- RQ3What is the trade-off between cost savings and makespan increase when using burstable VMs alongside spot VMs in high-hibernation scenarios?
- RQ4How does the performance of Burst-HADS compare to a baseline on-demand-only scheduler in terms of cost and makespan?
- RQ5To what extent does the use of burstable VMs improve makespan reduction compared to a scheduler using only spot and on-demand VMs?
Key findings
- Burst-HADS reduced monetary cost by an average of 41.80% compared to on-demand-only scheduling, with a worst-case reduction of 30.96% in scenario $sc_2$.
- The framework reduced makespan by an average of 25.87% across all scenarios compared to the ILS-on-demand baseline, with a maximum reduction of 40.10% for small jobs.
- Despite migration overhead, the average makespan increase across all executions was only 1.92% compared to the on-demand baseline.
- In high-hibernation scenarios ($sc_2$ with $k_h=5$ and $k_r=0$), Burst-HADS outperformed the HADS framework by reducing cost by 30.96% versus 26.66%.
- Small jobs like J60 benefited more from burstable VMs due to higher idle time and more frequent work-stealing, achieving up to 40.10% makespan reduction.
- The scheduler maintained deadline compliance in all scenarios, even under high hibernation rates, by deferring migration and leveraging burstable VMs for performance bursts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.