1,117 views
0 votes
0 votes
1. For a 1Gbps link, 10 ms prop. delay, 1000-bit packet, compute the utilization for: a. Stop and wait protocol
b. Sliding window (window size=10)

1 Answer

0 votes
0 votes
For the link it is given,

Packet size =1000 bit

Bandwidth= 1 Gbps

propagation delay=10 ms

Transmission delay = $\frac{packetsize}{Bandwidth}$ =$\frac{1000}{10^{6}}$=1 ms

so total delay = transmission delay+ 2*propagation delay= 1+20=21 ms  [assuming processing and queuing delay negligible]

so now bandwidth delay product = bandwidth* delay =$10^{6}$ bps * $21 *$$10^{-3}$ s =$21000$ bit

so the system can send 21000 bits during the time it takes for the data to go from sender to receiver and the acknowledgement to come back.

However the system can send only 1000 bits.

so utilization = $\frac{1000}{21000}=\frac{1}{21}$=$4.76$%.

Part 2 :-

The above calculation will remain same just here we are sending window of 10 packets together .

so with 10 packets the amount of data we can send =$10*1000 =10000$ bits

but the bandwidth delay product will remain same which is 21000 bits .

so we can send 21000 bits but we are only sending 10000 bits .

so Utilization =$\frac{10000}{21000}=\frac{10}{21}$=$47.61$ % .

Related questions

5 votes
5 votes
2 answers
2
Shashank Chavan asked Jan 1, 2016
676 views
In SWP, if windows size of the sender is 5, transmission delay is 15ms and propagation delay is 25ms.So,if first packet is transmitted on link, will it wait for the windo...
1 votes
1 votes
1 answer
4
rahuldb asked Nov 6, 2016
5,030 views
What is the link utilization for STOP-AND-WAIT ARQ technique assuming P = 10-3 ?PLEASE ANSWER WITH WORKING