Accurate Latency-based Congestion Feedback for Datacenters
Changhyun Lee
with Chunjong Park, Keon Jang*, Sue Moon, and Dongsu Han KAIST *Intel Labs USENIX Annual Technical Conference (ATC) July 10, 2015
Accurate Latency-based Congestion Feedback for Datacenters - - PowerPoint PPT Presentation
Accurate Latency-based Congestion Feedback for Datacenters Changhyun Lee with Chunjong Park, Keon Jang*, Sue Moon, and Dongsu Han KAIST *Intel Labs USENIX Annual Technical Conference (ATC) July 10, 2015 Congestion control? Again???
with Chunjong Park, Keon Jang*, Sue Moon, and Dongsu Han KAIST *Intel Labs USENIX Annual Technical Conference (ATC) July 10, 2015
2
Congestion feedback Reaction Control algorithm Network
3
*Cracking latency in cloud, http://www.datacenterdynamics.com/
4
1 2 3 1 2 3 1 packet marked congestion probability: 33% 2 packets marked congestion probability: 66%
5
6
Datacenter Wide-area Link speed 10 Gbps 100 Mbps Transmission delay 1.2 μs 120 μs Queueing delay (10 pkts) 12 μs 1.2 ms
7
10Gbps (TCP)
Sender Receiver
8
710μs = 592 MTU packets at 10Gbps
9
Refer to our paper
10
NIC Driver Network stack Application
Timestamping
NIC Driver Network stack Application
Sender Receiver
Measured RTT = ACK TS – Data TS
Data SENT TS ACK RCVD TS
11
NIC SoftNIC Network stack Application
Timestamping
NIC SoftNIC Network stack Application
Sender Receiver
Measured RTT = ACK TS – Data TS
Data SENT TS ACK RCVD TS
* SoftNIC: A Software NIC to Augment Hardware, Sangjin Han, Keon Jang, Shoumik Palkar, Dongsu Han, and Sylvia Ratnasamy (Technical Report, UCB)
12
NIC SoftNIC Network stack Application
Timestamping
NIC SoftNIC Network stack Application
Sender Receiver
Measured RTT = ACK TS – Data TS
Data SENT TS ACK RCVD TS
13
NIC SoftNIC Network stack Application
Timestamping
NIC SoftNIC Network stack Application
Sender Receiver Timestamping
Measured RTT = (ACK RCVD TS – Data SENT TS) – (ACK SENT TS – Data RCVD TS)
Data SENT TS Data RCVD TS ACK SENT TS ACK RCVD TS
14
NIC Driver Network stack Application
Timestamping Sender
D1 D2 D3 NIC Driver Network stack Application
Receiver
15
NIC SoftNIC Network stack Application D1 D2 D3 D4 D5 D6 Queue
Timestamping
not when sending/receiving packets on the wire
16
17
SW Best HW Best
18
Switch Queue One 1500 byte packet in 1G switch queue = 12us increase in RTT
19
Sender 1 Receiver Sender 2
1Gbps (TCP) 1500B periodically
20
21
22
Q: queueing delay V: normalizer
23
24
CWND=20+1 CWND=20+1 CWND=20+1
How much should I decrease?
How much congestion am “I” responsible for?
*Refer to our paper for detailed derivation
25
26
27
Sender 1 Receiver Sender 2
1G/10G
28
29
30
C C C C C C C C A A T T T T
31
0KB - 10KB 10MB - 2.6x faster 6.0x faster 1.2x slower 1.1x slower
32