retagged by
970 views
0 votes
0 votes

We have three stations $P, Q, R$ connected in serial manner. $P$ is connected to $Q$ through a $3Gbps$ fibre optic link and length is $500Km$. $Q$ is connected to $R$ through $60Mbps$ link and length is $15Km$.All the links are full duplex in nature. A file is sent from station $A$ to $C$. Packet size is $1Kb$.We use sliding window protocol such that $\text{SWS=RWS}$. Find the optimal $\text{SWS}$.

  • $30$ packets
  • $32$ packets
  • $28$ packets
  • $29$ packets
retagged by

1 Answer

0 votes
0 votes

1Kb = 1 * 1024 * 8 bits = 8192 Bits 

SWS (Sender Window Size) = 1+2a or Number of bits in transmission channel (RTT * bandwidth )

Using second 

RTT  = transmission time + 2* propgaiton delay

 = 8192 / 3 * 10^9 + 8192 / 60 * 10^6 + 2* ( 5* 10^5/ 2*10^8 + 15*10^3/2*10^8) 

 = 5.29 ms

FIber Optic Velocity ~ 2 * 10^8. ~ 75-80%

SWS = RTT * Bandiwidth ( Taking Min(3Gbps, 50Mbps) ) 

 = 5.29 * 60Mbps = 31.74 

~~ 32 Packets. 

 

Related questions

2 votes
2 votes
3 answers
1
hacker16 asked Apr 5, 2018
1,302 views
$\textbf{VPN}$ Works at which layer?Application layerTransport layerNetwork layerData-link layer
0 votes
0 votes
3 answers
2
eyeamgj asked Mar 20, 2018
674 views
Consider the following two ambigious context free grammars. Which of the above ambigious CFG’s has an equivalent unambiguous CFGI onlyII onlyBoth I and IINeither I nor ...
0 votes
0 votes
1 answer
3
Ayanava Dutta asked Mar 17
82 views
How many 256 X 1K bit chips are required to build 1 MB of memory?
0 votes
0 votes
0 answers
4
Ayanava Dutta asked Mar 17
78 views
Number of nodes in the DAG(Directed Acyclic Graph) representing (a+b)+c+(a+b)