0 0 votes A channel has a capacity of 256 Mbps, maximum packet size is 1024 bytes and RTT is 200 μsec. So what is efficiency of sender (Assume that channel uses stop & wait protocol? Your Answer: 13.793 Correct Answer: 2 Status: incorrect Computer Networks stop-and-wait sliding-window computer-networks + – vishwa ratna 2.6k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 4 4 votes efficiency=Transmission time/(Transmission Time + 2* Propagation Time) Tt=Length of Pkt / Bandwidth Tt=1024 *8 (256 * 10^ 6)=32 microsecond 2*Tp= Round Time Trip=200 microsecond Efficiency= 32/(32+200)=0.1379 or 13.79% Anirudh Pandey answered Feb 5, 2017 • selected Feb 5, 2017 by vishwa ratna Anirudh Pandey comment Share Follow See all 2 Comments 2 2 Comments reply abdus salam commented Sep 5, 2017 reply Follow flag Packet size is in byte so no need to multiply with 8. Then ans will be 2 (approx) 0 0 replyShare Ekta Jangid commented Nov 11, 2018 reply Follow flag Here in the question it is given as "capacity of channel" is 256 Mbps. But in the given solution it is used as Bandwidth. I am confused. Please suggest. 0 0 replyShare Please log in or register to add a comment.
1 1 vote $T_{t}=\frac{Packet \:size}{Bandwidth}=\frac{1024*8}{256*10^{6}}=32\mu sec$ $RTT=200\mu sec........\left \{ Given \right \}$ So efficiency of sender $\eta =\frac{1}{1+a}\approx 0.1379\:or\: 13.79........\left \{ where \:a=RTT/T_{t}=200/32=7.25 \right \}$ Anmol Verma answered Jan 25, 2017 Anmol Verma comment Share Follow See all 4 Comments 4 4 Comments reply Vishal Goyal commented Jun 14, 2017 reply Follow flag then why is the answer is incorrect 0 0 replyShare reena_kandari commented Jul 5, 2017 reply Follow flag How we will know that, here RTT =2*Tp +Tt or RTT=2*Tp? @Bikram sir please guide 0 0 replyShare Bikram commented Jul 5, 2017 reply Follow flag here RTT =2*Tp +Tt Generally for large distance like satellite, we ignore Tt value . But in this question we need to consider it . Efficiency of sender = 32/(32+200)=0.1379 or 13.79% 1 1 replyShare smsubham commented Jan 2, 2018 reply Follow flag @Bikram Round trip time(RTT) is the length of time it takes for a signal to be sent plus the length of time it takes for an acknowledgement of that signal to be received. Ref: https://www.geeksforgeeks.org/program-calculate-round-trip-time-rtt/ 1 1 replyShare Please log in or register to add a comment.