University of Leeds · FACULTY OF ELECTRICAL ENGINEERING

ELEC1401 Chap.10 Pipelining and Congestion Control

- one subject, every graph, every model, every mark
6 Chapters4-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 10 of 10 · ELEC1401

Pipelining and Congestion Control

Pipelining and Congestion Control increases useful work by allowing several packets to remain unacknowledged. A sender window separates acknowledged sequence numbers, outstanding packets and data not yet sent. Go-Back-N typically accepts only the next in-order packet and can retransmit a run after loss.

Selective Repeat buffers acceptable out-of-order packets and retransmits individual missing data, improving efficiency at the cost of receiver state and sequence-number care. A larger window fills a long, high-rate path more effectively than stop-and-wait, but growth stops helping when another limit binds.

Flow control protects receiver capacity, while congestion control responds to queues, delay and loss within the shared network. TCP combines cumulative acknowledgement and selective mechanisms in ways that do not fit perfectly into one textbook category. Sound answers label window state and identify whether endpoint space or network pressure supplies the limiting evidence.

In this chapter

What this chapter covers

  • 01

    Sliding sender window

  • 02

    Go-Back-N recovery

  • 03

    Selective Repeat buffering

  • 04

    Pipeline utilisation

  • 05

    Receiver flow control

  • 06

    Network congestion control

Worked example · free

Estimate pipeline window size

Q [7 marks]. Packets contain 12,000 bits, link rate is 3 Mbit/s and RTT is 36 ms. Ignore acknowledgement transmission. Find stop-and-wait utilisation and a whole-number window that fills the simplified path. The marks here are not an official University mark allocation.
The highlighted window contains sent but unacknowledged packets, with acknowledged sequence numbers behind it and unsent numbers ahead.The highlighted window contains sent but unacknowledged packets, with acknowledged sequence numbers behind it and unsent numbers ahead.sender sequence space01234567acknowledgedoutstanding windownot yet sent
The highlighted window contains sent but unacknowledged packets, with acknowledged sequence numbers behind it and unsent numbers ahead.
  • 2Transmission time is 12,000 / 3,000,000 = 0.004 seconds, or 4 ms.
  • 2Utilisation is 4 / (36 + 4) = 0.10, or 10%.
  • 2Divide the 40 ms cycle by 4 ms per packet and round up, giving a window of 10 packets.
  • 1State that processing, acknowledgement size and losses were ignored.
Simplified stop-and-wait utilisation is 10%, and a 10-packet window supplies enough transmission work to fill the cycle. The weighting is original practice guidance.
Sia tip — Use one time unit throughout and round the window upward to a whole packet.
Glossary

Key terms

Sender window
The set of sequence numbers allowed to be outstanding without acknowledgement.
Go-Back-N
A pipelined reliability method that can retransmit a missing packet and later outstanding packets.
Selective Repeat
A method that buffers acceptable out-of-order data and retransmits individual missing packets.
FAQ

Pipelining and Congestion Control FAQ

Why does pipelining improve utilisation?

Several packets can be transmitted while earlier data waits for acknowledgements, so the sender avoids sitting idle for an entire round trip. The useful window depends on rate, packet size, delay and protocol limits.

How do Go-Back-N and Selective Repeat differ?

Go-Back-N keeps receiver behaviour simpler and may resend a run after one loss. Selective Repeat buffers out-of-order arrivals and resends only missing data, using more state and careful sequence-number management.

When does a larger window become harmful?

Once receiver capacity or safe network capacity binds, additional outstanding data can overflow buffers, lengthen queues and increase loss. Flow and congestion controls therefore limit the sending window for different reasons.

Which window limit should the sender obey?

The sender must respect both receiver capacity and the amount considered safe for the network path, so the tighter limit controls current transmission. A large receive buffer cannot override congestion evidence, and an uncongested path cannot force a slow receiving application to consume faster.

Study strategy

Exam move

Draw a sequence-number row and colour acknowledged, outstanding and unsent regions. Move the sender base after each acknowledgement and record whether the next sequence number can advance. Repeat one loss trace under Go-Back-N and Selective Repeat. For each protocol, label receiver acceptance, buffering, acknowledgement style and retransmission scope. This reveals the state cost behind the efficiency difference.

Practise utilisation calculations by finding packet transmission time first, adding the round-trip wait and then computing the smallest whole-number window that covers the simplified cycle. State ignored processing, acknowledgement and loss terms. Build two separate evidence lists for control. Receiver-advertised space points to flow control; queue growth, delay and path loss point to congestion control.

Create mixed cases where both limits exist and identify the tighter bound. Avoid saying every duplicate acknowledgement has one universal meaning; interpret it in the stated protocol context. For TCP questions, recognise that its behaviour can combine cumulative acknowledgements with selective mechanisms rather than matching a textbook category perfectly.

Under timed conditions, annotate sender base, next sequence number, window edge and receiver expectation before narrating the trace. Review errors caused by sliding the window too early, accepting forbidden out-of-order packets or confusing endpoint pressure with path pressure. Finish by explaining why maximum individual throughput is not the only objective when several flows share queues.

Count receiver buffers and network retransmissions in parallel for the same loss event. Change packet length while holding rate and round-trip time fixed, then recompute both transmission time and the window needed to cover waiting. Create one case where receiver space is the tighter bound and another where congestion state dominates. Explain why a large advertised receive window cannot authorise unsafe network load.

Test sequence-number wrap-around with a deliberately small space and verify that old data cannot be mistaken for new packets. Finish each trace by checking sender base, next sequence value, receiver expectation and application delivery count.

Working through Pipelining and Congestion Control in ELEC1401? Sia is AskSia’s AI Electrical Engineering tutor — ask any ELEC1401 Pipelining and Congestion Control question and get a clear, step-by-step explanation grounded in how ELEC1401 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 8 of your subjects at University of Leeds, plus 1,000+ more Bibles across the AskSia library.
Sia - your ELEC1401 tutor, unlimited, worked the way the exam marks it
The full 4-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
ELEC1401 · Introduction to Communication Systems - independent study guide on the AskSia Library. More University of Leeds subjects · Microeconomics across all universities