About this simulator
Circuit switching reserves capacity along the whole path before any data moves — like a phone call. After a set-up phase the circuit carries data at a guaranteed rate with no queuing, but the capacity stays reserved even when nobody is talking. The simulation shows each phase and compares the total time with packet switching.
How it works
- Set-up: a signalling message travels to the destination and back, reserving a time slot (TDM) on every link.
- Transfer: with circuits sharing a link, each gets bits per second for the entire call.
- Tear-down releases the reservation. Total time set-up propagation.
Formulas used
- (TDM)
Worked example
A 125,000-byte (1 Mbit) message crosses 3 links of 10 Mbps shared by 5 TDM circuits, so one call gets Mbps. Set-up takes ; transfer takes ; propagation adds . Total: .
Enter these numbers in the simulator above to see every step.
When to use it
- Solving circuit-switching delay problems that ask for set-up and transfer time.
- Explaining why short bursts of data suit packet switching better.
- Understanding TDM and FDM sharing of a link.
Frequently asked questions
How do you calculate transfer time in circuit switching?
Divide the message size by the circuit rate. With TDM on a link of rate shared by circuits, each circuit gets , so transfer time ; add the set-up time and the propagation delay.
What is the main drawback of circuit switching?
The reserved capacity is wasted when the sender is silent, and the call needs a set-up phase before any data can flow.
When is circuit switching better than packet switching?
For steady, long-lasting flows such as voice calls that need guaranteed bandwidth and constant delay.