Documente Academic
Documente Profesional
Documente Cultură
Abdul Hanan
Circuit Switching
In this network, the four circuit
switches are interconnected by
four links.
Each of these links has n
circuits, so that each link can
support n simultaneous
connections
The hosts (for example, PCs and
workstations) are each directly
connected to one of the
switches.
When two hosts want to
communicate, the network
establishes a dedicated end-toend connection between the
two hosts.
Circuit Switching
Thus, in order for Host A to send messages
to Host B, the network must first reserve
one circuit on each of two links.
Because each link has n circuits, for each
link used by the end-to-end connection,
the connection gets a fraction 1/n of the
link's bandwidth for the duration of the
connection
Circuit Switching
With FDM, the frequency spectrum of a link is
divided up among the connections established
across the link. Specifically, the link dedicates
a frequency band to each connection for the
duration of the connection.
Circuit Switching
For a TDM link, time is divided into frames of
fixed duration, and each frame is divided into a
fixed number of time slots . When the network
establishes a connection across a link, the
network dedicates one time slot in every frame
to this connection. These slots are dedicated
for the sole use of that connection, with one
time slot available for use (in every frame ) to
transmit the connection's data.
FDM
4 users
frequency
time
TDM
frequency
time
Packet Switching
In modern computer networks, the source
breaks long messages into smaller chunks
of data known as packets.
Between source and destination, each of
these packets travels through
communication links and packet switches
Packet Switching
mesh of interconnected
routers
packet-switching: hosts
break application-layer
messages into packets
forward packets from one
router to the next, across
links on path from source
to destination
each packet transmitted
at full link capacity
Packet-switching: store-andforward
L bits
per packet
source
321
R bps
R bps
destination
one-hop numerical
example:
L = 7.5 Mbits
R = 1.5 Mbps
one-hop transmission
delay = 5 sec
more on delay shortly
R = 100 Mb/s
R = 1.5 Mb/s
queue of packets
waiting for output link
D
E
If arrival rate (in bits) to link exceeds transmission rate of link for
a period of time:
packets will queue, wait to be transmitted on link
packets can be dropped (lost) if memory (buffer) fills up
Packet Switching
A
B
R = 100 Mb/s
R = 1.5 Mb/s
queue of packets
waiting for output link
D
E
If the arrival rate of packets to the switch exceeds the rate at which
the switch
can forward packets across the 1.5 Mbps output link, congestion will
occur as packets queue in the link' s output buffer before being
transmitted onto the link.
circuit-switching:
10 users
packet switching:
with 35 users, probability
> 10 active at same time
is less than .0004 *
..
example:
1 Mb/s link
each user:
N
users
1 Mbps link
propagation
nodal
processing
queueing
propagation
nodal
processing
queueing
dqueue: queueing
delay
A
B
packets queueing (delay)
free (available) buffers: arriving packets
dropped (loss) if no free buffers
propagation
nodal
processing
queueing