The Gateway to Computer Science Excellence
+6 votes

What will be the efficiency of a Stop and Wait protocol, if the transmission time for a frame is $20$ns and the propagation time is $30$ns?

  1. $20$%
  2. $25$%
  3. $40$%
  4. $66$%
in Computer Networks by Boss (30.8k points) | 3.5k views

6 Answers

+11 votes
Best answer
Transmission time = 20ns.

Time for ACK to reach back $= TT + PD + TT_{ack} + PD \\= 20 + 30 + 0 + 30 = 80ns.$

Efficiency is the ratio of time where useful data is sent to the total time (or it is the ratio of the amount of useful data sent to the maximum amount of data that could be sent)= 20/80 = 25%.
by Veteran (431k points)
selected by

Why have u taken 20 as usefull data..?

It should be 30ns as it is the time when some useful data was send...??
Transmission time is the time where data is sent. You can also consider it like the ratio of amount of data sent to the amount of data that could have been sent. (Data is sent in a pipelined manner)
transmission time is the time where data is put on the transmission channel...?

and propagation time is when data is taken from transmitter to receiver...? right na...??

so propogation is the time where actual data is send ..?
transmission time is transmitting useful data.

propagation time is carrying the data to the other end.

Ideally we want the transmission to continue without any stopage (for 100% efficiency).
Dear that is propagation delay it means to fill the channel with the data, but the actual time is 20ns which will be taken by the frame to travel towards the destination/receiver.Thanks.
You are saying it reverse.
+9 votes

Efficiency=1/(1+2*tp/tt) =1/(1+60/20)=1/(1+3)=25%

Answer (B)

by Veteran (119k points)
+4 votes

Efficiency in Stop and Wait Protocol is given by 

Efficiency =  T,transmission / (T,transmission + 2* T,propagation)

Efficiency= 20 / (20+2*30)

               = 20/80 =0.25

For percentage = 0.25 * 100 =25%  Option (B) is correct

by Boss (16.3k points)
0 votes
i think ans===25% option (B)correct


where a=propagation delay/transmission delay
by (21 points)
0 votes
i think ans===25% option (B)correct


where a=propagation delay/transmission delay
by (21 points)
0 votes
25% is answer

Tt=20ns, tp=30ns

Efficiency= Tt/Tt+2Tp

20ns/(20+30*2)ns=20/80=0. 25*100

                                  Efficiency = 25%
by (15 points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,737 questions
57,297 answers
104,979 users