sponsors
usenix conference policies
You are here
On-demand, Spot, or Both: Dynamic Resource Allocation for Executing Batch Jobs in the Cloud
Ishai Menache, Microsoft Research; Ohad Shamir, Weizmann Institute; Navendu Jain, Microsoft Research
Cloud computing provides an attractive computing paradigm in which computational resources are rented on-demand to users with zero capital and maintenance costs. Cloud providers offer different pricing options to meet computing requirements of a wide variety of applications. An attractive option for batch computing is spot-instances, which allows users to place bids for spare computing instances and rent them at a (often) substantially lower price compared to the fixed on-demand price. However, this raises three main challenges for users: how many instances to rent at any time? what type (on-demand, spot, or both)? and what bid value to use for spot instances? In particular, renting on-demand risks high costs while renting spot instances risks job interruption and delayed completion when the spot market price exceeds the bid. This paper introduces an online learning algorithm for resource allocation to address this fundamental tradeoff between computation cost and performance. Our algorithm dynamically adapts resource allocation by learning from its performance on prior job executions while incorporating history of spot prices and workload characteristics. We provide theoretical bounds on its performance and prove that the average regret of our approach (compared to the best policy in hindsight) vanishes to zero with time. Evaluation on traces from a large datacenter cluster shows that our algorithm outperforms greedy allocation heuristics and quickly converges to a small set of best performing policies.
Open Access Media
USENIX is committed to Open Access to the research presented at our events. Papers and proceedings are freely available to everyone once the event begins. Any video, audio, and/or slides that are posted after the event are also free and open to everyone. Support USENIX and our commitment to Open Access.
author = {Ishai Menache and Ohad Shamir and Navendu Jain},
title = {On-demand, Spot, or Both: Dynamic Resource Allocation for Executing Batch Jobs in the Cloud},
booktitle = {11th International Conference on Autonomic Computing (ICAC 14)},
year = {2014},
isbn = {978-1-931971-11-9},
address = {Philadelphia, PA},
pages = {177--187},
url = {https://www.usenix.org/conference/icac14/technical-sessions/presentation/menache},
publisher = {USENIX Association},
month = jun
}
connect with us