Académique Documents
Professionnel Documents
Culture Documents
(AccECN)
draft-kuehlewind-tcpm-accurate-ecn-03
Bob Briscoe, BT
Richard Scheffenegger, NetApp
Mirja Khlewind, Stuttgart Uni
IETF-90, Jul14
Bob Briscoes work is part-funded by the European Community
under its Seventh Framework Programme through the
Reducing Internet Transport Latency (RITE) project (ICT-317700)
and through the Trilogy 2 project (ICT-317756
Purpose of Talk
Introduce latest AccECN protocol spec
awesome protocol design (IMHO)
satisfies numerous conflicting requirements
except not as simple as wed have liked
1
2
3
01234567890123456789012345678901
{0 | 1}
ACK with
ECE=1
ACK every
ACK every
CE=0
CE=1
m pkts
m pkts
with ECE=0
with ECE=1
ACK with
ECE=0
3
a new problem:
feedback of bleached ECN
erasure of ECN field to Not-ECT (00) in transit
RFC3168 notes that this could happen
and says it would be very bad
but doesnt say what to do about it
Protocol DesignI I
Res- N C E U A P R S F
erved S W C R C S S Y I
R E G K H T N N
Checksum
Window
Non-Urgent (if URG == 0)
TCP Options...
* Perhaps because earlier Windows versions did not zero the Urgent Pointer when URG=0
Protocol DesignII II
2 complementary signals
After successful capability negotiation
III
Protocol DesignIIIIII
Capability Negotiation
AccECN is a change to TCP wire protocol
only to be used if both ends support it
SYN
N
S
C
W
R
=
1
=
1
E
C
E
=
1
SYN/ACK
N
S
=
0
C
W
R
=
1
E
C
E
=
0
IV
Protocol Design IV
ACE
CE
(base
4)
000
001
010
011
...
Data
Offset
Reserved
ACE
U A P R S F
R C S S Y I
G K H T N N
...
ECT(1
)
(base
3)
NotECT
(base
1)
Top-ACE
100
101
V
Protocol Design V
ESQ
0
1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
RL1
RL2
SP
MK1
MK2
next RL1
Top-ACE
MK1
RL2 = 2
RL1 = 5
Examples
VI
9
AccEC
N
DCTCP
UrgPtr
AccEC AccEC
N
N
TCP
essent
opt
ial
Classic
ECN
ECN
Nonce
Resilience
Timeliness
Integrity
+*
+*
+*
+*
Accuracy
Ordering
Complexity
++
Overhead
++
++
Compatibility
10
Res- N C E U A P R S F
erved S W C R C S S Y I
R E G K H T N N
Checksum
Window
Urgent Pointer
TCP Options...
Kind = 0xKK
Length = 4
Supplementary AccECN
TCP Options...
11
x?
ESQ
Top-ACE
1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
D
A
C
ESQ
Top-ACE
AccE
CN
UrgPtr
Resilience
Timeliness
Integrity
Accuracy
Ordering
Complexity
Overhead
Compatibilit
y
Q&A
spare slides
VI
Protocol Design VI
Examples
0
1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
ESQ
Top-ACE
0
1
0 1 2 3 4 5 6 7 8 9 0 1
ACE
RL1
RL2
SP
MK1
a)
1 0 0 0 0 C 0 0 0 0 0
b)
0 0 C C C
c)
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
d)
C 0 0 0 0 C
e)
N N
[0]
17
Clas
sic
ECN
ECN
Non
ce
DC
TC
P
AccE
CN
UrgPtr
AccE
CN
TCP
opt
AccEC
N
essent
ial
Resilience
Timeliness
Integrity
+*
+*
+*
+*
Accuracy
Ordering
Complexit
y
++
Overhead
++
++
Requirem
ent
Protocol Features
detailed explanations
Resilience
DCTCP confused by ACK loss
Timeliness
Classic ECN: only timely once per RTT
DCTCP is always 1 transition behind
Integrity
Accuracy
DCTCP lack of resilience impacts accuracy
Ordering
AccECN essential is the fall-back when a middlebox clears the sequence field
Complexity
Hard to quantify
Overhead
ECN Nonce marked down because it consumes the last ECN-IP codepoint
AccECN Urg-Ptr marked down because it prevents others using the Urgent Pointer
Compatibility
18