Data Link Layer-Flow Control
Data Link Layer-Flow Control
CS-327
10
Fall Semester 2023
Fall Semester 2023 11
Stop and Wait ARQ
• The main shortcoming of the stop and wait algorithm is that it allows the sender to have
only one outstanding frame on the link at a time, and this may be far below the link’s
capacity.
The significance of the
• Consider, for example, a 1.5 Mbps link with a 45 ms round trip time. delay × bandwidth
• This link has a: product is that it
represents the amount
𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑𝑑 × 𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏𝑏 = 1.5 𝑀𝑀𝑀𝑀𝑀𝑀𝑀𝑀 ∗ 45𝑚𝑚𝑚𝑚 = 8 𝐾𝐾𝐾𝐾. of data that could be in
transit.
• Since the sender can send only one frame per RTT, and assuming a frame size of 1 KB,
about one eighth of the link’s capacity is used. To use the link fully, then, we’d like the
sender to be able to transmit up to eight frames before having to wait for an
acknowledgment.