Switch – Circuit and Packet Switching

switchswitching-modes

I'm struggling to understand 1 or 2 things about packet and circuit switching.

  • In circuit switching, resources are not shared and a it's guaranteed full capacity to the call right? They are "reserved" for a certain call/circuit. But in TDM aren't users sharing the link? And in FDM the capacity is divided so users can use the link at same time, but on different frequencies, isn't that sharing and capacity division?

  • Why is circuit switching slower and less responsive than packet switching?

Thanks.

Best Answer

  • With circuit switching, you have a 1-to-1 circuit with some predefined channel capacity which is guaranteed. For it to work, you must first establish a circuit/connection before you send any data, and break the connection after.

  • With packet switching, it's somewhat like the local post office - you bring the packets, send them, and let the other devices forward them around, to one or many different destinations.

What you mentioned in the first part is called multiplexing. When you establish, for example, a phone call, you get a 1-on-1 connection with the other side, and full channel capacity — 0–3400kHz for voice (at least in some parts of Europe), which only you can use. Since using separate wires is expensive, different multiplexing technologies have appeared, such as TDM, where your channel is "compressed", but you still have a 1-to-1 connection with the same capacity. With FDM, your call is mixed up to higher frequencies, but you still get a 1-to-1 channel, with the same capacity.

Yes, the medium is shared, but you still get the full capacity you have payed for, and a 1-to-1 channel.

As to the second part, circuit switching requires a circuit to be set up (you have to dial a number), and after sending the data/voice, you have to break down (shut down) the connection. When you need to communicate to a a lot of different people/devices, this takes time, since when one connection (call) is active, you cannot use that line for anything else, even if you are still waiting for the other person to answer/recieve the data. If compared to traditional networks, it takes a lot less time to send a 100 letters by post, then calling 100 different people.

Another problem with circuit switched systems is that the channel is used up even when no data is sent through it (noone else can use that channel at that time). If you have an 8-line telephone uplink, and even if all 8 callers are waiting on hold, your channel is still used up. With packet switched networks you can even oversell your connection (due to statistical multiplex) — if you're an ISP and have a 8Mbit/s uplink, you can sell 10, 20, maybe even more 1Mbit/s connections, since it is statistically improbable, that all of the users will use the connection fully at the same time. And even if they do, their connection still works, with lower speed (compared to blocked/dropped calls on circuit switched networks).