📝 Flow control techniques for QoS (10 MCQs)
Regulating Traffic Offered to a Network Path
Flow control techniques regulate how quickly a sender or traffic source injects data so that receivers and network resources are not overwhelmed. In QoS systems, rate regulation helps keep offered traffic within an expected profile and reduces queue growth during congestion. It complements scheduling and admission control, but it is not the same as reserving bandwidth or assigning a packet priority.
Receiver Flow Control and Network Congestion Control
Receiver-based flow control limits transmission according to buffer capacity, as TCP does with its advertised receive window. Congestion control responds to network conditions, often by adjusting a sender's rate or congestion window. Pacing spreads packets over time, while shaping delays excess packets and policing marks or discards traffic outside a configured profile.
Rate Feedback, Pacing and Queue Management
A sender may receive feedback indicating that its transmission rate should decrease, or it may pace packets according to a configured rate. At routers, meters compare traffic with a profile and shape or police packets. Queue management monitors buffer conditions, while the scheduler allocates outgoing link time among the admitted traffic classes.
Example: Preventing a Sender from Overrunning a Link
Suppose a video source is configured for an average rate of 4 Mbit/s with a limited burst allowance. A token-bucket shaper releases packets when tokens are available and delays packets during a temporary excess. This reduces bursts presented to the next router, making queue occupancy and competing-flow behavior more predictable.
Combining Flow Regulation with QoS Scheduling
Rate regulation supports QoS by controlling the traffic load that scheduling and buffers must handle. TCP receiver windows protect endpoint buffers, while congestion control helps avoid overwhelming shared paths. Network shapers and policers enforce administrative profiles at boundaries. These functions may cooperate, but each controls a different point in the transmission process.
Separating Flow Control from Bandwidth Reservation
'Flow control guarantees a fixed bandwidth' is incorrect because it regulates sending, not resource allocation. 'TCP receive window measures network congestion' confuses receiver capacity with congestion control. 'Policing delays every excess packet' is false; a policer commonly marks or drops nonconforming traffic rather than buffering it for later transmission. Policers enforce rather than delay.
Flow Regulation Mechanisms and Their Purposes
Be ready to distinguish receiver flow control, congestion control, pacing, shaping and policing by their control target and action. Trace how a token-bucket shaper handles a burst, and explain why reducing a sender rate can prevent persistent queues. Do not describe flow control as an end-to-end QoS guarantee. This prevents queues growing without control.
Flow Regulation and Congestion Control Terms
- Receive window - TCP limit based on receiver buffer availability.
- Congestion control - Sender response to congestion.
- Pacing - Spacing packets across time at a controlled rate.
- Shaping - Delaying packets to conform to a traffic profile.
- Policing - Marking or dropping traffic outside its profile.
- Queue management - Controlling packet storage and congestion behavior.
📝 All Flow control techniques for QoS MCQs
Q1. If a network implements priority queuing, what is the most likely effect on the average delay of low‑priority traffic compared to FIFO queuing?
📖 Explanation: Priority queuing serves high‑priority packets first, causing them to bypass the queue while low‑priority packets wait behind them. Consequently, low‑priority traffic experiences longer waiting times than in a FIFO system where all packets are served in order of arrival, leading to an increase in its average delay.
Q2. A token bucket is configured with a token generation rate of Mbps and a bucket depth of Mbits. What is the maximum burst size that can be transmitted without violating the token rate?
📖 Explanation: The token bucket allows a burst up to the amount of stored tokens, which equals the bucket depth. With Mbits, the sender can transmit a burst of 4 Mbits instantly; any larger burst would exceed the available tokens and breach the configured rate.
Q3. Suppose a traffic shaper first applies a leaky bucket with a leak rate of Mbps and then a token bucket with parameters Mbps, Mbits. How does this two‑stage shaping affect jitter compared to using only a leaky bucket?
📖 Explanation: The initial leaky bucket limits the average output rate, while the subsequent token bucket permits controlled bursts up to the bucket depth. This combination smooths variations in inter‑arrival times, thereby reducing jitter relative to a single leaky bucket that can produce larger, less predictable spacing.
Q4. Which statement best contrasts FIFO queuing with Weighted Fair Queuing (WFQ) regarding bandwidth allocation?
📖 Explanation: WFQ assigns each flow a weight that determines its share of the link capacity, ensuring proportional fairness. FIFO, by contrast, treats all packets identically and serves them in arrival order, which can lead to one flow monopolizing bandwidth if it sends more traffic, offering no guaranteed share.
Q5. How does RSVP in Integrated Services differ from the DS field used in Differentiated Services for expressing QoS requirements?
📖 Explanation: RSVP sets up a reservation for each individual flow, maintaining state in routers for that flow, whereas DiffServ's DS field is a small header bit pattern that classifies packets into a small number of pre‑defined service classes, eliminating per‑flow state and simplifying scalability.
Q6. During a network overload, why might admission control be more effective than simple resource reservation for maintaining QoS?
📖 Explanation: Admission control evaluates the current load before accepting a new flow; if the network cannot support the requested resources, the flow is denied, preventing the system from becoming oversubscribed. Simple reservation may allocate bandwidth that cannot be honored during congestion, leading to degraded QoS for all flows.
Q7. For a video‑conference application that is highly sensitive to jitter but tolerant of moderate delay, which QoS mechanism should be prioritized?
📖 Explanation: Video conferencing requires consistent packet spacing; assigning the flow the highest priority ensures it experiences minimal queuing delay variability, directly reducing jitter. While some delay is acceptable, priority queuing guarantees that packets are transmitted promptly and uniformly, satisfying the jitter‑sensitive nature of the application.
Q8. If a network must support both VoIP (low delay, low jitter) and bulk file transfer (high bandwidth, tolerant of delay), which combination of QoS techniques best satisfies both requirements?
📖 Explanation: Priority queuing gives VoIP packets precedence, guaranteeing the low delay and jitter it needs. Weighted Fair Queuing then allocates the remaining bandwidth fairly among bulk transfers, allowing them to use the leftover capacity without starving other traffic, meeting both service requirements.
Q9. Design a QoS policy for three flows: (1) real‑time video requiring 5 Mbps, < 100 ms delay, jitter < 10 ms; (2) interactive gaming needing 1 Mbps, < 50 ms delay, jitter < 5 ms; (3) email with 0.1 Mbps, no strict delay. Which set of mechanisms best meets these constraints?
📖 Explanation: DiffServ allows classification into three service classes, matching the distinct needs. Token bucket shaping for video permits controlled bursts while keeping jitter low, leaky bucket for gaming smooths traffic to meet tight delay and jitter constraints, and email can be left unshaped, using the remaining bandwidth efficiently.
Q10. In QoS terminology, what does the term 'reliability' refer to?
📖 Explanation: Reliability describes how consistently a flow can deliver its packets to the receiver without being lost or requiring retransmission. It reflects the probability that transmitted data arrives intact, which is crucial for applications such as email or file transfer that depend on accurate delivery.