6.888 Lecture 5: Flow Scheduling
Mohammad Alizadeh
Spring 2016
1
6.888 Lecture 5: Flow Scheduling Mohammad Alizadeh Spring 2016 1 - - PowerPoint PPT Presentation
6.888 Lecture 5: Flow Scheduling Mohammad Alizadeh Spring 2016 1 Datacenter Transport Goal: Complete flows quickly / meet deadlines Short flows Low Latency (e.g., query, coordina1on) Large flows High Throughput (e.g., data update,
1
2
3
4
4
Front end Server Aggregator Aggregator Aggregator
… …
Aggregator Worker
…
Worker Worker
…
Worker Worker
5
H1 H2 H3 H4 H5 H6 H7 H8 H9 H1 H2 H3 H4 H5 H6 H7 H8 H9
6
H1 H2 H3 H4 H5 H6 H7 H8 H9 H1 H2 H3 H4 H5 H6 H7 H8 H9
7
8
Flow A Size Flow B Flow C 1 2 3
A B B C C C ² Adapted from slide by Chi-Yao Hong (UIUC)
9
A B C 3 B C 5 6 C
Time Throughput
1 A B B C C C
Time Throughput
1 3 B A 1 6 C
² Adapted from slide by Chi-Yao Hong (UIUC)
1 1 2 2 3 3 1 1 2 2 3 3
10
11
12
13
criticality rate = 10 Packet hdr 5
Switch preferentially allocates bandwidth to critical flows
14
rate = 10 Packet hdr 5
15
16
Packet hdr
criJcality rate = 10 pauseby = X
17
18
B A C B A C
Time
1
Throughput 2 RTTs Start next set of flows
Time
1
Throughput increased queue
21
RCP TCP Mean flow compleJon Jme Omniscient scheduler controls with zero control feedback delay [Normalized to a lower bound] PDQ w/o Early Start PDQ
23
24
AssumpJon: heavy-tailed flow distribuJon
25
26
– EssenJally unlimited prioriJes – Thought to be difficult in hardware
numbers – Binary comparator tree: 10 clock cycles – Current ASICs: clock ~ 1ns
27
– IniJal window larger than BDP
– Fixed RTO at small mulJple of round-trip Jme
– Window increase same as TCP (slow start, congesJon avoidance, …)
– Probe mode sends min. size packets unJl first ACK
28
29
30
31
1 2 3 4 5 6 7 8 9 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 FCT (normalized to op1mal in idle fabric) Load Ideal pFabric PDQ DCTCP TCP-DropTail
32
1 2 3 4 5 6 7 8 9 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Normalized FCT Load Ideal pFabric PDQ DCTCP TCP-DropTail 1 2 3 4 5 6 7 8 9 10 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Normalized FCT Load
0.2 0.4 0.6 0.8 5 10 15 20 25 Load Normalized FCT TCP−DropTail DCTCP PDQ pFabric Ideal
33
34
35
36