EE 122: Router Design - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

EE 122: Router Design

Description:

Juniper M160. 6ft. 19' 2ft. Capacity: 160Gb/s. Power: 4.2kW. 3ft. 2.5ft. 19' ... e.g., Cisco, Juniper, Nortel. Many other devices have a similar structure ... – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 24
Provided by: Kevi95
Category:

less

Transcript and Presenter's Notes

Title: EE 122: Router Design


1
EE 122 Router Design
  • Kevin Lai
  • September 25, 2002

2
Routers
  • A router consists
  • A set of input interfaces at which packets arrive
  • A set of output interfaces from which packets
    depart
  • Some form of interconnect connecting inputs to
    outputs
  • Router implements two main functions
  • Forward packet to corresponding output interface
  • Manage bandwidth and buffer space resources

3
What a Router Looks Like
Cisco GSR 12416
Juniper M160
19
19
Capacity 160Gb/sPower 4.2kW
Capacity 80Gb/sPower 2.6kW
3ft
6ft
2ft
2.5ft
Slide by Nick McKeown
4
Why Understand Router Design
  • Many companies make switches and routers
  • e.g., Cisco, Juniper, Nortel
  • Many other devices have a similar structure
  • e.g., PCs internal interconnect, multi-processor
    interconnect
  • Switch design dictates what can be done at higher
    layers
  • e.g., per flow state is expensive,the need to
    minimize per packet processing time

5
Why Do We Need Faster Routers?
  1. To prevent routers becoming the bottleneck in the
    Internet.
  2. To increase POP capacity, and to reduce cost,
    size and power.

6
Why we Need Faster Routers 1 To prevent routers
from being the bottleneck
Packet processing Power
Link Speed
10000
1000
2x / 18 months
2x / 7 months
100
Fiber Capacity (Gbit/s)
10
1
1985
1990
1995
2000
0,1
TDM
DWDM
Source SPEC95Int David Miller, Stanford.
Slide by Nick McKeown
7
Why we Need Faster Routers 2 To reduce cost,
power complexity of POPs
POP with large routers
Slide by Nick McKeown
8
Requirements
  • Power
  • generates heat, costs money
  • lt 5kW
  • Size
  • space costs money
  • lt 2m3
  • Bandwidth
  • Ports
  • number of external links
  • Price
  • Some customers want
  • Multicast
  • Quality of Service

9
Generic Router Architecture
  • Input and output interfaces are connected through
    an interconnect
  • A interconnect can be implemented by
  • Shared memory
  • low capacity routers (e.g., PC-based routers)
  • Shared bus
  • Medium capacity routers
  • Point-to-point (switched) bus
  • High capacity routers

input interface
output interface
Inter- connect
10
First Generation Routers
Shared Backplane
Line Interface
Slide by Nick McKeown
11
Second Generation Routers
CPU
Buffer Memory
Route Table
Line Card
Line Card
Line Card
Buffer Memory
Buffer Memory
Buffer Memory
Fwding Cache
Fwding Cache
MAC
MAC
MAC
Typically lt5Gb/s aggregate capacity
Slide by Nick McKeown
12
Third Generation Routers
Switched Backplane
Line Card
CPU Card
Line Card
Local Buffer Memory
Local Buffer Memory
Line Interface
CPU
Routing Table
Memory
Fwding Table
MAC
MAC
Typically lt50Gb/s aggregate capacity
Slide by Nick McKeown
13
Speedup
  • C input/output link capacity
  • RI maximum rate at which an input interface can
    send data into interconnect
  • RO maximum rate at which an output can read
    data from interconnect
  • B maximum aggregate interconnect transfer rate
  • Interconnect speedup B/C
  • Input speedup RI/C
  • Output speedup RO/C

input interface
output interface
Inter- connect
C
RI
RO
C
B
14
Typical Functions Performed by Input Interface on
Data Path
  • Packet forwarding decide to which output
    interface to forward each packet based on the
    information in packet header
  • examine packet header
  • lookup in forwarding table
  • update packet header

15
Typical Functions Performed by Output Interface
  • Buffer management decide when and which packet
    to drop
  • Scheduler decide when and which packet to
    transmit

Buffer
Scheduler
1
2
16
Typical Functions Performed by Output Interface
(contd)
  • Packet classification map each packet to a
    predefined flow/connection (for datagram
    forwarding)
  • use to implement more sophisticated services
    (e.g., QoS)
  • Flow a subset of packets between any two
    endpoints in the network

flow 1
flow 2
Classifier
Scheduler
1
2
flow n
Buffer management
17
Interconnect
  • Point-to-point switch allows to simultaneously
    transfer a packet between any two disjoint pairs
    of input-output interfaces
  • Goal come-up with a schedule that
  • Provide Quality of Service
  • Maximize router throughput
  • Challenges
  • Address head-of-line blocking at inputs
  • Resolve input/output speedups contention
  • Avoid packet dropping at output if possible
  • Note packets are fragmented in fix sized cells
    at inputs and reassembled at outputs

18
Output Queued (OQ) Routers
input interface
output interface
  • Only output interfaces store packets
  • Advantages
  • Easy to design algorithms only one congestion
    point
  • Disadvantages
  • Requires an output speedup of N, where N is the
    number of interfaces ? not feasible

Backplane
RO
C
19
Input Queueing (IQ) Routers
  • Only input interfaces store packets
  • Advantages
  • Easy to built
  • Store packets at inputs if contention at outputs
  • Relatively easy to design algorithms
  • Only one congestion point, but not output
  • need to implement backpressure
  • Disadvantages
  • Hard to achieve utilization ? 1 (due to output
    contention, head-of-line blocking)
  • However, theoretical and simulation results show
    that for realistic traffic an input/output
    speedup of 2 is enough to achieve utilizations
    close to 1

input interface
output interface
Backplane
RO
C
20
Head-of-line Blocking
  • The cell at the head of an input queue cannot be
    transferred, thus blocking the following cells

Output 1
Input 1
Output 2
Input 2
Output 3
Input 3
21
A Router with Input QueuesHead of Line Blocking
The best that any queueing system can achieve.
Slide by Nick McKeown
22
Solution to Avoid Head-of-line Blocking
  • Maintain at each input N virtual queues, i.e.,
    one per output

Input 1
Output 1
Output 2
Input 2
Output 3
Input 3
23
Combined Input-Output Queueing (CIOQ) Routers
  • Both input and output interfaces store packets
  • Advantages
  • Easy to built
  • Utilization 1 can be achieved with limited
    input/output speedup (lt 2)
  • Disadvantages
  • Harder to design algorithms
  • Two congestion points
  • Need to design flow control

input interface
output interface
Backplane
RO
C
Write a Comment
User Comments (0)
About PowerShow.com