The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
0 votes
Consider a network connecting two systems located 4000 kilometers apart. The bandwidth of the network is 64 Mbps. The propagation speed of the media is 2/3 of the speed of light in vacuum. It is needed to design selective repeat sliding window protocol for this network. The average packet size is of 8 Kb. The network is to be used to its full capacity.
Assume that processing delays at nodes are negligible. Then, the minimum size in bits of the sequence number field has to be _________.
asked in Computer Networks by Junior (513 points) | 114 views

1 Answer

+1 vote

maximum 9 bits required...

answered by Loyal (7.9k points)
In answers, it is given10 bits.



It's a question from madeeasy test series.

bro they are 100% wrong can they take packet size in powers of 10 ??? they had done it wrong !!..

packet size should be in power of 2
Shubham.. Your complete solution is right.. In last you have done a little bit of mistake.. Since whatever you have got in answer is the window size for one side.. But in SRA protocol we don't have only 1 window size on other side... Instead we have rwnd =swnd therefore multiply the sequence number >= (swnd+rwnd) =625 approx

Now you take log of it will lead you to correct number of bits required..  i.e 10
oh!!..i got it bro thanks...

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

34,830 questions
41,809 answers
41,452 users