Cell Switching: ATM: 2/15/2006 CSCI 363 Computer Networks 1
Cell Switching: ATM: 2/15/2006 CSCI 363 Computer Networks 1
2/15/2006
A message is considered better than the recorded info if: it ids a root with smaller id or it ids a root with equal id but shorter distance or
B1 G H
B6 I
B4 J
the root id and distance are equal, but the sending bridge has smaller id.
Before updating the info with the received message, the bridge adds 1 to the hop count.
When a bridge discovers it is not the root, it stops sending out messages of its own (only forwards those from other bridges after adding 1 to the hop count).
2/15/2006
When a bridge discovers its not the designated bridge for that port, it stops sending configuration messages over that port. Eventually, the system stabilizes: only the root sends out configuration messages and the other bridges only forward them around.
B1 G H
B6 I
B4 J
2/15/2006
Question: How can one implement these kinds of messages on the extended LAN?
2/15/2006 CSCI 363 Computer Networks 4
2/15/2006
In ATM flow on each logical connection is in fixed sized packets called cells Minimal error and flow control
Reduced overhead
2/15/2006
ATM Cells
Fixed size 5 octet header 48 octet information field Small cells reduce queuing delay for high priority cells Small cells can be switched more efficiently Easier to implement switching of small cells in hardware
2/15/2006 CSCI 363 Computer Networks 10
2/15/2006
11
2/15/2006
12
Every connection either subject to flow control or not Subject to flow control
May be one group (A) default May be two groups (A and B)
ATM cell fixed-length: 53 bytes (48 bytes payload) Why use fixed-length packets: Processing packets of fixed length is simpler. Possible to divide the task of switching into a number of elements that work in parallel (scalability).
2/15/2006 CSCI 363 Computer Networks 14
Queueing behavior
switch (latency)
inputs
outputs
Get packet from queue, start transmitting (no preemption). If another packet for the same destination arrives, it must wait.
Question: What is the longest time that the output gets tied up to a single packet? Question: Does the use of fixed-length cells reduce queue length?
2/15/2006 CSCI 363 Computer Networks 15
Queueing behavior
packet 4 KB
(max length)
100 Mbps
switch
Question: What is the longest time that a packet or cell has to wait until it is transmitted?
2/15/2006
16
Queueing behavior
packet A 4MB 100 Mbps switch
packet B 4MB
Say that when a packet starts to arrives, the switch waits for the complete packet to be captured before it is forwarded. Question: What happens to the utilization of the outgoing link? switch 100 Mbps A B Question: Does the utilization of the outgoing link change with small, fixed-length cells?
2/15/2006 CSCI 363 Computer Networks 17
Cell format
4 GFC 8 VPI 16 VCI 3 Ty pe 1 CLP 8 HEC (CRC-8) 384 (48 by tes) Pay load
(UNI)
IP
incoming packet to upper layer
AAL
AAL
cells
ATM ATM
cells
2/15/2006
19
8
Btag
16
BASize
< 64 KB
User data
0 24 Pad
8 0
8
Etag
16
Len
40 ATM header
2 Ty pe
4 SEQ
10 MID
6 Length
10 CRC-10
40 ATM header
2 Ty pe
4 SEQ
10 MID
6 Length
10 CRC-10
cells AAL 3: connection-oriented packet services (X.25) AAL 4: connectionless packet services (IP) Both ended up merged into one layer AAL 3/4
2/15/2006 CSCI 363 Computer Networks 20
PDU: protocol data unit; think of it as a kind of packet specific to a certain protocol.
2/15/2006 CSCI 363 Computer Networks 21
Value 10 00
01 11
2/15/2006
32 CRC-32
ATM header
2/15/2006
23
Change the ATM cell header to drop the 2-bit Type and use instead 1 bit to help with framing. If that bit is set, the cell is the last chunk of information in a PDU. The next cell corresponds to the next PDU; subsequent cells are assumed to be COM until another cell is received with user signaling bit set.
2/15/2006 CSCI 363 Computer Networks 24
Virtual Path
Public network Network A Network B
VPI (8 bits): Establishes a path between two sites. VCI (16 bits): Establishes the connection between the endpoints in each of the two sites. Effectively what you have is a two-level hierarchy of VC connections. Switches in the public network do not have to deal with individual virtual circuits between two sites.
2/15/2006 CSCI 363 Computer Networks 25
2/15/2006
26
2/15/2006
28
SONET
Time-division multiplexing (TDMA) 810-byte frame is transmitted every 125 u seconds (making it 8000 frames/sec, compatible with PCM channel in digital phone systems) The basic rate is thus 51.84 Mbps (810*8*8000 = 51.84 Mbps). This is called STS-1 for Synchronous Transport Signal 1. All SONET trunks are a multiple of STS-1
2/15/2006 CSCI 363 Computer Networks 29
Bandwidth 1.544 Mbps 44.736 Mbps 51.84 Mbps 155.250 Mbps 622.080 Mbps 1.244160 Gbps 2.488320 Gbps
30
2/15/2006
31