Computer-Networks
September 9, 2024
Computer-Networks
September 9, 2024
Computer-Networks
September 9, 2024
Computer-Networks
September 9, 2024

Sliding-Window-Protocol

Question 14

The distance between two stations M and N is L kilometers. All frames are K bits long. The propagation delay per kilometer is t seconds. Let R bits/second be the channel capacity. Assuming that processing delay is negligible, the minimum number of bits for the sequence number field in a frame for maximum utilization, when the sliding window protocol is used, is:

A
⌈log2(2LtR+2K/K)⌉
B
⌈log2(2LtR/K)⌉
C
⌈log2(2LtR+K/K)⌉
D
⌈log2(2LtR+K/2K)⌉
Question 14 Explanation: 
Maximum window size at sender side,
N = (Tk + 2Tp)/Tk
Tp = l × l sec
Tk = K/R sec
So, N = (K/R+2Lt)/(K/R) = K+2LtR/K
Note that when asked for general sliding window protocol (not GBN nor SR) then we do not care about receiver’s window size.
So, no. of bits required,
⌈log2 K+2LtR/K⌉
Correct Answer: C
Question 14 Explanation: 
Maximum window size at sender side,
N = (Tk + 2Tp)/Tk
Tp = l × l sec
Tk = K/R sec
So, N = (K/R+2Lt)/(K/R) = K+2LtR/K
Note that when asked for general sliding window protocol (not GBN nor SR) then we do not care about receiver’s window size.
So, no. of bits required,
⌈log2 K+2LtR/K⌉
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!