• moved by
42,846 views
75 75 votes

Station $A$ uses $32\; \text{byte}$ packets to transmit messages to Station $B$ using a sliding window protocol. The round trip delay between A and $B$ is $80\; \text{milliseconds}$ and the bottleneck bandwidth on the path between $A$ and $B$ is $128\; \text{kbps}$ . What is the optimal window size that $A$ should use?

  1. $20$
  2. $40$
  3. $160$
  4. $320$

18 Answers

1 1 vote

L = 32 Byte = 32*8 = 256 bits

B/w= 128 Kbps

Tt= L/B =2 ms

tp= RTT/2 = 40 ms

optimum window size = 1+2a

= 1+2*40/2 = 41 

1 1 vote
$\underline{\textbf{Answer:}\Rightarrow}\;\mathbf {(B)}$

$\underline{\textbf{Explanation:}\Rightarrow}$

Round Trip propogation delay $=80\;\text{ms}$

Frame Size $=32\times 8\;\text{bits}$

Transmission Time $=\mathbf{\dfrac{L}{B}} = \dfrac{32 \times 8}{128} \;\text{ms} = 2\;\text{ms}$

Let $\mathbf n$ be the window size.

Utilization $=\mathbf{\dfrac{n}{1+2a}}$, where $\mathrm {a = \dfrac{Propogation\; time}{transmission\; time}} = \dfrac{\mathrm n}{1+\dfrac{80}{2}}$

For maximum Utilization Efficiency $ = 1$

$\Rightarrow 1 = \dfrac{\mathrm n}{1+\dfrac{80}{2}}\\ \Rightarrow\mathrm n = 41$

Which is close to option $\mathbf{ (B)}$

$\therefore\;\mathbf {(B)}$ is the correct answer.
1 1 vote

Round trip time = 2*Tp =  80 * 10-3 s

Length of packet (L) = 32 * 8 bits

Bandwidth = 128 * 103 bits/s

Transmission time(Tt) = L / bandwidth

                                   = ( 32 * 8 ) / ( 128 * 103)

                                   = 2 * 10-3 s

Optimal window size = 1 + 2 * (Tp / Tt )

                                  = 41

There for the answer will be 40.

0 0 votes
Basically, Acknowledgement will be received by A will be 80 millisecond. Now,

A can send 128kb in 1 sec  (bandwidth),

In 1 sec ----→ 128kb

    1 sec ---→ (128kb/(32*8 bits))   packets  ( As each packet of size 32*8 bits)

    solving above, A can send 500 packet per second  

So, In 80ms  ---→ 500* 80*10^-3  = 40 packets

So, A can send 40 packets before it receives an acknowledgement.

So, Optimal window size for will be 40
0 0 votes
we can send as frames as possible in sliding window protocol in a round trip time

T $_{t}$ =   $_{\tfrac{size of frame}{bandwidth}}$

T$_{t}$ =$_{\tfrac{32*8 bits}{128*10$^{3}$ bps}}$ = 2msec

no.of frames=$_{\tfrac{RTT}{T_{t} }}$= $_{\tfrac{80 msec}{20 msec}}$= 40 frames
Answer:
Position:
Show:

Related questions

83 83 votes
12 answers 12 answers
68.8k
68.8k views
Rucha Shelke asked Sep 26, 2014
68,832 views
Station $A$ needs to send a message consisting of $9$ packets to Station $B$ using a sliding window (window size $3$) and go-back-$n$ error control strategy. All packets ...
27 27 votes
3 answers 3 answers
11.3k
11.3k views
go_editor asked Nov 7, 2016
11,335 views
Consider the diagram shown below where a number of LANs are connected by (transparent) bridges. In order to avoid packets looping through circuits in the graph, the bridg...
88 88 votes
6 answers 6 answers
36.5k
36.5k views
Rucha Shelke asked Sep 26, 2014
36,535 views
Consider the diagram shown below where a number of LANs are connected by (transparent) bridges. In order to avoid packets looping through circuits in the graph, the bridg...
66 66 votes
9 answers 9 answers
24.4k
24.4k views
Rucha Shelke asked Sep 26, 2014
24,355 views
Two computers $C1$ and $C2$ are configured as follows. $C1$ has IP address $203.197.2.53$ and netmask $255.255.128.0$. $C2$ has IP address $203.197.75.201$ and netmask $2...