Top Banner
UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU
29

UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Jan 03, 2016

Download

Documents

Colleen Hensley
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDTUDT

Bo Liu11/1/2012

Inspired by Yunhong GU

Page 2: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

OUTLINE

Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT

Page 3: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

What is UDT

UDP-based Data Transfer Protocol

Implemented in Application Layer

Built on top of UDP with reliability control and congestion control

Page 4: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT overview

UDP

Socket API

Applications

Applications

UDT

UDT Socket

Page 5: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Goal of UDT

BDP-Bandwidth Delay Product

Product of a data link's capacity and its end-to-end delay

Equivalent to the maximum amount of data on the network circuit at any given time

Commonly known as a long fat network

Page 6: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Goal of UDT

Effectively utilize a high BDP network

But why do we need UDT?

Page 7: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Three Conditions

Physical condition

networkbandwidth today has been expanded to 10Gb/s with 100Gb/s emerging

Page 8: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Three conditions

Application condition

High-energy physics, astronomy, earth science, and other high performance computing areas

Page 9: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Three conditions

TCP is not suitable for a high BDP network

TCP has been found inefficient as the network bandwidth-delay product (BDP) increases

Page 10: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

TCP's drawback

Congestion control algorithm

Page 11: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

Rate control algorithm

Rate contrl interval

Page 12: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

Rate control algorithm

Slow start is controlled by FLow Control Similar to TCP, but only occurs at the session beginning.

Window based flow control (Flow Control) FC limits the number of unacknowledged packets. FC is triggered on each received ACK.

Page 13: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

Rate control algorithm

(1) Positive ack x←x+α(x) α(x) is non-increasing and it approaches 0 as

x increases, i.e., limx→+∞α(x) = 0

cx xB )log(10)(

Page 14: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

B(Mb/s) a(x)(packets/interval) B<=0.1 0.00067 0.1<B<=1 0.001 1<B<=10 0.01 10<B<=100 0.1

Page 15: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

Page 16: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Congestion control of UDT

Rate Control Algorithm

(2) Negative ACK x←(1-β)·x (0 < β < 1) Decrease

Randomized decrease factor = 1 – (8/9)n

Page 17: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

Data packet

Control packet

Distinguished by the 1st bit (flag bit) of the packet header

Page 18: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

Data packet PCI

0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

0| Packet Sequence Number +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- |FF |O| Message Number +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-|

Time Stamp +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Destination Socket ID +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Page 19: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

Control Packet PCI 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- |1| Type | Reserved +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Additional Info +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Time Stamp +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Destination Socket ID +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- Control Information Field ˜ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-

Page 20: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

Control Packet PCI

8 types of control packets

Page 21: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

TYPE 0x0: Protocol Connection Handshake Additional Info: Undefined Control Info: 1) 32 bits: UDT version 2) 32 bits: initial packet sequence number 3) 32 bits: maximum packet size 4) 32 bits: socket ID

Page 22: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

TYPE 0x2: Acknowledgement (ACK) Control Info: 1) 32 bits: The packet sequence number to which all the previous packets have been received (excluding) 2) 32 bits: RTT (in microseconds) 3) 32 bits: RTT variance 4) 32 bits: Available buffer size (in bytes) 5) 32 bits: Estimated link capacity (in number of packets per second)

Page 23: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

TYPE 0x3: Negative Acknowledgement (NAK)

Additional Info: Undefined Control Info: 1) 32 bits integer array of compressed loss

information

Page 24: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

TYPE 0x5: Shutdown Additional Info: Undefined Control Info: None

Page 25: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

UDT Format

TYPE 0x7: Message Drop Request: Additional Info: Message ID Control Info: 1) 32 bits: First sequence number in the

message 2) 32 bits: Last sequence number in the

message

Page 26: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Composable UDT

TCP-based Protocol TCP variants

UDP-based Protocol UDT

Page 27: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Composable UDT

Easy implementation and deployment of new control algorithms

Easy evaluation of new control algorithms

Application awareness support and dynamic configuration

Page 28: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Reference

http://tools.ietf.org/pdf/draft-gg-udt-03.pdf

Page 29: UDT UDT Bo Liu 11/1/2012 Inspired by Yunhong GU. OUTLINE Goal of UDT Three conditions Congestion control of UDT UDT Format Composable UDT.

Thank you for attending!

Bo Liu 11/1/2012