• edited by
19,139 views
46 46 votes

In a sliding window $ARQ$ scheme, the transmitter's window size is $N$ and the receiver's window size is $M$. The minimum number of distinct sequence numbers required to ensure correct operation of the $ARQ$ scheme is

  1. $\min (M, N)$
  2. $\max (M, N)$
  3. $M + N$
  4. $MN$

6 Answers

Best answer
52 52 votes

C) M+N

Because $\large W_s+W_r \leq \text{Sequence numbers}$ (as the maximum number
of unacknowledged packets at sender will be $\large W_{s}$ and at the receiver it will be $\large W_{r},$
similar to the sequence numbering in Selective Repeat)

where $\large W_{s}$ is size of sender window and $\large W_{r}$ is receiver window size.

• edited by
13 13 votes
In general sliding window ARQ scheme , the sending process sends a number of frames without worrying about receiving an ACK(acknowledgement) packet from the receiver. The sending window size in general is N and receiver window is 1. This means it can transmit N frames to its peer before requiring an ACK. The receiver keeps track of the sequence number of the next frame it expects to receive and sends that number with ever ACK it sends. But in case of the question the sender window size is N and receiver is M so the receiver will accept M frames instead of 1 frame in general. Thus sending M sequence numbers attached with the acknowledgement.
Hence, for such a scheme to work properly we will need a total of M+ N distinct sequence numbers.
6 6 votes

Answer C

$M+N$

seq no.s > $W_s + W_r$

Sliding Window has two implementations

  • SR
  • GBN

In SR sender window size is equal to receiver window size

but in GBN sender window size is N and Receiver Window size is 1

we need minimum sequence number = sender window size + receiver window size

i.e. in SR sq no.s = 2N

and in GBN sq. no.s = N+1

if we use less seq.no.s  than these numbers then following problem can occur

if acknowledgments are lost. Due to Time out timer on receivers side Retransmission of those packets will be started but receiver has already received them so receiver may receive duplicate packets so extra seq. no.s are required to reject packets if they were accepted.(as we reuse seq.no.s)

2 2 votes
Always try to apply this :
  
    WS (recieving window)+ WS (sending window) <= ASN (available sequence numbers)  --------(1)

So , applying  (1)
 
M+N <= ASN

Hence minimum number of distinct  sequence numbers required is  , M+N .
1 1 vote
We all know that sender window is taken to be equal to reeciver window

or you can say number of sequence numbers are divided equally to both

So if sender is M

and receiver is N

to maintain the equilibrium, M+N is a constant
Answer:
Position:
Show:

Related questions

87 87 votes
15 answers 15 answers
42.1k
42.1k views
Ishrat Jahan asked Nov 2, 2014
42,054 views
Suppose that the maximum transmit window size for a TCP connection is $12000$ $\text{bytes}$. Each packet consists of $2000$ $\text{bytes}$. At some point in time, the co...
46 46 votes
7 answers 7 answers
21.0k
21.0k views
Ishrat Jahan asked Nov 2, 2014
20,983 views
A $20$ $\text{Kbps}$ satellite link has a propagation delay of $400$ $\text{ms}$. The transmitter employs the "go back $n$ $ARQ$" scheme with $n$ set to $10$. Assuming th...
70 70 votes
8 answers 8 answers
36.9k
36.9k views
Ishrat Jahan asked Nov 2, 2014
36,879 views
A TCP message consisting of $2100$ $bytes$ is passed to IP for delivery across two networks. The first network can carry a maximum payload of $1200$ $bytes$ per frame an...
95 95 votes
9 answers 9 answers
30.6k
30.6k views
Ishrat Jahan asked Nov 2, 2014
30,605 views
Consider a simplified time slotted MAC protocol, where each host always has data to send and transmits with probability $p$ = $0.2$ in every slot. There is no backoff and...