This preview shows page 114 - 124 out of 157 pages.
Congestion ControlImportant notes:–theretransmissionof theLostordelayedPacketsonlytreatsone symptom of thenetwork congestion,however:–the retransmissiondoes not treat the actual causeof thenetwork congestion–Therefore:» we have tofind a mechanismto control the congestion inthe network» Also,Fairnessshould be applied to all links in thenetwork to enhance the congestion control
When a connection slows down,probablydue to congestion -how it will affect other connections?Ifnkconnections share a congested linkkwith capacityRk, thento ensure fairness each connection should receiver=Rk/nkof thetotal bandwidth–split the total Bandwidth fairly among all inputs
The Causes & Effectsof CongestionThree Scenarios-Scenario 1:Two equal-rate senders share a single link-Scenario 2:Throughput analysis-Scenario 3:Multihop paths
B1B2T3B3CPUThe Causes and Effects of CongestionScenario 1: Two equal-rate senders share a single linkTwo sources send data at an average rate ofinto two receiversacross a shared link with capacityRData is delivered to the application at the receiver at rateoutPackets are queued at the routerAssume the router hasinfinitestorage capacity - (Therefore, no packets will belost and there is no need for retransmissions)RouterininoutR2xinR1
The first cost of congestion is:the Large queuing delays
Causes/costs of congestion:scenario1Assumptions:two senders andtwo receiversone router in themiddle - with aninfinitebufferoutput linkcapacity:Rno retransmissionmaximum per-connectionthroughput:R/2unlimitedsharedoutput link buffersHost Aoriginal data:inHost Bthroughput:outR/2R/2outinR/2delayinlarge delays as arrival rate,in,approaches capacity
2
By definition,in this portion of the curve,out=´in=inRetransmission scenarios:“Perfect-Known loss"—Retransmissions occuronlywhen there is an actual lossEarly—Delayed packets are retransmittedR/2R/2outThroughputR/4´inIdeal throughput (in=´in)Known lossretransmissions (out<´in)Early retransmissions (´in= 2in)(Each segment transmitted twice)Early retransmissions plus lossThe Causes and Effects of CongestionScenario 2: Throughput analysis
Assumptions:two senders and two receiversone router in the middle withfinitebuffer - as a result, some packetscan be lostsender retransmits thetimed-outpacketfinite shared outputlink buffersHost Ain: original dataHost Bout'in:original data,plusretransmitted dataCauses/costs of congestion:scenario 2
idealization: Ideal knowledgesender sends only when space isavailable in the router buffersfinite shared outputlink buffersin: original dataout'in:original data,plusretransmitted datacopyfree buffer space!