recategorized
4,169 views
2 votes
2 votes

Station $A$ uses $32$ byte packets t transmit messages to station $B$ using sliding window protocol. The round trip delay between $A$ and $B$ is $40$ milliseconds and the bottleneck bandwidth on the path between $A$ and $B$ is $64$ kbps. The optimal window size of $A$ is

  1. $20$  
  2. $10$  
  3. $30$
  4. $40$
recategorized

10 Answers

0 votes
0 votes

2) 10

OWS=2a

a=Tp/Tt

2a=40/4

2a=10

0 votes
0 votes
Length=32*8bits

Bandwidth=128*10^3bps

Transmission time =frame length/ Bandwidth

So ,Transmission time=4ms

RTT=40ms

No of frames to achieve 100% utilization= RTT/Transmission time

So 40/2=20

20 is the optimal window size
0 votes
0 votes
window size= $\frac{Bandwidth*RTT}{packet size}$

packet size = 32 bytes

RTT = 40 millisecond

B.W = 64Kbps

W.S=$\frac{(64*10^{3})*(40*10^{-3})}{32*8}$ = 10
Answer:

Related questions

0 votes
0 votes
3 answers
5
2 votes
2 votes
4 answers
8
go_editor asked Feb 1, 2017
3,042 views
Let C be a binary linear code with minimum distance $2t+1$ then it can correct upto ___ bits of error$t+1$$t$$t-2$$t/2$