Transp Layer2
Transp Layer2
) Layer
no explicit feedback from network congestion inferred from end- routers provide feedback to end systems system observed loss, delay single bit indicating congestion approach taken by TCP (SNA, DECbit, TCP/IP ECN, ATM) explicit rate sender should send at
sent by sender, interspersed with data cells bits in RM cell set by switches (network-assisted) NI bit: no increase in rate (mild congestion) CI bit: congestion indication RM cells returned to sender by receiver, with bits intact
probing for usable bandwidth, until loss occurs additive increase: increase CongWin by 1 MSS every RTT until loss detected multiplicative decrease: cut CongWin in half after loss
c o n g e s tio n w in d o w 2 4 K b y te s
1 6 K b y te s
8 K b y te s
time tim e
rate =
How does sender perceive congestion? loss event = timeout or 3 duplicate acks TCP sender reduces rate (CongWin) after loss event three mechanisms:
Host B
one segm en t
four segm en
ts
time
Refinement
Implementation:
Variable Threshold At loss event, Threshold is set to 1/2 of CongWin just before loss event
Q: When should the exponential increase switch to linear? A: When CongWin gets to 1/2 of its value before timeout.
network capable of delivering some segments timeout indicates a more alarming congestion scenario