计算机网络英文版课件:3-12 TCP拥塞控制机制
《计算机网络英文版课件:3-12 TCP拥塞控制机制》由会员分享,可在线阅读,更多相关《计算机网络英文版课件:3-12 TCP拥塞控制机制(12页珍藏版)》请在装配图网上搜索。
1、 TCP拥塞控制拥塞控制机制机制TCP Congestion Controlp Challengen determining the available capacity in the first place(Without additional protocols or APIs)n adjusting to changes in the available capacity(Adjustments must be made quickly since a large window may already be out on the network)p Implementationn inc
2、rease CongestionWindow when congestion goes down(slowly)n decrease CongestionWindow when congestion goes up(quickly)p Question:how does the source determine whether or not the network is congested?TCP Congestion Control:detailsp sender limits transmission:LastByteSent-LastByteAcked CongWinp Roughly,
3、p CongWin is dynamic,function of perceived network congestionHow does sender perceive congestion?p loss event=timeout or 3 duplicate acksp TCP sender reduces rate(CongWin)after loss eventthree mechanisms:n AIMDn slow startn conservative after timeout eventsTCP congestion control:additive increase,mu
4、ltiplicative decreaserApproach:increase transmission rate(window size),probing for usable bandwidth,until loss occursmadditive increase:increase CongWin(congestion window)by 1 MSS(Maximum Segment Size)every RTT until loss detected MSS=MTU-IP-TCP mmultiplicative decrease:cut CongWin in half after los
5、s Saw toothbehavior:probingfor bandwidthTCP Slow Startp When connection begins,CongWin=1 MSSn Example:MSS=500 bytes&RTT=200 msecn initial rate=20 kbpsp available bandwidth may be MSS/RTTn desirable to quickly ramp up to respectable ratep When connection begins,increase rate exponentially fast until
6、first loss eventTCP Slow Start(more)p When connection begins,increase rate exponentially until first loss event:n double CongWin every RTTn done by incrementing CongWin for every ACK receivedp Summary:initial rate is slow but ramps up exponentially fastRefinement:inferring lossp After 3 dup ACKs:n C
7、ongWin is cut in halfn window then grows linearlyp But after timeout event:n CongWin instead set to 1 MSS;n window then grows exponentiallyn to a threshold,then grows linearlyq 3 dup ACKs indicates network capable of delivering some segmentsq timeout indicates a“more alarming”congestion scenarioPhil
8、osophy:RefinementQ:When should the exponential increase switch to linear?A:When CongWin gets to 1/2 of its value before timeout.Implementation:p Variable Threshold p At loss event,Threshold is set to 1/2 of CongWin just before loss eventTCP Congestion Controlp When CongWin is below Threshold,sender
9、in slow-start phase,window grows exponentially.p When CongWin is above Threshold,sender is in congestion-avoidance phase,window grows linearly.p When a triple duplicate ACK occurs,Threshold set to CongWin/2 and CongWin set to Threshold.p When timeout occurs,Threshold set to CongWin/2 and CongWin is set to 1 MSS.TCP sender congestion controlTCP Congestion Window TraceSummaryPrinciples of TCP congestion controlCongestion window adjustment
- 温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。