496 views
0 votes
0 votes
The efficiency of a 16 Mbps ethernet is 3/4.Cable length is 100 km and frame size is 1000 bytes.If the network is using sliding window protocol,what is the window size?

2 Answers

0 votes
0 votes



Hope this helps ,correct me if am wrong

0 votes
0 votes

efficiency =3/4

bandwidth=16 Mbps

length =100 KM

frame size=1000 Bytes

efficiency =useful time/total time

here useful time will be the time taken in sending required no of frames (window size) .

useful time =window size *Transmission time

total time =TT + 2PT

let window size=N

so efficiency=N*TT /TT+2PT

                =N/(1+2a) where a=PT/TT

now TT=data size / bandwidth

           =1000 *8  / (16*10^6) =500*10^-6 sec

      PT=length/ speed

          =100*10^3 / 3*10^8   where speed is speed of light (by default)

          =1/3 * 10^-3 sec  

now,  efficiency = N / 1 +2a = 3/4 (given)

                        =>3+6a =4N  

                           3+6*10/15=4N      [where a=pt/tt = 1/3 * 10^-3 *(500 *10^-6 ) =10/15)

                    N=7/4=1.75

              that says we can send 1.75 frames at one time ..that means  1 frame at one time

          so window size =1

correct me if i am wrong
 

edited by

Related questions

0 votes
0 votes
1 answer
1
S Harika asked Apr 9, 2017
283 views
In an ethernet using sliding window protocol ,sender window size is 5 and receiver window size is 3.How many bits are required to store maximum sequence number??