GateMCQSCIENTIFIC PREP LAB
PlanSign Up
🎬 Computer Science (CS) • Animated Simulator

TCP Congestion Control (Slow Start, AIMD, 3-Dup-ACK vs Timeout) Lab

Interactive TCP Reno/Tahoe Congestion Window (cwnd) vs RTT simulator animating exponential Slow Start, linear Congestion Avoidance, 3-Dup-ACK Fast Recovery, and Timeout resets.

All 30 Simulators Study Notes Solve MCQs
Computer Science (CS)cwnd RTT Trajectory

TCP Congestion Control (Slow Start, AIMD, 3-Dup-ACK vs Timeout) Lab

RTT #1: cwnd = 1 MSS
Initial ssthresh = 8 MSSNew ssthresh = 6 MSSR1R2R3R4R5R6R7R8R9R10R11R12
Governing Engineering Law
Slow Start: cwnd←2⋅cwnd/RTT,3-Dup-ACK: cwnd←cwnd2,RTO: cwnd←1 MSS\text{Slow Start: } \text{cwnd} \leftarrow 2\cdot\text{cwnd}/\text{RTT}, \quad \text{3-Dup-ACK: } \text{cwnd} \leftarrow \frac{\text{cwnd}}{2}, \quad \text{RTO: } \text{cwnd} \leftarrow 1\text{ MSS}
1. Exponential Slow Start (cwnd < ssthresh)

Starting at 1 MSS, every acknowledged segment adds +1 MSS — doubling cwnd every RTT (1 → 2 → 4 → 8 → 16 MSS) until reaching ssthresh.

2. Additive Increase Congestion Avoidance (cwnd ≥ ssthresh)

Above ssthresh, TCP probes bandwidth cautiously, adding just +1 MSS per full RTT of ACKs (linear upward ramp).

3. Multiplicative Decrease: 3-Dup-ACK vs Timeout

3 Duplicate ACKs indicate mild packet loss (packets still arriving!), so TCP Reno halves ssthresh = cwnd/2 AND sets cwnd = ssthresh. A full Timeout signals severe congestion, resetting cwnd = 1 MSS!

GATE Exam-Hall Trap: Remember: TCP effective sending window is ALWAYS min(cwnd, rwnd) — even if cwnd grows to 64 KB, a receiver advertising rwnd = 16 KB caps transmissions at 16 KB!

Explore All 30 Interactive Engineering Simulators

Electrical (EE)
3-Phase Rotating Magnetic Field (RMF) & Induction Slip Animator
Electrical (EE)
Series RLC Resonance, Phasor Triangle & Q-Factor Magnification Lab
Electrical (EE)
DC-DC Buck & Boost Chopper PWM Current Loop & Volt-Second Animator
Electronics & Telecom (ECE)
Nyquist-Shannon Sampling & Spectral Aliasing Folding Animator
Electronics & Telecom (ECE)
AM, DSB-SC & Wideband FM Envelope & Over-Modulation Animator
Electronics & Telecom (ECE)
Transmission Line Forward, Reflected & Standing Wave (VSWR) Animator
Civil (CE)
Beam Elastic Deflection, Shear Force (SFD) & Bending Moment (BMD) Lab
Civil (CE)
2D Mohr’s Circle & Rotating Stress Element Transformation Animator
Civil (CE)
Terzaghi 1D Soil Consolidation & Pore-Water Isochrone Animator
Computer Science (CS)
5-Stage RISC Pipeline Hazard, Stall Bubble & Operand Forwarding Lab
Computer Science (CS)
TCP Congestion Control (Slow Start, AIMD, 3-Dup-ACK vs Timeout) Lab
Sorting
Quick Sort (Lomuto Partition)
Sorting
Merge Sort (Divide & Merge)
Sorting
Insertion Sort (Adaptive)
Sorting
Selection Sort (Min-Swap)
Sorting
Bubble Sort (Early-Exit Flag)
Searching & Strings
Binary Search (Interval Halving)
Searching & Strings
KMP String Matching (LPS Table)
Graph Algorithms
Dijkstra Shortest Path (Greedy)
Graph Algorithms
BFS Queue vs DFS Stack Traversal
Logic & OS Systems
OS Page Replacement (LRU vs FIFO)
Logic & OS Systems
1-Bit Full Adder & Universal Gates
Operating Systems
CPU Scheduling Live Gantt Chart (SRTF / RR / SJF / FCFS)
Operating Systems
Banker’s Deadlock Safety Sequence Step-by-Step
Operating Systems
Disk Arm Seek Trajectory Drawing (SSTF / SCAN / C-SCAN / C-LOOK)
Operating Systems
Virtual Memory TLB + 2-Level Page Table Hardware Schematic
Digital Logic
Interactive 4-Variable K-Map Grouping & Prime Implicants
Digital Logic
3-Bit Synchronous Counter & Clock Divider Timing Waveforms
Digital Logic
4×1 Multiplexer Universal Boolean Function Schematic
Digital Logic
32-Bit IEEE-754 Floating-Point Bit-Field Decoder