Efficiency of Stop and Wait Protocol - ARQ

Duration: 6 min

This video lesson is available to enrolled students.

Enroll to watch — Computer Networks

AI summary & chapters

AI Summary

An AI-generated summary of this video lecture.

This lecture explains the efficiency of the Stop and Wait ARQ protocol, deriving the formula η = 1 / (1 + 2a) and calculating effective bandwidth. The instructor begins by defining efficiency as the ratio of useful transmission time (Tt) to total cycle time, which includes waiting periods for acknowledgments. Through algebraic simplification, the formula is reduced to a function of 'a', representing the ratio of propagation delay (Tp) to transmission time. The session concludes with a numerical example calculating throughput based on efficiency and bandwidth.

Chapters

  1. 0:00 2:00 00:00-02:00

    The instructor introduces the concept of efficiency for Stop and Wait ARQ, displaying a slide titled "Efficiency(n):" with the initial formula Useful Time / Total Cycle time = Tt / (Tt + 2 * Tp). He explains that useful transmission time is Tt, while the remaining 2 * Tp represents waiting time for processing. The derivation proceeds by dividing both numerator and denominator by Tt, resulting in the simplified expression n = 1 / (1 + 2 * Tp/Tt). The variable 'a' is defined as the ratio Tp / Tt, leading to the final efficiency formula η = 1 / (1 + 2a).

  2. 2:00 5:00 02:00-05:00

    The lecture continues with the derivation of the efficiency formula η = 1 / (1 + 2a), emphasizing that total time consists of transmission and propagation delays while queuing and processing delays are negligible. A handwritten note on the slide identifies 2 * Tp as Round Trip Time (RTT). The instructor then transitions to defining Throughput or Effective Bandwidth using the formula: Throughput = η * B. This section solidifies the relationship between efficiency and actual data transfer rates, preparing for a numerical application.

  3. 5:00 5:43 05:00-05:43

    The instructor calculates the effective bandwidth for a Stop and Wait protocol by substituting values into the formula Throughput = η * B. With an efficiency (η) of 0.5 and bandwidth (B) of 10 Mbps, the calculation yields a final throughput of 5 Mbps. The result is written and underlined on screen as "5 x 10 Mbps = 5 Mbps". The instructor then begins to illustrate the concept with a diagram representing data frames, visualizing how efficiency impacts frame transmission.

The lecture systematically derives the efficiency metric for Stop and Wait ARQ, starting from fundamental time components. The core formula η = 1 / (1 + 2a) highlights how propagation delay relative to transmission time degrades performance. By defining 'a' as Tp/Tt, the instructor simplifies complex timing relationships into a single variable. The final application demonstrates that even with high bandwidth, low efficiency significantly reduces effective throughput, as shown in the 5 Mbps result from a 10 Mbps link. This progression from theoretical derivation to practical calculation reinforces the importance of minimizing propagation delay in network design.

Loading lesson…