in Computer Networks edited by
1,209 views
1 vote
1 vote
Frames of 20000 bytes are sent over 10 MBps full duplex link between 2 hosts. Propagation is 45 ms.Suppose that the sliding window protocol is used with the sender window size of 16 and acknowledgements are piggybacked.After sending 35 frames , what is the minimum time sender will have to wait before starting transmission of the next frame
in Computer Networks edited by
1.2k views

3 Comments

3.75 ms?
0
0
How? I am getting 20..
0
0

With given parameters max. Window size = 46, but here window size = 16 i.e. rest of the time is wasted. Assuming wasted time is equally divided between transmiitted frames.. I got 3.75 ms.

@anjali007 how you got 20?

0
0

1 Answer

1 vote
1 vote
Bandwidth is given 10 MBps and the length of the packet is 20000 bytes ..

So Transmission time is L/B i.e 20000/10*10^6=2 ms

Now we are given the propagation delay that is one way trip time =45ms

So we are required to tell what is the minimum time we have to wait for the acknowledgement of the 1st packet and we have transmitted 35 packets.. we  will get the acknowledgement after 2*Tp=90ms and 2ms for Transmission of the ack

Time taken to send 35 packets is 35*2 =70 ms So we have to wait for 92-70=22ms
edited by

4 Comments

as mentioned in question "ack are piggybacked" so frame size of ack will also be 20000 bytes? Isn't it? So we'll add transmission of that also?
0
0

@Shubhgupta

Can you please point wht is wrong in above figure ?

0
0

ya it should be 2ms for it also @Shubhgupta sorry I forgot to mention it.. 

0
0

Related questions