Packet Switching: Shared Resource Data Networks
Comparison with Circuit Switching
Read aloud is unavailable in this browser.
The Great Paradigm Decision
How should a network share its resources among multiple users? This question has defined telecommunications architecture since the invention of the telephone. Two fundamentally different answers have emerged: circuit switching, which dedicates resources for the duration of a communication, and packet switching, which shares resources dynamically among many conversations.
The telephone network chose circuit switching in the 1870s. The Internet chose packet switching in the 1970s. Today, both paradigms coexist, each dominating in specific contexts. Understanding when to apply each approach—and how they can be combined—is essential knowledge for any network engineer.
This page provides an exhaustive comparison of packet switching and circuit switching. We synthesize everything covered in this module—store-and-forward, datagrams, virtual circuits, message switching—into a comprehensive analytical framework for evaluating network design choices.
By completing this page, you will: (1) Compare the fundamental principles of circuit and packet switching, (2) Analyze resource utilization and efficiency under different traffic patterns, (3) Evaluate performance characteristics including latency, jitter, and throughput, (4) Calculate network capacity under both paradigms, (5) Apply this knowledge to select the appropriate switching approach for specific applications.
Fundamental Principles: A Side-by-Side Comparison
Before diving into detailed analysis, let us establish a clear understanding of how these two paradigms differ at the most fundamental level.
Circuit Switching: Dedicated Resources
Core Principle: A dedicated communication path is established between source and destination before any data transfer. Resources (bandwidth, time slots, wavelengths) are reserved exclusively for this connection for its entire duration.
The Telephone Model:
- Caller initiates call (off-hook, dial)
- Network establishes path through switches
- Resources reserved along the path
- Parties communicate with guaranteed capacity
- Call ends, resources released
Resource Dedication:
- Physical circuit (early systems): actual copper wire path
- Time-division: dedicated time slots in each TDM frame
- Frequency-division: dedicated frequency band
- Wavelength-division: dedicated optical wavelength
Packet Switching: Shared Resources
Core Principle: Data is fragmented into packets that are transmitted independently through a shared network infrastructure. Resources are consumed only when packets are actually being transmitted—no reservation when idle.
The Internet Model:
- Source has data to send
- Data fragmented into packets
- Each packet routed independently through network
- Packets may take different paths, experience different delays
- Destination reassembles packets into original data
Resource Sharing:
- Statistical Multiplexing: Multiple sources share the same link
- On-Demand Usage: Bandwidth consumed only when data transmitted
- Queue-Based Handling: Packets buffer when capacity exceeded
- Best-Effort Delivery: No guarantees, but high average utilization
| Characteristic | Circuit Switching | Packet Switching |
|---|---|---|
| Resource Allocation | Dedicated for connection duration | Shared via statistical multiplexing |
| Connection Setup | Required before communication | Not required (connectionless variants) |
| Data Unit | Continuous bit stream | Discrete packets |
| Path | Fixed for connection duration | May vary per-packet (datagram) |
| Bandwidth When Idle | Wasted (reserved but unused) | Available to other users |
| Delay Characteristic | Constant, predictable | Variable (queuing delay) |
| Congestion Handling | Blocking (new calls rejected) | Queuing (packets delayed) |
| Failure Impact | Connection dropped | Packets rerouted (datagrams) |
Circuit switching trades efficiency for predictability—guaranteed resources mean guaranteed performance, but wasted capacity when idle. Packet switching trades predictability for efficiency—shared resources mean higher utilization, but variable performance under load. Every network design decision involves navigating this fundamental trade-off.
Resource Utilization: The Efficiency Question
One of the most compelling arguments for packet switching is its superior resource utilization. Let us analyze this quantitatively.
The Voice Call Example
Consider a typical voice conversation:
- Total call duration: 10 minutes
- Active speaking time: ~4 minutes (40% talk time per direction)
- Pauses, listening: ~6 minutes
Circuit Switching Utilization:
- Bandwidth reserved: 64 kbps (full call duration)
- Actual data transmitted: ~40% of reserved capacity
- Utilization: 40%
- 60% of reserved capacity is wasted (silence)
Packet Switching with Voice Activity Detection (VAD):
- Packets generated only when speaking
- No bandwidth consumed during silence
- Utilization: ~100% of transmitted data (near-theoretical max)
- Same link can carry 2-3x more calls
The Mathematical Framework
Let's formalize the utilization analysis:
Circuit Switching: $$U_{circuit} = \frac{T_{active}}{T_{total}} = \text{Activity Factor}$$
For bursty data (web browsing, email):
- Activity factor might be 1-5%
- 95-99% of reserved capacity wasted
Packet Switching: $$U_{packet} = \frac{\sum_{i} D_i}{C \times T}$$
Where:
- D_i = Data volume from source i
- C = Link capacity
- T = Time period
With many independent sources, utilization approaches link capacity (subject to congestion management).
Statistical Multiplexing Gain
Scenario: 30 users, each generating data at 100 kbps when active, with 10% activity factor.
Circuit Switching Capacity Needed:
- Each user requires 100 kbps reserved
- Total: 30 × 100 kbps = 3 Mbps
- Average utilization: 10%
Packet Switching Capacity Calculation:
Using probability theory, if each user is active with probability p = 0.1:
Expected active users at any moment: E[active] = 30 × 0.1 = 3
Expected aggregate demand: 3 × 100 kbps = 300 kbps
With 300 kbps link (oversubscribed 10:1):
- Most of the time, demand < capacity
- Occasional congestion when many users simultaneously active
Probability that more than 10 users active (link congestion):
$$P(X > 10) = 1 - \sum_{k=0}^{10} \binom{30}{k} (0.1)^k (0.9)^{30-k}$$
This probability is extremely small (~0.0003 or 0.03%).
With 1 Mbps link (3:1 oversubscription):
- P(congestion) essentially zero
- 3× efficiency gain over circuit switching
- Users experience occasional, brief delays
Statistical Multiplexing Gain Formula
$$SMG = \frac{N \times R_{peak}}{C_{required}}$$
Where:
- N = Number of users
- R_peak = Peak rate per user
- C_required = Actual capacity needed (with acceptable congestion probability)
For bursty traffic, SMG can be 5-10× or higher, meaning packet switching needs only 10-20% of the capacity that circuit switching would require.
Data traffic is inherently bursty—web pages load in bursts, file downloads happen sporadically, email arrives unpredictably. Circuit switching's dedicated capacity would waste 90%+ of network resources. Packet switching's statistical multiplexing enables the Internet to serve billions of users with economically feasible infrastructure. This efficiency advantage is why packet switching dominates data networking.
Performance Characteristics: Latency, Jitter, and Throughput
Performance requirements vary dramatically across applications. Circuit and packet switching offer fundamentally different performance profiles.
Latency Analysis
Circuit Switching Latency:
Once a circuit is established, latency is constant and minimal:
$$D_{circuit} = d_{prop} \text{ (propagation delay only)}$$
No queuing delay—bits flow directly through the circuit. No store-and-forward delay—switches operate in cut-through mode.
However, circuit setup adds one-time latency:
- Signaling propagates hop-by-hop
- Setup time: 100ms to several seconds
- For short transactions, setup dominates
Packet Switching Latency:
$$D_{packet} = d_{trans} + d_{prop} + d_{queue} + d_{proc}$$
Per-hop:
- d_trans = Transmission delay (packet size / bandwidth)
- d_prop = Propagation delay
- d_queue = Queuing delay (highly variable)
- d_proc = Processing delay
Packet switching has no setup delay but variable per-packet delay due to queuing.
Jitter Analysis
Jitter = Variation in delay between consecutive packets
Circuit Switching Jitter: $$J_{circuit} \approx 0$$
Constant delay path—no variation.
Packet Switching Jitter: $$J_{packet} = \sigma(d_{queue})$$
Jitter depends on queue depth variation:
- Light load: Low jitter (short queues)
- Heavy load: High jitter (variable queue depth)
- Congestion: Very high jitter (queues fill and drain)
| Characteristic | Circuit Switching | Packet Switching |
|---|---|---|
| Setup Latency | 100ms - seconds | None (connectionless) |
| Per-transmission Latency | Propagation only | Transmission + propagation + queuing |
| Latency Variability | None | High (dependent on load) |
| Jitter | Near-zero | Variable (ms to 100s of ms) |
| Worst-case Latency | Bounded (propagation) | Unbounded (queue overflow) |
| Latency Under Congestion | N/A (call blocked) | Increases dramatically |
Throughput Analysis
Circuit Switching Throughput:
Constant, guaranteed rate for the duration of the connection:
- Rate = Reserved capacity (e.g., 64 kbps voice circuit)
- Cannot exceed reserved rate
- Cannot fall below reserved rate (guaranteed)
- Total network throughput limited by number of simultaneous circuits
Packet Switching Throughput:
Variable, dependent on network conditions:
- Can burst to full link speed when network idle
- Degrades gracefully under load
- No per-flow guarantee without QoS mechanisms
Average Throughput Comparison:
Consider a 1 Mbps link:
Circuit Switching at 64 kbps per circuit:
- Maximum circuits: 15 (1 Mbps / 64 kbps ≈ 15)
- Total throughput: 15 × 64 kbps × activity_factor
- With 40% voice activity: 384 kbps effective
Packet Switching:
- Aggregate throughput: up to ~950 kbps (allowing for overhead)
- If 15 VoIP calls at 64 kbps compressed, 40% activity:
- Demand: 15 × 64 × 0.4 = 384 kbps
- Remaining 566 kbps available for data traffic
- Same voice quality, plus additional data capacity
Packet switching's variable latency and jitter pose challenges for real-time applications. VoIP systems need jitter buffers (add latency), video conferencing uses buffering and adaptive quality, and interactive gaming requires specialized netcode. These application-layer compensations are the cost of packet switching's efficiency gains.
Congestion and Failure Handling
How networks respond to overload and failure conditions is a critical differentiator between switching paradigms.
Congestion Response
Circuit Switching: Blocking
When resources are exhausted:
- New connection attempts are rejected ("blocked")
- Existing connections are unaffected
- Users hear "busy signal" or "all circuits busy"
- No degradation for active users
Blocking Probability (Erlang B Formula):
For M circuits with offered load A (in Erlangs):
$$P_{block} = \frac{A^M / M!}{\sum_{k=0}^{M} A^k / k!}$$
Network engineers dimension for target blocking probability (e.g., P < 0.01 or 1%).
Packet Switching: Queuing and Delay
When capacity is exceeded:
- Packets queue in buffers
- Delay increases for all users
- If queues overflow, packets are dropped
- Congestion affects all active flows
Queuing Theory Relationship:
$$D_{queue} = \frac{1}{\mu - \lambda}$$
Where:
- μ = Service rate (packets/second)
- λ = Arrival rate (packets/second)
As λ → μ (utilization → 100%), delay → ∞
Key Insight: Packet switching provides graceful degradation—everyone slows down rather than some being blocked. But under severe overload, everyone experiences poor performance.
- •TCP Congestion Control: Reduces sending rate when congestion detected (packet loss, increased RTT). Self-regulating but introduces delay.
- •Active Queue Management (AQM): Routers probabilistically drop packets before queues overflow (RED, CoDel). Provides early congestion signals.
- •Explicit Congestion Notification (ECN): Routers mark packets instead of dropping. Enables congestion signaling without loss.
- •QoS and Traffic Engineering: Prioritize critical traffic, reserve capacity for important flows. Brings circuit-like guarantees to packet networks.
- •Admission Control: Reject new flows if they would cause quality degradation. Brings blocking-like behavior to packet networks.
Failure Handling
Circuit Switching: Connection Drop
- If any switch or link on the path fails, the circuit is broken
- Connection terminates immediately
- User must re-establish connection manually
- PSTN: Dial again; ISDN: Re-initiate call setup
Recovery Options:
- Automatic circuit restoration (SONET/SDH protection)
- Backup circuits (1+1 or 1:N protection)
- Typically 50ms switchover for protected circuits
Packet Switching: Rerouting
Datagram Approach:
- Each packet routed independently
- If a router fails, subsequent packets automatically take alternate paths
- Routing protocols converge (seconds to minutes for typical IGPs)
- Some packets may be lost during convergence
- Connection persists (TCP retransmits lost packets)
Virtual Circuit Approach:
- Pre-computed backup paths (MPLS Fast Reroute)
- 50ms switchover to backup path
- No packet loss if backup pre-established
- Falls back to re-signaling if backup unavailable
| Scenario | Circuit Switching | Packet Switching (Datagram) | Packet Switching (VC/MPLS) |
|---|---|---|---|
| Light overload | New calls blocked | All traffic delayed slightly | All traffic delayed slightly |
| Severe overload | Many calls blocked | All traffic significantly delayed | Best-effort dropped, QoS protected |
| Link failure | Affected circuits drop | Packets reroute automatically | Fast reroute to backup path |
| Node failure | Affected circuits drop | Packets reroute around failure | Fast reroute if available |
| Recovery time | Manual reconnection or 50ms protection | Routing convergence: seconds-minutes | Fast reroute: ~50ms |
Packet switching's connectionless nature provides inherent resilience. The Internet was designed to survive partial network failures (originally, nuclear attack). This resilience has proven invaluable—major infrastructure failures rarely cause complete service outages. Traffic automatically flows around damaged portions of the network.
Application Suitability: Matching Paradigm to Need
Different applications have different requirements. Matching the switching paradigm to application needs is a core network design skill.
Application Requirement Categories
1. Latency Sensitivity
- Critical: Interactive voice, video conferencing, gaming
- Important: Web browsing, interactive applications
- Tolerant: Email, file transfer, streaming (buffered)
2. Jitter Sensitivity
- Critical: Real-time voice/video without buffering
- Important: Streamed media (moderate buffers)
- Tolerant: Non-real-time data transfer
3. Bandwidth Requirements
- Constant Bit Rate (CBR): Uncompressed voice/video
- Variable Bit Rate (VBR): Compressed media, interactive
- Bursty: Web, email, file transfer
4. Reliability Requirements
- Critical: Financial transactions, control systems
- Important: Email, file transfer
- Tolerant: Real-time media (missing frames acceptable)
| Application | Latency | Jitter | Bandwidth | Preferred Paradigm |
|---|---|---|---|---|
| PSTN Voice | Critical (<150ms) | Critical (<10ms) | CBR 64kbps | Circuit (traditional) |
| VoIP | Critical (<150ms) | Important (<30ms) | VBR 8-64kbps | Packet + QoS |
| Video Conference | Critical (<200ms) | Important (<50ms) | VBR 1-10Mbps | Packet + QoS |
| Web Browsing | Important (<1s) | Tolerant | Bursty | Packet |
| Tolerant (seconds) | N/A | Bursty | Packet | |
| Video Streaming | Tolerant (buffered) | Important | VBR 5-25Mbps | Packet |
| Online Gaming | Critical (<50ms) | Critical | Low, bursty | Packet + QoS |
| File Transfer | Tolerant | N/A | High, bursty | Packet |
| Industrial Control | Critical (<10ms) | Critical | Low | Circuit or Packet + TSN |
| Financial Trading | Critical (μs) | N/A | Low, bursty | Circuit/dedicated |
Decision Framework
Choose Circuit Switching (or Circuit-Like QoS) When:
- Latency and jitter bounds are absolute requirements
- Continuous, constant-rate data transfer
- Regulatory or contractual SLA requirements
- Ultra-low latency (microseconds) mandatory
- Absolute reliability required
Choose Pure Packet Switching When:
- Traffic is bursty with unpredictable patterns
- Efficiency and cost-effectiveness are priorities
- Some delay variation is acceptable
- Best-effort delivery is sufficient
- Resilience to failures is valued over predictability
Choose Packet Switching with QoS When:
- Mixed traffic types (real-time + data)
- Need efficiency of packet switching with circuit-like guarantees for critical traffic
- Enterprise or carrier networks serving multiple application types
- Cost constraints preclude dedicated circuits
- Internet access plus premium services
Modern networks rarely use pure circuit or pure packet switching exclusively. Enterprises use MPLS with QoS for mixed voice/video/data. Carriers use packet cores (IP/MPLS) with circuit-like service guarantees. Mobile networks (4G/5G) are all-IP but with extensive QoS mechanisms. The engineering skill is combining paradigms appropriately, not choosing one.
Network Capacity: Numerical Analysis
Let us work through concrete examples comparing circuit and packet switching capacity.
Example 1: Voice Network
Scenario: 1000 voice users, peak activity = 200 simultaneous calls, average call = 3 minutes, busy hour traffic
Circuit Switching Design:
- Each call requires 64 kbps dedicated circuit
- Peak requirement: 200 × 64 kbps = 12.8 Mbps
- Must provision for peak to avoid blocking
- 95% of capacity idle most of the time
VoIP (Packet Switching) Design:
- Compressed voice: 8-16 kbps per call
- Voice Activity Detection: 40% bandwidth savings
- Peak requirement: 200 × 16 kbps × 0.6 = 1.92 Mbps
- Add 50% headroom: 3 Mbps allocation
Result: Packet switching uses ~25% of circuit switching bandwidth for equivalent voice quality.
Example 2: Bursty Data Users
Scenario: 500 users, each needs 10 Mbps burst speed, but averages only 100 kbps
Circuit Switching Design:
- Each user requires 10 Mbps reserved
- Total capacity: 500 × 10 Mbps = 5 Gbps
- Actual utilization: 500 × 0.1 Mbps = 50 Mbps (1% utilization!)
Packet Switching Design:
- Average aggregate demand: 500 × 0.1 Mbps = 50 Mbps
- Allow 4× for burst handling: 200 Mbps
- Probability all 500 users burst simultaneously: essentially zero
Result: Packet switching requires 4% of circuit switching capacity.
Example 3: Mixed Traffic
Scenario: Enterprise with VoIP, video conferencing, and data
- 100 VoIP phones (20 concurrent calls max)
- 10 conference rooms (5 concurrent HD video sessions)
- 200 data users (mixed web, email, file transfer)
Circuit-Equivalent Calculation:
| Traffic Type | Peak Usage | Bandwidth Each | Circuit Capacity |
|---|---|---|---|
| VoIP | 20 calls | 64 kbps | 1.28 Mbps |
| Video | 5 sessions | 4 Mbps | 20 Mbps |
| Data | 200 users | 10 Mbps peak | 2,000 Mbps |
| Total | ~2 Gbps |
Packet Switching with QoS Calculation:
| Traffic Type | Bandwidth with Compression/VAD | QoS Treatment |
|---|---|---|
| VoIP | 20 × 16 kbps × 0.6 = 0.19 Mbps | EF (strict priority) |
| Video | 5 × 2 Mbps = 10 Mbps | AF41 (guaranteed) |
| Data | 200 × 0.2 Mbps avg = 40 Mbps | BE (best effort) |
| Total | ~50 Mbps | |
| With Headroom | ~100 Mbps |
Result: 100 Mbps Internet connection can serve this enterprise with packet switching. Circuit-equivalent would require 2 Gbps—20× more capacity.
The Cost Implication
If 1 Gbps connectivity costs $1000/month:
- Circuit switching approach: $2000/month (2 Gbps)
- Packet switching approach: $100/month (100 Mbps)
Annual savings: $22,800
This efficiency difference is why packet switching dominates modern networking.
Packet switching's statistical multiplexing enables enterprises and carriers to serve the same users with dramatically less infrastructure. The Internet's ability to serve billions of users at affordable prices is a direct result of this efficiency. Circuit switching could never have scaled to support today's Internet traffic patterns economically.
Hybrid Approaches: Combining the Best of Both
Modern networks increasingly combine circuit and packet switching concepts to achieve efficiency with guarantees.
MPLS Traffic Engineering
MPLS bridges the paradigms:
- Control Plane: IP-like routing protocols (OSPF, IS-IS, BGP)
- Data Plane: Label switching (circuit-like fixed paths)
- Resource Reservation: RSVP-TE for bandwidth guarantees
- Fast Failover: Pre-computed backup paths
Benefits:
- Statistical multiplexing efficiency on shared label-switched paths
- Traffic engineering for predictable performance
- QoS enforcement through traffic class queuing
- VPN isolation for service separation
5G Network Slicing
Mobile networks use virtualization to create circuit-like behavior:
Network Slices:
- eMBB (Enhanced Mobile Broadband): Best-effort, high bandwidth
- URLLC (Ultra-Reliable Low-Latency Communication): Guaranteed latency <1ms
- mMTC (Massive Machine-Type Communication): Efficient for IoT
Each slice behaves like a dedicated network, but shares physical infrastructure through statistical multiplexing.
Software-Defined WAN (SD-WAN)
SD-WAN creates virtual circuits over packet networks:
- Overlay tunnels across Internet, MPLS, LTE
- Per-application policy enforcement
- Dynamic path selection based on performance
- Circuit-like SLAs over packet underlay
Time-Sensitive Networking (TSN)
For industrial and automotive applications requiring deterministic latency:
IEEE 802.1 TSN Standards:
- Time-Aware Shaping (802.1Qbv): Time-slotted transmission
- Frame Preemption (802.1Qbu): Interrupt low-priority traffic
- Stream Reservation (802.1Qcc): Guaranteed bandwidth paths
Hybrid Nature:
- Ethernet packet switching foundation
- Time-synchronized network-wide
- Critical traffic gets circuit-like guaranteed slots
- Best-effort traffic fills remaining capacity
Optical Transport Networks (OTN)
Carrier backbone networks combine both paradigms:
TDM Layer: Circuit-switched time slots (ODU)
- Dedicated optical capacity
- Deterministic delay and bandwidth
- Protected with 1+1 or UPSR
Packet Layer: Statistical multiplexing (over TDM)
- IP/MPLS riding on optical circuits
- Efficiency through packet aggregation
- QoS within packet domain
The Layered Reality:
┌───────────────────────────────────────┐
│ Application │ Sees: Connections or Flows
├───────────────────────────────────────┤
│ Transport (TCP/UDP) │ Packet-based reliability/speed
├───────────────────────────────────────┤
│ Network (IP) │ Datagram routing
├───────────────────────────────────────┤
│ MPLS │ Label-switched paths
├───────────────────────────────────────┤
│ OTN │ TDM optical circuits
├───────────────────────────────────────┤
│ Physical (Fiber) │ Wavelength-division multiplexing
└───────────────────────────────────────┘
Every layer uses the optimal switching paradigm for its function.
Pure paradigms are becoming rare. Next-generation networks (5G/6G, deterministic networking, cloud-native infrastructure) combine packet efficiency with circuit-like guarantees. Understanding both paradigms—and how they can be combined—is essential for modern network engineering.
KEEP LEARNING
Keep learning for free.
Read the complete lesson, save your notes and pick up where you left off with a free account. No card needed.