Documente Academic
Documente Profesional
Documente Cultură
N
E
W
C
H
A
P
T
E
R
Optical fiber
40 Gbps
200000km/s, delay of 5ms every 1000km
!Todays backbone links are optical, DWDMbased, and offer gigabit rates
!Transmission time <<< propagation time
!Duplicating a 10GB database should not be
a problem anymore
1
Beyond TCP
Beyond TCP
Standard TCP
TCP
40 Gbps
0.3Gbps
Beyond TCP
Congestion
collapse was first
observed in 1986
by V. Jacobson.
Congestion control
was added to TCP
(TCP Reno) in
1988.
From Computer Networks, A. Tanenbaum
Beyond TCP
Flow control
Packet Sent
Source Port
Dest. Port
Source Port
Dest. Port
Sequence Number
Sequence Number
Acknowledgment
Acknowledgment
HL/Flags
Window
HL/Flags
Window
D. Checksum
Urgent Pointer
D. Checksum
Urgent Pointer
Options..
Options..
App write
acknowledged
sent
Beyond TCP
Sequence No
Congestion window
doubles every round-trip
time
packet
ack
Time
feedback
Closed-loop control
Beyond TCP
N/2
3N/4.N/2
W
Packets/cycle Throughput =
RTT
3 MTU
2 RTT p
N/2.RTT
!
no loss:
cwnd = cwnd + 1
loss:
cwnd = cwnd*0.5
AIMD
Phase plot
Fairness Line
User 2s
Allocation
x2
x1 =x2
t0
Efficiency Line
x1 +x2=C
Convergence
point
Multiplicative
Decrease preserves
the fairness because
the users allocation
ratio remains the
same
Ex:
x 2 x 2 .b
=
x1 x1 .b
User 1s Allocation x1
Beyond TCP
eam
Pt
C
T
TCP performances
depend on
NEED A
!System parameters
SPECIALIST!
TCP and OS buffer size (in comm. subsys., drivers)
Beyond TCP
10
Time to transmit
3 packets
RTT
TIME
Receiver
Packet #1
Packet #2
Packet #3
Packet #1 Ack.
Packet #2 Ack.
Packet #3 Ack.
Packet #4
Packet #5
Packet #6
Packet #4 Ack.
Packet #5 Ack.
Packet #6 Ack.
11
Beyond TCP
Beyond TCP
12
0 1001011
Transmission
time is small
0010100101010101001010100101101
01010101010100100111110100110111
01010010010010111010101010001010
01010101010101010001110111010
1011010001010011110101011
RTT
Beyond TCP
Need lots of
memory for
buffers!
Beyond TCP
14
15
Beyond TCP
16
17
Beyond TCP
Beyond TCP
18
From S. Floyd
Beyond TCP
TCP connection
Seg 2
Seg 3
Seg n-1
Seg n
TCP connection
10 Gbps link
19
Beyond TCP
20
http://www-iepm.slac.stanford.edu/monitoring/bulk/window-vs-streams.html
Multiple streams
!No/few modifications to transport
protocols (i.e. TCP)
!Parallel socket libraries
!GridFTP (http://www.globus.org/datagrid/gridftp.html)
!bbFTP (http://doc.in2p3.fr/bbftp/)
Beyond TCP
21
Beyond TCP
22
HS-TCP
S-TCP
TSUNAMI
23
Beyond TCP
P
----0.02
0.0002
0.000002
0.00000002
0.0000000002
Beyond TCP
From draft-ietf-tsvwg-highspeed-01.txt
24
Congestion Window W
------------------12
38
120
379
1200
3795
12000
37948
120000
From draft-ietf-tsvwg-highspeed-01.txt
Packet Drop Rate P
-----------------10^-2
10^-3
10^-4
10^-5
10^-6
10^-7
10^-8
10^-9
10^-10
Beyond TCP
Congestion Window W
------------------12
38
263
1795
12279
83981
574356
3928088
26864653
25
See it in image
Beyond TCP
26
no loss:
cwnd = cwnd + 1
loss:
!HSTCP-AIMD
!Link a & b to congestion window size
!a = a(cwnd), b=b(cwnd)
27
Beyond TCP
No loss:
cwnd=cwnd+a
Loss:
cwnd=cwnd*b
Beyond TCP
28
XCP [Katabi02]
! XCP is a router-assisted solution, generalized the ECN
concepts (FR, TCP-ECN)
! XCP routers can compute the available bandwidth by
monitoring the input rate and the output rate
! Feedback is sent back to the source in special fields of the
packet header
Q
H_feedback
source
Input rate: Ir
EC
FC
Output rate: Or
feedback=!.rtt.(Or-Ir)-"Q
!=0.4, "=0.226
Q: persistent queue size 29
Beyond TCP
XCP in action
Feedback value represents a window increment/decrement
H_cwnd=200
H_rtt=100ms
H_feedback=0
source
Ir=250Mbps
cwnd=200
cwnd=194
H_cwnd=200
H_rtt=100ms
H_feedback=-6
Beyond TCP
Or=100Mbps
feedback=!.rtt.(Or-Ir)-"Q
!=0.4, "=0.226
Q: persistent queue size
Case without "Q contribution
Or-Ir=100-250=-150
feedback=-6
30
XCP
31
Beyond TCP
XCP-r [Pacheco&Pham05]
A more robust version of XCP
10 flows sharing
a 1Gbps link
Beyond TCP
32
XCP-r performance
Amount of data transfered in 50s, 10 flows, 1Gbps link, 200ms RTT
33
Beyond TCP
XCP-r fairness
TCP and HSTCP
are not really
fair...
Beyond TCP
34
!New protocol
!Fairness issues?
!Deployment issues?
!Still too early to know the side effects
35
Beyond TCP
http://www-lce.eng.cam.ac.uk/ctk21/scalable/
!FAST
http://netlab.caltech.edu/FAST/
!XCP
http://www.ana.lcs.mit.edu/dina/XCP/
http://www.isi.edu/isi-xcp/#software
Beyond TCP
36
Web100 project
!www.web100.org
! The Web100 project will provide the
software and tools necessary for endhosts to automatically and
transparently achieve high bandwidth
data rates (100 Mbps) over the high
performance research networks
37