Cubic: Qian HE (Steve) CS 577 - Prof. Bob Kinicki
Cubic: Qian HE (Steve) CS 577 - Prof. Bob Kinicki
Cubic: Qian HE (Steve) CS 577 - Prof. Bob Kinicki
Qian HE (Steve)
• Prehistory of CUBIC
– Standard TCP
– BIC
• CUBIC
• Conclusion
2
Brief Introduction
3
Why do we need CUBIC-TCP?
• Compares to:
– Standard TCP
– BIC-TCP
4
Standard TCP
• Underutilization of the bandwidth in High-Speed Network
L ink U tilization
Presentation: "Congestion Control on High-Speed Networks”, Injong Rhee, Lisong Xu, Slide 7 6
Why BIC?
• Existing schemes have a severe RTT
unfairness problem
• RTT unfairness for high-speed networks
occurs distinctly with drop tail routers for
flows with large congestion windows where
packet loss can be highly synchronized.
7
BIC
8
Goals of BIC
• Scalability: BIC can scale its bandwidth share to 10 Gbps around 3.5e-8 loss
rates (comparable to HSTCP which reaches 10Gbps at 1e-7).
• RTT fairness: for large windows, BIC’s RTT unfairness is proportional to the
inverse square of the RTT ratio as in AIMD.
• TCP friendliness: BIC achieves bounded TCP fairness for all window sizes.
Around high loss rates where TCP performs well, its TCP friendliness is
comparable to STCP’s.
• Fairness and convergence: compared to HSTCP and STCP, BIC achieves better
bandwidth fairness over both short and long time scales, and faster convergence
to a fair bandwidth share.
9
BIC Algorithm
– Enter recovery
• cwnd = cwnd * 0.5
10
BIC Algorithm
• Recovery
• ACK received
– If cwnd < Wmax
– If cwnd < Wmax
• Wmax = cwnd * (1 – ß / 2)
• cwnd += (Wmax – cwnd) / 2
– Else
– Else
• Wmax = cwnd
• cwnd += cwnd - Wmax
– cwnd *= 1 - ß
Smin <= cwnd
&&
cwnd <=Smax 11
BIC with no lost
Smin
256
224
192
cwnd
160
128 Linear Search
96 Binary Search with Smax and
64 Smin
32 Smax
0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Time (RTT)
12
"Binary Increase Congestion Control (BIC) for Fast Long-Distance Networks", Lisong Xu, Khaled
Harfoush, and Injong Rhee 13
Why CUBIC?
• Window control of BIC is so complex!
Wmax =b ×Wmax
cwnd cannot
window be less than
reduction
1- b t
cwnd =b ×Wmax + 3× ×
– Wmax is the window1+ b RTT
size just before
as
thetolast
keep the growth
window rate
reduction
the same as standard TCP
– Kinisshort
updated
RTTatnetworks.
the time of last lost – β is a constant multiplication decrease
event factor
15
CUBIC window curves with competing flows (NS simulation in a network with 500Mbps and 100ms RTT), C = 0.4, β = 0.8. 16
Window Growth Function
CUBIC
BIC
"CUBIC: A New TCP-Friendly High-Speed TCP Variant", Injong Rhee, and Lisong Xu 17
Stability
"CUBIC: A New TCP-Friendly High-Speed TCP Variant", Injong Rhee, and Lisong Xu 18
Coefficient of Variation (CoV)
• “There is no well-defined metric of stability.”
s
CoV
• “Often the CoV of transmission rates are
=
used to depict stability.”
m
• “For a less satisfactory measure, we plotted
the CoV of throughput.”
"CUBIC: A New TCP-Friendly High-Speed TCP Variant", Injong Rhee, and Lisong Xu 19
CoV - 20% BDP
"CUBIC: A New TCP-Friendly High-Speed TCP Variant", Injong Rhee, and Lisong Xu 20
CoV - 200% BDP
"CUBIC: A New TCP-Friendly High-Speed TCP Variant", Injong Rhee, and Lisong Xu 21
Thanks