Digital HHHHHG
Digital HHHHHG
net/publication/2430376
CITATIONS READS
0 659
1 author:
Luis Orozco-Barbosa
University of Castilla-La Mancha
293 PUBLICATIONS 2,225 CITATIONS
SEE PROFILE
All content following this page was uploaded by Luis Orozco-Barbosa on 05 December 2013.
Sw/2
1
Switching
• Definition:
Switching is the property of varying the path followed by
the information being transferred through a network.
C
B
A 3
1 2
5
D
4
Sw/3
Sw/4
2
Classification
• Packet vs. circuit switches
– packets have headers and samples don’t
• Connectionless vs. connection oriented
– connection oriented switches need a call setup
– setup is handled in control plane by switch controller
– connectionless switches deal with self-contained
datagrams
Conne ctionle s s Conne ction-orie nte d
(route r) (s witching s yste m )
P a cke t Inte rne t route r ATM s witching s yste m
s witch
Circuit Te le phone switching
s witch s ys te m
Sw/5
Sw/6
3
Requirements
• Capacity of switch is the maximum rate at which it can
move information, assuming all data paths are
simultaneously active
• Primary goal: maximize capacity
– subject to cost and reliability constraints
• Circuit switch must reject call if can’t find a path for
samples from input to output
– goal: minimize call blocking
• Packet switch must reject a packet if it can’t find a buffer
to store it awaiting access to output trunk
– goal: minimize packet loss
• Don’t reorder packets
Sw/7
A Generic Switch
Sw/8
4
Space vs. Time Division Switching
• Modern digital switching systems rely on
intelligent control of space and time-division
elements.
• Space Division Switching
• Time Division Switching
Sw/9
Sw/10
5
Crossbar Switch
• Simplest possible space-division switch
Sw/11
Crossbar Switch
• The crossbar switch has a number of limitations or
disadvantages:
– The number of crosspoints grows with n2. This is costly for
large n, and results in high capacitive loading on any
message path.
– The loss of crosspointd prevents connection between the
two points involved.
• The crosspoints are inefficiently utilized (at most n out of n2)
Sw/12
6
Time-division Switching
• Time-division switching involves the partitioning of a lower
speed data stream into pieces that share a higher speed data
stream with other data pieces.
• The individual pieces or slots are manipulated by the control
logic to route data from input to output.
• Three concepts are essential to the technique of time-division
switching:
• TDM bus switching
• Time-slot interchange (TSI)
• Time-multiplex switching (TMS)
Sw/13
frame
1 n 1
n inlets n outlets
Sw/14
7
TDM Bus Switching (cont’d)
• Main design objective:
– to permit multiple low-speed streams to share a high-
speed line.
• Advantage:
– this technique permits multiple channels of data to be
handled efficiently within switching systems.
Sw/15
8
Synchronous TDM
• Implementation Issue:
This logic can be simplified if the input information into a
time slot contains destination address information. All
outputs devices can then always connect to the bus and
copy the information from time slots with their address.
• This latter mechanism can be implemented by:
– Time-slot interchange (TSI)
Sw/17
Time-slot Interchange
• A time-slot interchange (TSI) operates on a synchronous
TDM stream of time slots, or channels, by interchanging pairs
of slots to achieve full-duplex operation.
Sw/18
9
Time-slot Interchange (cont’d)
• Step 1: The input lines of n devices are passed through a
synchronous multiplexer to produce a TDM stream with n
slots.
• Step 2. An incoming TDM frame is written sequentially,
slot by slot, into the data store.
• Step 3. An outgoing TDM frame is created by reading
slots from memory in an order dictated by an address store
that reflects the existing connections.
Sw/19
Sw/20
10
Operation of TSI store
Example:
Assuming that the
following connections
exist: 1-2, 3-7 and 5-8.
Read/write process:
During the first time slot,
data are stored in location
1 and read from location
2. During the second time
slot, data are stored in
location 2 and read from
location 1. And so on.
Sw/21
based on a channel
assignment provided
by a control memory.
In this way, more Data Store
slots can be assigned Address
Time-slot
to some inputs. Channel Counter Store
Assignment
Store
Sw/22
11
Time-slot Interchange
• Drawbacks:
– TSI can support only a limited number of connections.
• Example: For 24 sources operating at 64 kbps each, and a slot size
of 8 bits, we have an arrival rate of 192000 slots per second. For
each time slot, both a read and write are required, Thus memory
access time would need to be 1/(192000 x 2), or about 2.6 µs.
– The delay at the TSI grows as the size of the unit grows for
a fixed access speed.
• Solution:
– use multiple TSI units interconnected by a space switch.
This architecture is known as time-multiplexed switching
(TMS)
Sw/23
Time-Multiplexed Switching
Example : A two-stage switch.
Sw/24
12
Multiple-stage Switches
• This type of arrangements has several advantages over the
simple crossbar switch:
– the number of crosspoint is reduced, increasing crossbar
utilization
– there is more than one path through the network to connect
two endpoints, increasing reliability.
• Drawback:
– a multistage network requires a more complex control
scheme, i.e., a free path through the stages must be
determined and the appropriate gates opened.
Sw/25
Clos Switch
1.The input lines are broken up into N/n groups of n lines.
2.Each group of lines goes into a first-stage matrix.
3.The outputs of the first stage matrices become inputs to a group
of second stage matrices, and so on.
Sw/26
13
Paull’s Matrix
Columns
1 2 · · · b · · · n
1
2
Rows .
.
.
.
.
.
Sw/27
Sw/28
14
Blocking
Blocking occurs when thje network is unable to connect two
stations because all possible paths between them are already in
use.
Exemple: Try to connect input 9 to either output 4 or 6
Sw/29
Non-blocking configuration
Clos Theorem (symmetric switch):
A Clos network is strict -sense non-blocking if and only if the number of
second stage arrays k ≥ 2n-1
Proof:
• Suppose we want to establish a connection from a vacant input of a first stage
array a and a vacant output of a third stage array b. We do so by putting a
symbol in the (a,b) entry in Paull’s connection matrix. Now there can be at
most n-1 distinct symbols in row a, because there are only n inputs to array a,
less one input which wants to make a new connection. For similar reason,
there can be at most n-1 distinct symbols in column b. Consider the worst case
when (n-1)+(n-1) symbols are all distinct. If we have 1 more second stage
array, in other words a total of 2n-1 second stage arrays, then we enter a
symbol in (a,b) while keeping all symbols in row a distinct, and all symbols in
column b distinct as well.
Sw/30
15
Non-blocking configuration (cont’d)
Sw/31
where:
N = total number of input lines (inlets)
n = number of lines per first-stage switch
k = number of second stage switches
Sw/32
16
Clos Switch
To optimize Nx, differentiate Nx wrt n and set the result to 0.
For large N, n → √N/2
Sw/33
Rearrangeable Configuration
The Slepian-Duguid Theorem (symmetric case)
A three stage Clos network is rearrangeable non-blocking
if and only if k ≥ n.
Proof:
Suppose we want to establish a connection between arrays
and b. We shall first prove that if k ≥ n we must either
have:
1. A symbol which is not found in both row a and column b; or
2. There exists a symbol c in row a which is not found in column b,
and a symbol d in column b which is not found in row a .
Sw/34
17
Rearrangeable Configuration (cont’d)
If case 1 is not true, the k symbols must be found either in the row or the
column or both. Using the assumed condition on k, we have k > n-1. Now there
are at most n-1 symbols in row a. Hence there must be a symbol d in column b
not found in a. Using a symmetrical argument, there must be a symbol c in row
a not found in b.
If case 1 is true, then we place the unfound symbol in (a,b), thus completing the
connection without any rearrangements. Otherwise, we look at the row where d
appears in column b to see if the symbol c appears in that row.
Sw/35
Proof:
We look for a symbol c in the row for the symbol d that appears in column b.
Next, we start the chain from c in row a, instead of extending the chain from d
in column b. We now extend the two chains alternately, so that at each step,
the chains have lengths differing by at most one. When either one of the chain
cannot be grown further, we choose that chain for rearrangement.
In each step for which the length of both chains are increased by one, we visit
one new column. Hence there are at most n-2 steps in extending the chains.
(We subtract two because the initial c and d occupy two columns). Hence we
need at most n-1 rearrangements. (The initial c or d also has to be rearranged.)
Sw/36
18
Rearrangeable Configuration (cont’d)
Example:
Process of rearrangement:
1 2 b n 1 2 b n
1 1
2 d c 2 c d
a c a c d
c d d c
n n
Sw/37
19
Multiple-stage Time/Space Switches
References
• Joseph Hui, Switching and Traffic Theory for Integrated
Broadband Networks, Kluwer Academic Publishers,
Norwell, MA, 1990.
• Mischa Schwartz, Broadband Integrated Networks,
Prentice Hall, New Jersey, 1996.
• William Stallings, Data and Computer Communications,
Third Edition, Macmillan, New York , 1991.
Sw/40
20