- 1、本文档共85页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Congestion Window TCP assumes The cause of a lost segment is due to congestion in the network In flow control Sender window = Receiver window congestion ? lost segments ? retransmission ? more congestion Sender window = Min ( rwnd, cwnd) rwnd: receiver window —— a receiver-side limit cwnd: congestion window —— a sender-side limit Rwnd:接收窗口,是接收方根据其可用缓存大小准许的窗口值。接收端将此值放在TCP报文段的首部中,传送给发送端。 Cwnd:拥塞窗口,是发送端根据所感知的网络拥塞程度得出的窗口值。 前者是接收方使用的流量控制,后者是发送方使用的流量控制,限制发送方向网络注入数据的速度。 每个窗口都反映了发送方可以发送的字节数量,发送端的发送窗口是它们两个中较小的那个值。 为了进行拥塞控制,发送窗口不仅取决于接收端,还要取决于网络的拥塞情况 Congestion Control Algorithms RFC 2581 Slow start and congestion avoidance MUST be used by a TCP sender to control the amount of data that has been sent but not yet acknowledged 慢启动和加法增大,乘法减小 Fast retransmit/Fast recovery To detect and repair loss based on incoming duplicate ACKs TCP assumes 1 or 2 duplicate ACKs ? a reordering of segments 3 or more duplicate ACKs ? a segment has been lost Slow Start andCongestion Avoidance Number of transmitted segments Congestion window size ( in segments) Slow start Congestion avoidance RFC 2581 IW: the initial size of the cwnd LW: the cwnd size after a TCP sender detects loss IW = min (4*SMSS, max ( 2*SMSS, 4380 bytes ) ) LW = 1 full-sized segment, i.e., 1 SMSS sst1 = any, i.e. rwnd sst2 = max ( flightsize/2, 2*SMSS ) sst1 sst2 12.9 TCP Timer Retransmission timer To control a lost or discarded segment The waiting time for an ack of a segment Persistence timer To deal with the zero window-size advertisement The waiting time for an ack with a non-zero window size Keepalive timer To prevent a long idle connection between two TCP The waiting time for some data from a client Time-waited timer To be used during connection termination Retransmission Timer Usage When TCP sends a segment, it creates a retransmission timer for that segment If an ack is received for that segment before time-out, the timer is destroyed Otherwise the segment is retransmitted and the timer is reset Calculation Retransm
您可能关注的文档
最近下载
- 中医适宜技术在妇科的应用.pptx
- 乡土地理资源和课堂教学有机结合的实效性探究课题实施方案.doc
- 共振论:.doc VIP
- 《 中国人民站起来了》课件(34张PPT) 统编版高中语文选择性必修上册第一单元.pptx
- 英语字母组合发音规律.docx VIP
- 常见的新生儿体位管理.ppt
- 2023年韩山师范学院汉语言文学专业《现代汉语》期末试卷A(有答案).docx VIP
- MHT5078.2-2024 运输机场建设工程资料管理规程 第2部分:场道工程施工资料.pdf
- 【原创】《实施幼儿园礼仪教育的实践研究 》开题报告.pdf
- 普通高中数学课程标准试题与答案(2017年版2020年修订) .pdf
文档评论(0)