Академический Документы
Профессиональный Документы
Культура Документы
Switching Techniques:
Circuit & Packet
2
Circuit-Switching
Long-haul telecom network was designed for voice
where, all the Network resources are dedicated to
one call & is highly utilized .
Dedicated communication path reserved between
two stations
Requires three phases
•Call setup (Establish)
•Transfer
•Call clear (Disconnect)
• No storage of data at the intermediate nodes
3
Circuit Switching - Drawbacks
• Inefficient - Channel capacity is dedicated for
duration of connection, If no data, capacity is wasted
• Takes more Set up (connection) time
• As it is developed for voice traffic (phone), following
shortcomings are experienced when used for data:
– high idle time in connection (b/w host and terminal)
– Supports Constant data rate & hence sender and
receiver must operate at the same data rate which
is a limitation.
Circuit Switching: FDM and TDM
Example:
FDM
4 users
frequency
time
TDM
frequency
time
Introduction 1-5
Numerical example
• How long does it take to send a file of 640,000 bits from host
A to host B over a circuit-switched network? Assume,
– All links are 1.536 Mbps (bandwidth) or link speed
– Each link uses TDM with 24 slots/sec (24 users)
[Therefore, 1 user will have 1/24 th of the slot].
– 500 msec to establish end-to-end circuit
9
The use of Packets (long message is divided
into short message)
Simple Switching Network
(Consider Packet transmission from A to E)
15
Datagram Approach
–Each packet (datagram) is sent independently &
reach destination in different paths taking into
consideration the traffic, line efficiency, etc
• Packets can take any practical route
• Packets may arrive out of order
• Packets may go missing
– Its up to the receiver to re-order packets and
recover missing packets
– Advantages
More flexible & reliable (if a node fails, packets can be
sent on an alternate route)
No storage of data at the intermediate nodes
Datagram Approach
Virtual circuit Approach
– Preplanned route is established before any packets
are sent (similar to circuit switching- hence called
virtual circuit switching)
– Call request and call accept packets establish
connection (handshake)
– No need for routing decision for each packet (as in
datagram approach) at each node
– Each packet contains a Virtual circuit identifier
(VCI) instead of destination address along with data.
Virtual- Circuit Approach
19
Virtual Circuits vs. Datagram
• Virtual circuits
– Packets are forwarded more quickly
• No routing decisions to make at each node
– Intermediate nodes do not take routing decision
- Unlike Circuit Switching, packets are still buffered at each
node & queued for output over a line.
- Loss of a node looses all circuits through that node, Hence,
less reliable
• Datagram
– Every packet is treated independently, with no reference
to previous packet transmission
– No call setup phase required (Better if few packets are sent)
– Intermediate nodes take routing decision.
– Hence, more flexible & reliable (if a node fails,
subsequent packets may find an alternate route)
Packet Switching: Statistical Multiplexing (with
store & forward)
100 Mb/s C
A Ethernet statistical multiplexing
D E