Kairos: Preemptive Data Center Scheduling Without Runtime Estimates
1
Pamela Delgado, Diego Didona, Florin Dinu and Willy Zwaenepoel
October 11, 2018
Kairos: Preemptive Data Center Scheduling Without Runtime Estimates - - PowerPoint PPT Presentation
Symposium on Cloud Computing (SoCC) Kairos: Preemptive Data Center Scheduling Without Runtime Estimates Pamela Delgado, Diego Didona, Florin Dinu and Willy Zwaenepoel October 11, 2018 1 Kairos Data center scheduling without task runtime
1
October 11, 2018
Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18 2
3 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
4 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
scheduler
5 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
6 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
per-task estimations dual classification no estimations Eagle’16 Hawk’15 Sparrow’13 Apollo’14 Mercury*’15 Borg’15 Tetrisched’16 Firmament’16 Yaq’16 Yarn’13 Do not avoid head-of-line! Depend on runtime estimates
7 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
*Job-aware scheduling in Eagle: Divide and Stick to Your Probes (SoCC’16) ^ Tetrisched: global rescheduling with adaptive plan-ahead in dynamic heterogeneous clusters (Eurosys’16)
8 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
9 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Motivation
10 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Preemption
11 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Architecture
12 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
… Kairos centralized scheduler
Kairos node scheduler
Node j
Kairos node scheduler
Node x
Kairos node scheduler
Node y
Kairos Architecture
13 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
… Kairos centralized scheduler
Kairos node scheduler
Node j
Kairos node scheduler
Node x
Kairos node scheduler
Node y
Kairos Architecture
14 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
… Kairos centralized scheduler
Kairos node scheduler
Node j
Kairos node scheduler
Node x
Kairos node scheduler
Node y
Kairos Architecture
15 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
16 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
*Performance modeling and design of computer systems: queueing theory in action M. Harchol-Balter 2013
17 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Distributed scheduling
Kairos node scheduler Kairos node scheduler Kairos node scheduler
… … … …
18 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
… Kairos centralized scheduler
Kairos node scheduler
Node j
Kairos node scheduler
Node x
Kairos node scheduler
Node y
Kairos Architecture
19 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Centralized scheduling
… Kairos centralized scheduler
Kairos node scheduler
Node j
Kairos node scheduler
Node x
Kairos node scheduler
Node y
? 1
20 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Centralized scheduling
…
Kairos node scheduler
Node j
Kairos node scheduler
Node y
…
21 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Centralized scheduling
Kairos node scheduler
Node j
Kairos node scheduler
Node y
*Minimizing total flow time and total completion time with immediate dispatching. Avrahami et.al. 2003 Multi-layered round robin routing for parallel servers Down et.al. 2006
22 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos
23 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
24 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Evaluation
25 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
20 40 60 80 100 120 2 4 6 8 10 12 14 16 18 20
Kairos Big-C FIFO
26 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
20 40 60 80 100 120 2 4 6 8 10 12 14 16 18 20
Kairos Big-C FIFO
20 40 60 80 100 120 500 1000 1500 2000 2500 3000 3500 4000
Kairos Big-C FIFO
27 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
2X 1.6X 2.3X
20 40 60 80 100 120 500 1000 1500 2000 2500 3000 3500 4000
Kairos Big-C FIFO
28 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
2X 1.6X 2.3X
29 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
0,2 0,4 0,6 0,8 1 1,2 1,4
Kairos/Eagle Cluster load
50th 90th 99th
30 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
0,2 0,4 0,6 0,8 1 1,2 1,4
Kairos/Eagle Cluster load
50th 90th 99th
31 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Evaluation
32 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
33 Kairos: Preemptive Data Center Scheduling Without Runtime Estimates | SoCC’18
Kairos Summary