Professional Documents
Culture Documents
Numerical Method
Numerical Method
Numerical Method
Disadvantages :
The main disadvantage of Go–Back–N is its inefficiency in handling frequent
errors. If errors occur, the sender may need to retransmit a large number of
frames, even if only one frame is lost or damaged. The receiver's buffer must be
large enough to store out–of–sequence frames until the missing frames arrive.
Sliding Window Size 𝟐𝒎−𝟏for Selective Repeat ARQ:
In Selective Repeat ARQ, the sender can have multiple frames in transit but doesn't necessarily have to resend all frames if an acknowledgment is missing. It allows for the
retransmission of only the frames that have been lost or damaged.
3. Acknowledgments :The
1. Window Size : receiver sends individual
2. Sequence Numbers 4. Sender's 5. Retransmission on
The sender and receiver acknowledgments for
:Frames are assigned Actions :The sender Timeout :If the sender's timer
each maintain a each correctly received
sequence numbers by continues to send expires without receiving an
window that represents and in–order frame. If a
the sender to identify frames within the acknowledgment, it assumes
the range of sequence frame with a sequence
and order them. The current window. that one or more frames were
numbers for which number less than the
sequence numbers Upon receiving an lost or damaged. The sender
frames have been sent expected one is received,
are used to keep track acknowledgment, the then retransmits only the
or are expected to be it is buffered, and a
of sent and received sender slides the frames that have not been
received. The size of cumulative
frames. window forward, acknowledged.
the window determines acknowledgment for the
allowing for the
the number of frames last correctly received
6. Selective transmission of new
that can be outstanding frame is sent.
Retransmission :Selective frames.
at any given time.
Repeat is more efficient than 8. Advantages:Selective Repeat
Go–Back–N in handling errors. has advantages over Go–Back–N
Only the lost or damaged 7. Efficiency :Selective
Repeat is particularly in terms of bandwidth utilization
frames are retransmitted, not and efficiency, especially when
the entire window. The efficient when
dealing with high– dealing with frequent errors.
receiver's buffer stores out–
of–sequence frames until the error environments,
missing frames arrive. as it minimizes the
amount of redundant
retransmission.
Here's a simple diagram to represent the Selective Repeat ARQ
with a window size of 2𝑚−1∶
In summary, both Go-Back-N ARQ and Selective Repeat ARQ use a sliding window
size of 𝟐𝒎−𝟏allowing multiple frames to be in transit simultaneously. However,
they differ in how they handle retransmissions in the case of lost or damaged
frames. Go-Back-N retransmits all unacknowledged frames in the window, while
Selective Repeat retransmits only the specific frames with missing
acknowledgments.
Conclusion:
Both Go-Back-N ARQ and Selective Repeat ARQ provide reliability in data
transmission over unreliable channels, but they differ in how they handle
retransmissions when errors occur. Go-Back-N retransmits all frames from a
certain point, while Selective Repeat only retransmits the specific frames
that are missing or damaged.