























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!
























































An Engineering Approach to Computer Networking
An Engineering Approach to Computer Networking
n
n
How do we move traffic from one part of the network to another?
How do we move traffic from one part of the network to another?
n
n
Connect end-systems to switches, and switches to each other
Connect end-systems to switches, and switches to each other
n
n
Data arriving to an input port of a switch have to be moved to
Data arriving to an input port of a switch have to be moved to one or more of the output ports
one or more of the output ports
n
n
Packet vs. circuit switches
Packet vs. circuit switches
uu
packets have headers and samples don’tpackets have headers and samples don’t
n
n
Connectionless vs. connection oriented
Connectionless vs. connection oriented
uu
connection oriented switches need a call setupconnection oriented switches need a call setup
uu
setup is handled insetup is handled in
control planecontrol plane by
switch controller
u
connectionless switches deal with
self-contained datagrams
(router)Connectionless
(switching system)Connection-oriented
switchPacket
Internet router
ATM switching system
switchCircuit
systemTelephone switching
n
n
Participate in routing algorithms
Participate in routing algorithms
uu
to build routing tablesto build routing tables
n
n
Resolve contention for output trunks
Resolve contention for output trunks
uu
schedulingscheduling
n
n
Admission control
Admission control
uu
to guarantee resources to certain streamsto guarantee resources to certain streams
n
n
We’ll discuss these later
We’ll discuss these later
n
n
Here we focus on pure data movement
Here we focus on pure data movement
n
n
Circuit switching
Circuit switching
n
n
Packet switching
Packet switching
uu
Switch generationsSwitch generations
uu
Switch fabricsSwitch fabrics
uu
Buffer placementBuffer placement
uu
Multicast switchesMulticast switches
n
n
Most trunks time division multiplex voice samples
Most trunks time division multiplex voice samples
n
n
At a central office, trunk is demultiplexed and distributed to
At a central office, trunk is demultiplexed and distributed to active circuits
active circuits
n
n
Synchronous multiplexor
Synchronous multiplexor
uu
N input linesN input lines
uu
Output runs N times as fast as inputOutput runs N times as fast as input
n
n
Demultiplexor
Demultiplexor
uu
one input line and N outputs that run N times slowerone input line and N outputs that run N times slower
uu
samples are placed in output buffer in round robin ordersamples are placed in output buffer in round robin order
n
n
Neither multiplexor nor demultiplexor needs addressing
Neither multiplexor nor demultiplexor needs addressing information (why?)
information (why?)
n
n
Can cascade multiplexors
Can cascade multiplexors
uu
need a standardneed a standard
uu
example: DS hierarchy in the US and Japanexample: DS hierarchy in the US and Japan
n
n
A switch that can handle N calls has N logical inputs and N
A switch that can handle N calls has N logical inputs and N logical outputs
logical outputs
uu
N up to 200,000N up to 200,
n
n
In practice, input trunks are multiplexed
In practice, input trunks are multiplexed
uu
example: DS3 trunk carries 672 simultaneous callsexample: DS3 trunk carries 672 simultaneous calls
n
n
Multiplexed trunks carry
Multiplexed trunks carry
frames
frames = set of samples
= set of samples
n
n
Goal: extract samples from frame, and depending on position in
Goal: extract samples from frame, and depending on position in frame, switch to output
frame, switch to output
uu
right slot in the output frameright slot in the output frameeach incoming sample has to get to the right output line and theeach incoming sample has to get to the right output line and the
uu
demultiplexdemultiplex, switch, multiplex
, switch, multiplex
n
n
Can’t find a path from input to output
Can’t find a path from input to output
n
n
Internal blocking
Internal blocking
uu
slot in output frame exists, but no pathslot in output frame exists, but no path
n
n
Output blocking
Output blocking
uu
no slot in output frame is availableno slot in output frame is available
n
n
Output blocking is reduced in
Output blocking is reduced in
transit
transit switches
switches
uu
need to put a sample in one ofneed to put a sample in one of
severalseveral slots going to the desired
next hop
n
n
Limit is time taken to read and write to memory
Limit is time taken to read and write to memory
n
n
For 120,000 circuits
For 120,000 circuits
uu
need to read and write memory once every 125 microsecondsneed to read and write memory once every 125 microseconds
uu
each operation takes around 0.5each operation takes around 0.5 ns
ns => impossible with current
=> impossible with current
technologytechnology
n
n
Need to look to other techniques
Need to look to other techniques
n
n
Each sample takes a different path
Each sample takes a different path thoguh
thoguh the
the swithc
swithc,
depending on its destination
depending on its destination
n
n
In a crossbar during each switching time only one
In a crossbar during each switching time only one crosspoint
crosspoint per
per
row or column is active
row or column is active
n
n
Can save crosspoints if a
Can save crosspoints if a crosspoint
crosspoint can attach to more than
can attach to more than
one input line (why?)
one input line (why?)
n
n
This is done in a multistage crossbar
This is done in a multistage crossbar
n
n
Need to rearrange connections every switching time
Need to rearrange connections every switching time
n
n
Can suffer internal blocking
Can suffer internal blocking
uu
unless sufficient number of second-level stagesunless sufficient number of second-level stages
n
n
Number of crosspoints < N
Number of crosspoints < N
22
n
n
Finding a path from input to output requires a depth-first-search
Finding a path from input to output requires a depth-first-search
n
n
Scales better than crossbar, but still not too well
Scales better than crossbar, but still not too well
uu
120,000 call switch needs ~250 million crosspoints120,000 call switch needs ~250 million crosspoints