Delay-Based and Model-Based Congestion Control: Vegas, Compound and BBR
How congestion control can react to rising delay instead of waiting for loss: Vegas, FAST, Westwood, Compound TCP and LEDBAT, then BBR's model of bottleneck bandwidth and minimum RTT, with the delay signal and delivery-rate samples measured from a real Linux connection.
kvi5hnuCode Sprout team member15 min readOn this page
Every algorithm so far waits for a loss before slowing down. To get a loss, a sender has to fill the bottleneck queue until it overflows, so loss-based TCP keeps queues full by design, and everyone using the link pays for that in delay. There's an earlier warning sign: as the queue fills, the RTT rises. This article covers algorithms that use that signal: delay-based congestion control (Vegas, FAST, Westwood, Compound TCP, LEDBAT) and model-based congestion control (BBR), which estimates the path's bandwidth and delay directly.
The signal: RTT rises before packets drop
Here's a real Reno connection through a 20 Mbit/s bottleneck in the course lab (40 ms base RTT, 150 KB queue). The kernel's smoothed RTT and cwnd come from ss, sampled about every 15 ms:

Each extra segment in flight beyond the BDP (bandwidth-delay product: bottleneck rate × base RTT, the data that fills the path with no queue) waits in the queue, so the RTT rises in step with cwnd. A snapshot from the middle of the run:
t=12.01 s cwnd=151 rtt=90.567 ms minrtt=40.976 ms delivery_rate=18.9 Mbit/s
The RTT is more than twice the minimum, but the delivery rate is already at the bottleneck rate. All the extra window is buying is queuing delay. Here's the general picture:

The best operating point is the knee: just enough data in flight to keep the link busy (one BDP), with an empty queue. Loss-based algorithms instead operate at the cliff, where the buffer overflows. Between the two, throughput is the same and only delay grows.
Vegas
TCP Vegas (1994) was the first delay-based TCP. It compares two rates once per RTT:
expected = cwnd / BaseRTT (what we'd get if nothing were queued)
actual = cwnd / RTT (what we're getting)
diff = (expected − actual) × BaseRTT = cwnd × (1 − BaseRTT / RTT)
BaseRTT is the smallest RTT seen, an estimate of the propagation delay. diff estimates how many of this connection's segments are sitting in queues. Vegas keeps it between two thresholds, α and β:
diff < α: too little queued; the link may be underused, so increasecwndby one segment per RTT.diff > β: too much queued; decreasecwndby one segment per RTT.- otherwise, leave
cwndalone.
The original values were α = 1 and β = 3 segments. Keeping at least one segment queued ensures the link never goes idle, and the gap between α and β damps oscillation. Linux's tcp_vegas module uses α = 2 and β = 4. Both increase and decrease are linear, so Vegas is additive increase, additive decrease (AIAD). In slow start, Vegas doubles only every other RTT, and checks in between whether throughput actually grew.
Applying the formula to the measured Reno connection above:
base RTT (lowest seen): 41.0 ms
t= 3.01 s cwnd=119 RTT= 71.6 ms expected= 2.90 actual= 1.66 seg/ms queued≈ 50.9 segments
t= 6.00 s cwnd=155 RTT= 93.4 ms expected= 3.78 actual= 1.66 seg/ms queued≈ 87.0 segments
t= 9.01 s cwnd=113 RTT= 67.9 ms expected= 2.76 actual= 1.66 seg/ms queued≈ 44.8 segments
t=11.99 s cwnd=151 RTT= 89.8 ms expected= 3.69 actual= 1.68 seg/ms queued≈ 82.1 segments
Take the first line. expected = 119 ÷ 41.0 ms = 2.90 segments per millisecond. actual = 119 ÷ 71.6 ms = 1.66. The queue estimate is 119 × (1 − 41.0 ÷ 71.6) = 119 × 0.427 ≈ 50.9 segments.
The actual rate stays at about 1.66 segments per millisecond (about 19.3 Mbit/s of payload: the 20 Mbit/s bottleneck minus header overhead) whatever cwnd does. Meanwhile the estimated queue swings between about 45 and 87 segments, ten to twenty times Vegas's β. A Vegas sender on this path would have stopped growing at about cwnd ≈ 70 (one BDP of about 68 segments, plus a few queued), kept the RTT near 41 ms, and lost nothing.
Vegas's weaknesses
- Competing with loss-based flows. A Reno or CUBIC flow on the same bottleneck fills the queue. Vegas sees the RTT rise, backs off, and the loss-based flow takes the space. Vegas ends up with very little. This is the main reason delay-based TCP never became the Internet default.
- Wrong base RTT. If a route change makes the path longer, Vegas sees the higher RTT as queuing and slows down. If it starts while a queue is already full, it never learns the true base RTT and keeps more queued than intended.
- Reverse-path congestion. Delayed ACKs from a congested return path raise the RTT too, so Vegas slows down for congestion it isn't causing.
FAST, Westwood and Compound TCP
FAST TCP applies Vegas's idea to high-speed paths. It updates the window every other RTT, toward a target that depends on how far the measured queuing delay is from its goal: big steps when far away, small steps when close. It converges quickly and stably, and was commercialized by a company formed by its developers, so it saw less academic scrutiny than open alternatives.
TCP Westwood (and its corrected version, Westwood+) keeps NewReno's growth but changes what happens on a loss. The sender continuously estimates the eligible rate from the pattern of returning ACKs. On a loss, instead of halving, it sets ssthresh to that rate multiplied by the minimum RTT: the BDP it has actually been getting. On wireless links, where many losses are bit errors rather than congestion, this avoids needless window cuts. Linux has it as the tcp_westwood module.
Compound TCP (CTCP), from Microsoft, combines a loss-based window with a delay-based one. The send window is
win = min(cwnd + dwnd, receiver window)
cwnd behaves like standard Reno. dwnd, the delay window, uses a Vegas-like estimate of queued segments, diff = win × (1 − baseRTT/RTT):
- if
diffis below a targetγ(about 30 packets), the network looks underused, anddwndgrows quickly (a HighSpeed-TCP-like increase); - if
diffis aboveγ,dwndshrinks in proportion todiff; - on a loss,
dwndis cut too, and it never goes below zero.
When queues are empty, CTCP scales up quickly. When queues build, dwnd drains away and CTCP behaves like Reno, so it doesn't lose to loss-based flows. It shipped with Windows Vista and Windows Server 2008, was on by default in the server and in later Windows versions' standard TCP settings (though off by default in Vista and Windows 7), and was replaced by CUBIC as the Windows default in 2017 (Windows 10 version 1709).
LEDBAT: delay-based on purpose
The weakness that kept Vegas from deployment, yielding to loss-based traffic, is exactly what you want for background transfers. LEDBAT (Low Extra Delay Background Transport, RFC 6817, Experimental) is a delay-based algorithm that aims for a fixed small queuing delay (at most 100 ms) and backs off as soon as other traffic adds more. BitTorrent's µTP (Micro Transport Protocol, over UDP) uses it, and Windows has used a LEDBAT variant for operating system updates and other background downloads. RFC 9743's guidance accepts such scavenger algorithms as a deliberate design choice.
BBR: a model of the path
BBR (Bottleneck Bandwidth and Round-trip propagation time), developed at Google, isn't delay-based in Vegas's sense. Instead of reacting to how much the RTT has risen, it builds an explicit model of the path from two measurements, and sends according to the model:
- BtlBw, the bottleneck bandwidth: the maximum delivery rate seen recently. The delivery rate is the amount of data acknowledged over an interval divided by that interval, measured per ACK.
- RTprop, the round-trip propagation time: the minimum RTT seen over the last 10 seconds.
Their product is the path's BDP. BBR then paces packets at about BtlBw, and caps data in flight at about twice the BDP. The aim is the knee in the picture above: full throughput, nearly empty queues.
Linux computes delivery rate for every TCP connection, whatever the congestion control, so this lab can show the input BBR would see even though the connection was Reno:

The samples sit just under the 20 Mbit/s bottleneck (the difference is header overhead), and the minimum RTT seen is 41 ms. A model built from those two numbers would put the BDP at about 19.3 Mbit/s × 41 ms ≈ 99 KB, or about 68 segments (19,300,000 bit/s × 0.041 s ≈ 791,000 bits ≈ 99,000 bytes, and 99,000 ÷ 1448 bytes per segment ≈ 68). The Reno flow kept 83 to 166 segments in flight: it could have kept the same throughput with roughly half the window and half the RTT.
The trouble with measuring both
You can't measure both values at once. To see the maximum bandwidth, you have to send at least a BDP, which may build a queue. To see the minimum RTT, the queue has to be empty, which means sending less than the link can carry. BBR alternates between the two in a state machine:

- Startup grows the rate quickly (pacing gain about 2.77, enough to double each round) until the bandwidth estimate stops growing for a few rounds, or loss becomes heavy.
- Drain sends below the estimate to empty the queue Startup created.
- ProbeBW is the steady state. It cruises at the estimated rate, periodically probes up by sending faster (gain 1.25) to see whether more bandwidth is available, then goes down (gain 0.9) to drain whatever queue the probe created.
- ProbeRTT runs when the minimum RTT hasn't been refreshed for about 5 seconds. BBR cuts data in flight sharply for at least 200 ms so the queue empties and the true RTprop can be measured.
BBR versions, and what's deployed
| Version | Status | Where |
|---|---|---|
| BBRv1 | In mainline Linux since 4.9 (2016) as tcp_bbr | Widely used by servers that enable it |
| BBRv2 | Research version, never merged into mainline Linux | Superseded |
| BBRv3 | draft-ietf-ccwg-bbr-07 (November 2026), aimed at Experimental | Google's own servers; not in mainline Linux |
BBRv1 ignored loss as a signal. That gave it excellent throughput on lossy long paths, but in shallow buffers it could keep sending into a full queue with high retransmission rates, and against CUBIC in deep buffers it often took more than its share. Later versions respond to loss: BBRv3 ends a bandwidth probe when a round loses more than 2% of its packets, and reduces by β = 0.7 on loss. The current draft also requires CE (Congestion Experienced) marks to be treated as congestion when ECN is used (article 77 covers ECN marking), without specifying the full response.
Common questions
If delay-based control is better, why isn't it the default?
Because it loses to loss-based traffic on shared links. A single delay-based flow among CUBIC flows sees the queue they build and backs off. Only algorithms that keep some loss-based behavior (Compound TCP, BBR) or bottlenecks that separate flows (fair queuing, L4S, article 77) avoid this.
Is BBR delay-based?
Not in the Vegas sense. It doesn't steer by how much the RTT has increased. It uses the minimum RTT only as one half of a model of the path, and paces at its bandwidth estimate. Rising RTT doesn't directly slow it down.
Why does BBR need pacing when Reno doesn't?
Reno relies on the ACK clock to space packets. BBR decides a rate from its model, and sending a full window back-to-back would build exactly the queue it wants to avoid. Linux supports pacing for any congestion control (through the fq qdisc, a queueing discipline that schedules packets per flow, or internal TCP pacing), but BBR depends on it.
Why do RTT measurements lie?
The RTT includes queuing in both directions, delayed ACKs on the receiver, Wi-Fi retransmissions, and processing at both ends. A delay-based sender can't tell its own queue from any of these. Filtering (minimums over windows, smoothing) helps but can't separate them fully.
Can I see the delivery rate and minimum RTT for my own connections?
Yes, on Linux: ss -ti shows delivery_rate, minrtt, rtt, pacing_rate and, for BBR connections, the model's bw and mrtt values.
Summary
- As data in flight goes beyond one BDP, throughput stays the same and only queuing delay grows. The knee (one BDP) is the ideal operating point; loss-based TCP operates at the cliff where the buffer overflows.
- Vegas estimates queued segments as
cwnd × (1 − BaseRTT/RTT)and keeps them betweenαandβ. Applied to the measured Reno flow, the estimate was 45 to 87 segments, against a target of 2 to 4. - Delay-based flows lose to loss-based flows on shared queues, and are fooled by route changes and reverse-path delay.
- Westwood sets
ssthreshfrom measured rate × minimum RTT. Compound TCP adds a delay window to Reno's window. FAST is a high-speed Vegas. LEDBAT uses the yielding behavior on purpose for background traffic. - BBR models the path as maximum delivery rate × minimum RTT, paces at the estimated rate, and alternates between probing for bandwidth and probing for RTT. BBRv1 is in Linux; BBRv3 is an IETF draft (
draft-ietf-ccwg-bbr-07, Experimental) and not in mainline Linux. It wasn't run in this lab.
Practice questions
1. A flow has cwnd = 60 segments, BaseRTT = 40 ms and a current RTT of 50 ms. What is Vegas's diff, and with α = 2 and β = 4, what does Vegas do?
Answer
diff = 60 × (1 − 40/50) = 12 segments, which is above β = 4. Vegas decreases cwnd by one segment in the next RTT, and keeps doing so while diff stays above 4.
2. A path's delivery rate peaks at 50 Mbit/s and its minimum RTT is 30 ms. What BDP would BBR's model compute, in bytes and in 1448-byte segments?
Answer
50,000,000 bit/s × 0.03 s = 1,500,000 bit = 187,500 bytes, or about 129 segments of 1448 bytes. BBR would pace at about 50 Mbit/s and cap data in flight at roughly twice that.
3. A Vegas flow and a CUBIC flow share a bottleneck with a large buffer. Which one gets more throughput, and why?
Answer
CUBIC. It keeps growing until the buffer overflows, so the queue grows. Vegas sees its RTT rise, concludes it has too many segments queued, and shrinks its window. CUBIC fills the space Vegas gives up.
4. Why must BBR occasionally reduce data in flight sharply (ProbeRTT)?
Answer
To measure the minimum RTT, the queue has to be empty. If BBR always kept at least a BDP in flight and others kept the queue partly full, its RTT samples would all include queuing delay. By reducing data in flight for at least 200 ms every few seconds, it lets the queue drain and refreshes its propagation delay estimate.
5. A route change makes a path's real propagation delay grow from 20 ms to 60 ms. How does this affect Vegas, and how does it affect BBR?
Answer
Vegas keeps its old BaseRTT of 20 ms, so it sees 40 ms of extra delay as queuing and keeps reducing its window, possibly to a small fraction of what the path can carry. BBR's minimum-RTT filter expires after 10 seconds, so it updates RTprop to 60 ms within one filter window and recomputes its BDP.
6. Why is a "scavenger" algorithm like LEDBAT useful, given that it gets so little bandwidth under competition?
Answer
That's its purpose: background transfers such as software updates or backups should use spare capacity without making interactive traffic worse. LEDBAT gets the full link when it's idle and backs off as soon as other flows add queuing delay.
Previous: High-Speed TCP: CUBIC, Fairness and Sharing Congestion State

More in TCP/IP Course
Quiz: TCP/IP Delicate Details
Twenty-five questions on the details that catch out experienced engineers: sequence numbers for SYN and FIN, TIME_WAIT versus tcp_fin_timeout, Karn's algorithm, socket buffer doubling, even and odd ephemeral ports, IPv6 checksums and fragmentation, negative DNS caching, and capture filter traps.
Quiz: TCP/IP Interview Questions
Thirty-three networking questions of the kind asked in developer, SRE and network engineering interviews: what happens when you load a URL, TCP versus UDP, handshakes, closing and TIME_WAIT, subnetting, NAT, DNS, MTU problems, congestion, TLS and QUIC, and debugging slow or failing connections.
Quiz: TCP/IP Course Final Exam (All Parts)
The final exam for the TCP/IP course: thirty questions across all fourteen parts, from packets and addressing through Ethernet, ARP, IP, DHCP, NAT, ICMP, UDP, DNS, TCP connections, reliability, congestion control, security, QUIC and troubleshooting.
Quiz: Modern Transports and Troubleshooting (TCP/IP Part 14)
Review modern transports and troubleshooting: QUIC packets, handshakes, 0-RTT, streams and connection migration, HTTP/3, Multipath TCP, SCTP multihoming, and a layered method for diagnosing real network faults.
Discussion
Sign in to ask a question or share what you learned.