Circuit and Packet Switching
Circuit and Packet Switching
• A switch/router reads the whole packet, then reads the address and forwards the packet – store and forward
• No reservations are needed - each packet uses full link bandwidth -resources used as needed First come first
serve.
• Major benefit:
• If you need more bandwidth, then you can get it, it you don’t need it, then maybe someone else can use it.
• Major drawback:
• What happens if two packets arrive at a switch and both need to go to the same output interface ?
* One packet is either dropped, or is placed in a buffer. Either way, something bad has happened, the packet is gone or is
delayed. This would never happen on a circuit switched network.
queuing delay and packet loss
Statistical Multiplexing
• Statistical multiplexing is a method of sharing a communication channel among multiple users or data
streams.
• It dynamically allocates bandwidth to different users or data streams based on their demand and traffic
patterns.
• Rather than allocating fixed resources to each user, statistical multiplexing allows users to share the
available bandwidth as needed.
• It is commonly used in packet-switched networks, such as the Internet, where packets from different
sources compete for transmission on the same link.
• Statistical multiplexing can lead to more efficient utilization of network resources compared to
techniques like time-division multiplexing (TDM) or frequency-division multiplexing (FDM)
Store-and-Forward
• Store-and-forward is a transmission technique where the entire data packet is received and
stored at each intermediate node (switch or router) before being forwarded to the next node.
• In store-and-forward switching, the receiving node checks the integrity of the entire packet
before forwarding it.
• This technique ensures that the entire packet is received correctly and can be retransmitted
if errors are detected.
• Store-and-forward switching introduces some delay in the transmission process since the
entire packet must be received before forwarding can begin.
• It is used in various types of networks, including Ethernet networks and wide area networks
(WANs), where reliable packet delivery is essential.
• How long does it take to send a file of 640,000 bits from host A to
host B over a circuit-switched network?
• All links are 1.536 Mbps
• Each link uses TDM with 24 slots/sec
• 500 msec to establish end-to-end circuit