计算机网络与互联网(英语)chap16.ppt

  1. 1、本文档共45页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Flow Control Needed because Sending computer system faster than receiving computer Sending application faster than receiving application Protocols use flow control mechanisms through which receiver can control rate of data transmission Related to buffering Two forms Stop-and-go (简单停等) Sliding window (滑动窗口) Stop-And-Go Flow Control Sending Side Transmits one packet Waits for signal from receiver Receiving side Receives and consumes packets Transmits signal to sender Can be very inefficient of network bandwidth if delivery time is large frame i ACK i frame I+1 frame i+2 ACK i+2 frame i+3 frame i+33 ACK i+3 发送方 接收方 ACKi+1 超时 超时 帧丢失 重发 ACK丢失 重发 frame i+2 ACK i+3 Example Network:a packet size of 1000 octets, a throughput capacity of 2 Mbps, a delay of 50 millisecond The hardware can transport 2 Mbps from one computer to another After transmitting a packet, the sender must wait 100 msec before sending another packet(50 msec for the packet to reach the receiver and 50 msec for an acknowledgement to travel back) The maximum rate at which data can be sent using stop-and-go is one packet every 100 millisecond When expressed as a bit rate, the maximum rate stop-and-go can achieved is 80,000bps,which is only 4% of the hardware capacity Sliding Window Flow Control Allows sender to transmit multiple packets before receiving an acknowledgment Number of packets that can be sent is defined by the protocol and called the window As acknowledgments arrive from the receiver, the window is moved along the data packets; hence sliding window Sliding Window Flow Control Receiving side Establishes multiple buffers and informs sender Sending side Transmits packets for all available buffers Only waits if no signal arrives before transmission Receiving side Sends signals as packets arrive Illustration of Sliding Window on Sending Side Window tells how many packets can be sent Window moves as acknowledgements arrive Comparison of Flow Control Stop-and-go Slow Useful only in special cases S

文档评论(0)

skewguj + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档