自动化专业毕业设计5.docx
《自动化专业毕业设计5.docx》由会员分享,可在线阅读,更多相关《自动化专业毕业设计5.docx(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、附录:中英文翻译英文Simulation-based Comparisons of Tahoe, Reno, and SACK TCPKevin Fall and Sally Floyd1 IntroductionIn this paper we illustrate some of the benefits of adding selective acknowledgment (SACK) to TCP. Current implementations of TCP use an acknowledgment number field that contains a cumulative a
2、cknowledgment, indicating the TCP receiver has received all of the data up to the indicated byte. A selective acknowledgment option allows receivers to additionally report non- sequential data they have received. When coupled with a selective retransmission policy implemented in TCP senders, This wo
3、rk was supported by the Director, office of Energy Re-search, Scientific Computing Staff, of the U.S. Department of Energy under considerable savings can be achieved Several transport protocols have provided for selective acknowledgment (SACK) of received data. These include NETBLT CLZ87, XTP SDW92,
4、 RDP HSV84 and VMTP Che88. The first proposals for adding SACK to TCP BJ88, BJZ90 were later removed from the TCP RFCs (Request For Comments) BBJ92 pending further research. The cur-rent proposal for adding SACK to TCP is given in MMFR96. We use simulations to show how the SACK option define in MMFR
5、9 6 can be of substantial benefits relative to TCP without SACK.Without SACK, Reno TCP has performance problems when multiple packets are dropped from one window of data. These problems result from the need to await a包直到所有的数据包被传完。New Reno保持在快速恢复状态,直到在快速恢复 阶段初始化未被成功传送的数据全被响应。5 SACK TCP前面这几种算法,在单包丢弃时,
6、效果是不错的,但如果在同一个窗口下 同一个数据窗口下,它们的性能都有比较大的局限性。后来浮现了基于选择应答 (sack)的算法,它较好的解决了在同一个数据包丢失的问题,这种算法的基本 原理是这样的:SACK算法中,有一个称作选择域(option)的数据段:SACK的 选择域的数据段,ACK中的SACK域包含一定数量的SACK块,每一个SACK块都 记录了信宿端接收或者缓存的非连续分组。SACK块的多少因应用和需要的不同 而 有所不同。与Reno相似,当发送端收到prexmtthresh个重复的ACK时,重 发丢失的分组,并将拥塞窗口减半,进入快速恢复过程。期间,SACK维护了 一个称为“pip
7、e ”的变量用来估计浮现在网络中的分组数。当“pipe”小于拥 塞窗口的大小时,发送端发送新的或者需要重发的分组,并将变量“pipe”加 一。当发送端接收了一个带SACK选项的重复ACK,表明新分组已被接收端接收, pipe变量减一。Pipe变量的使用将何时发送与发送哪一个分组有效的解偶。 当发送端被许可发送分组时,挨次将发送丢失列表中记录的分组。如果没有这 样的分组,而接收端的通报窗口又足够大,则发送端将发出新的数据分组。当重传分组本身被丢弃后,SACK用重传超时来探测丢失,再次重传后进入慢启动过程,在确认了所有浮现在进入快速恢复阶段的分组后,发送端将从快速 恢复中退出。TCP SACK与T
8、CP Reno最主要的区别是在多个数据包丢失的情况下 进行拥塞避免的方式的不同。retransmission timer expiration before re-initiating data flow. Situations in which this problem occurs are illustrated later in this paper (for example, see Section 6.4).Not all of Reno1 s performance problems are a necessary consequence of the absence of SAC
9、K. To show why, we implemented a variant of the Reno algorithms in our simulator, called New-Reno. Using a suggestion from Janey Hoe Hoe95, Hoe96, New-Reno avoids many of the retransmit timeouts of Reno without requiring SACK. Nevertheless, New-Reno does not perform as well as TCP with SACK when a l
10、arge number of packets are dropped from a window of data. The purpose of our discussion of New-Reno is to clarify the fundamental limitations of the absence of SACK. In the absence of SACK, both Reno and New-Reno senders can retransmit at most one dropped packet per round-trip time, even if senders
11、recover from multiple drops in a window of data without waiting for a retransmit timeout. This characteristic is not shared by Tahoe TCP, which is not limited to retransmitting at most one dropped packet per round-trip time. However, it is fundamental consequence of the absence of SACK that the send
12、er has to choose between the following strategies to recover from lost data:1 retransmitting at most one droppedpacket per round-trip time, or2 retransmitting packets that might have already been successfully delivered.To illustrate the advantages of TCP with SACK, we show simulations with SACK TCP,
13、 using the SACK implementation in our simulator. SACK TCP is based on a conservative extension of the Reno congestion control algorithms with the addition of selective acknowledgments and selective retransmission. With SACK, a sender has a better idea of exactly which packets have been successfully
14、delivered as compared with comparable protocols lacking SACK. Given such information, a sender can avoid unnecessary delays and retransmissions, resulting in improved throughput. We believe the addition of SACK to TCP is one of the most important changes that should be made to TCP at this time to im
15、prove its performance.In Sections 2 through 5 we describe the congestion control and packet retransmission algorithms in Tahoe, Reno, New-Reno, and SACK TCP. Section 6 shows simulations with Tahoe, Reno, New-Reno, and SACK TCP in scenarios ranging from one to four packets dropped from a window of da
16、ta. Section 7 shows a trace of Reno TCP taken from actual Internet traffic, showing that the performance problems of Reno without SACK are of more than theoretical interest. Finally, Section 8 discusses possible future directions for TCP with selective acknowledgments, and Section 9 gives conclusion
17、s.2 Tahoe TCPModern TCP implementations contain a number of algorithms aimed at controlling network congestion while maintaining good user throughput. Early TCP implementations followed a go-back-n. model using cumulative positive acknowledgment and requiring a retransmit timer expiration to re-send
18、 data lost during transport. These TCPs did little to minimize network congestion.The Tahoe TCP implementation added a number of new algorithms and refinements to earlier implementations. The new algorithms include Slow-Start, Congestion Avoidance, and Fast Retransmit Jac88. The refinements include
19、a modification to the round -trip time estimator used to set retransmission timeout values. All modifications have been described elsewhere Jac88, Ste94.The Fast Retransmit algorithm is of special interest in this paper because it is modified subsequent versions of TCP. With Fast Retransmit, after r
20、eceiving a small number of duplicate acknowledgments for the same TCP segment (dup ACKs the data sender infers that a packet has been lost and retransmits the packet without waiting for a retransmission timer to expire, leading to higher channel utilization and connection throughput.3 Reno TCPThe Re
21、no TCP implementation retained the enhancements incorporated into Tahoe, but modified the Fast Retransmit operation to include Fast Recovery Jac90. The new algorithm prevents the communication path (pipe)from going empty after Fast Retransmit, thereby avoiding the need to Slow-Start to refill it aft
22、er a single packet loss. Fast Recovery operates by assuming each dup ACK received represents a single packet having left the pipe. Thus, during Fast Recovery the TCP sender is able to make intelligent estimates of the amount of outstanding data.In Reno, the senders usable window becomes other gatewa
23、ys that fail to monitor the average queue size) until the number of dup ACKs rechestcprexmtthresh, and thereafter tracks the number of duplicate ACKs. Thus, during Fast Recovery the sender “inflate” its window by the number of dup ACKs it has received, according to the observation that each dup ACK
24、indicates some packet has been removed from the network and is now cached at the receiver. After entering Fast Recovery and retransmitting a single packet, the sender effectively waits until half a window of dup ACKs have been received, and then sends a new packet for each additional dup ACK that is
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 自动化 专业 毕业设计
限制150内