【正文】
h acknowledgementzSource waits for ACK before sending next framezDestination can stop flow by not send ACKStop and waitA BDATADATAACK傳播時延 tp處理時間 tpr傳播時延 tp處理時間 tprtT時間兩個成功發(fā)送的數(shù)據(jù)幀之間的最小時間間隔數(shù)據(jù)幀的發(fā)送時間 tf設(shè)置的重傳時間tout時延 (delay 或 latency)z傳輸時延 (發(fā)送時延 ) 發(fā)送數(shù)據(jù)時,數(shù)據(jù)塊從結(jié)點進入到傳輸媒體所需要的時間。z也就是從發(fā)送數(shù)據(jù)幀的第一個比特算起,到該幀的最后一個比特發(fā)送完畢所需的時間。 傳輸時延 = 數(shù)據(jù)塊長度( 比特 )數(shù)據(jù)的傳輸速率( 比特 /秒 )Transmission time: Time taken to emit all bits into medium時延 (delay 或 latency)z傳播時延 電磁波在信道中需要傳播一定的距離而花費的時間。 z信號 傳輸速率 (即發(fā)送速率)和信號在信道上的 傳播速率 是完全不同的概念。 傳播時延 = 信道長度( 米 )信號在信道上的傳播速率( 米 /秒 )Propagation time: Time for a bit to traverse the linkz信道利用率( Utilization (efficiency)) 指出某信道有百分之幾的時間是被利用的(有數(shù)據(jù)通過)。完全空閑的信道的利用率是零。z吞吐量 (throughput)表示在單位時間內(nèi)通過某個網(wǎng)絡(luò)(或信道、接口)的數(shù)據(jù)量。z吞吐量更經(jīng)常地用于對現(xiàn)實世界中的網(wǎng)絡(luò)的一種測量,以便知道實際上到底有多少數(shù)據(jù)量能夠通過網(wǎng)絡(luò)。z吞吐量受網(wǎng)絡(luò)的帶寬或網(wǎng)絡(luò)的額定速率的限制。 鏈路的利用率 U:A BDATADATAACK傳播時延 tp處理時間 tpr傳播時延 tp處理時間 tprtT時間tftoutAppendix 7A Link utilization of stop and wait flow control 鏈路利用率的計算 p233zUtilization (efficiency)利用率忽略處理時間,一個往返周期的總時間 tT: tT=2tP+tF19Appendix 7A Link utilization of stop and wait flow control p233定義一個參數(shù) a:其中: d鏈路的傳輸距離 v信號的傳播速度 L信息的長度 R數(shù)據(jù)的發(fā)送速率所以:20Link utilizationzWith the use of multiple frames ,the stop and wait procedure is inadequate. (Inefficient line utilization)yOnly one frame at a time can be in transitzTransmission time is normalized to onezPropagation time is azIf a1, the sender pletes transmission before the leading bits arrive at the receiver.zIf a1, the frame is long, the first bits have arrived before the source pleted the transmission21Stop and Wait Link Utilization22Sliding Windows Flow Control P212zAllow multiple frames to be in transitzReceiver has buffer W longzTransmitter can send up to W frames without ACKzACK includes the number of next frame expectedzSequence number bounded by size of field (k)yFrames are numbered modulo 2kzFor a kbit seque