Preemptive and Low Latency Datacenter Scheduling via Lightweight Containers
- 5 December 2019
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Parallel and Distributed Systems
- Vol. 31 (12) , 2749-2762
Abstract
Datacenters are evolving to host heterogeneous workloads on shared clusters to reduce the operational cost and achieve higher resource utilization. However, it is challenging to schedule heterogeneous workloads with diverse resource requirements and QoS constraints. On one hand, latency-critical jobs need to be scheduled as soon as they are submitted to avoid any queuing delays. On the other hand, best-effort long jobs should be allowed to occupy the cluster when there are idle resources to improve cluster utilization. The challenge lies in how to minimize the queuing delays of short jobs while maximizing cluster utilization. In this article, we propose and develop BIG-C, a container-based resource management framework for data-intensive cluster computing. The key design is to leverage lightweight virtualization, a.k.a, containers, to make tasks preemptable in cluster scheduling. We devise two types of preemption strategies: immediate and graceful preemptions and show their effectiveness and tradeoffs with loosely-coupled MapReduce workloads as well as iterative, in-memory Spark workloads. Based on the mechanisms for task preemption, we further develop job-level and task-level preemptive policies as well as a preemptive fair share cluster scheduler. Our implementation on Yarn and evaluation with synthetic and production workloads show that low job latency and high resource utilization can be both attained when scheduling heterogeneous workloads on a contended cluster.Keywords
Funding Information
- National Science Foundation (SHF-1816850, CNS-1422119)
This publication has 23 references indexed in Scilit:
- OS-Augmented Oversubscription of Opportunistic Memory with a User-Assisted OOM Killer2019
- Efficient queue management for cluster scheduling2016
- Improving Preemptive Scheduling with Application-Transparent Checkpointing in Shared Clusters2015
- Quasar2014
- Naiad2013
- Sparrow2013
- Sailfish2012
- Bubble-Up2011
- Delay scheduling2010
- The HiBench benchmark suite: Characterization of the MapReduce-based data analysis2010