edited by
1,103 views

3 Answers

Best answer
1 votes
1 votes

1)  Tt <= RTT (because we cant transmit at more speed at given bandwidth. You cant have window size considering max segment lifetime)

Thus, window size = 16Mb

Thus, bits to represent this window  = 21 bits

2) We need atleast 22 bits as we do in GBN because we need to differentiate between the sequnce nos for the 1st window and next consecutive window. If we take 21 bits, consider the foolowing situation:

Host A transmits with seq no 0.

Host B receives it and now, as 221 bytes are received, Host B sends ack no of next byte it expects. But it needs to send ACK 0 as sequence space is over for host B.

Now, host A wouldnt understand if this is proper ACK or if the previous packet was lost.

So, 21 bits are insufficient.

selected by
0 votes
0 votes

a) Maximum segment life time =80s

Data transmitted in 80 s=(100/8)*10 6 *80 = 10 8 bytes

window size in bits = log2 (10 8)= 8 log 2 10~ 24

b) Propagation delay is 80 ms. Hence round trip time is 160 ms.

One complete window is sent in this time by sender

No of bytes send in RTT= (100/8)*10 6 *160 *10 -3 = 2 x 10 6

No of bits = log 2(2 x 10 6) = log2 2+ log2 10 6 = 1+6 log2 10 ~21 bits

0 votes
0 votes
1 sec=100MB

10^8 byte in =1 sec

1 seq number=1/10^8

so in 80sec=10^8*80/8

taking log on base 2 of 10^8*80/8=~27

So none of these will be option.
Answer:

Related questions

7 votes
7 votes
2 answers
2
rahul sharma 5 asked Aug 16, 2017
1,664 views
Consider TCP congestion control. Assuming RTT as 4 seconds and segment size as 3KB, if bandwidth is 500kbps, what is the smallest window size for which there is no stalli...
2 votes
2 votes
2 answers
3
Na462 asked Dec 2, 2018
1,179 views
Assume the scenario where size of the congestion window of a TCP connection be 40KB when timeout occurs. The MSS is 2KB. Propagation delay be 200msec. Time taken by TCP c...
0 votes
0 votes
0 answers
4
set2018 asked Dec 8, 2017
634 views
Let the size of congestion window of a TCP connection be 38 KB when a timeout occurs. The propagation time of the connection is 100 msec and the maximum segment size used...