1 towards green routers: depth- bounded multi-pipeline architecture for power-efficient ip lookup...

15
1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance, Computing and Communications Con ference, 2008. IPCCC 2008. IEEE International Presenter: Po Ting Huang Date:2010/3/16

Post on 20-Dec-2015

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

1

Towards Green Routers: Depth-Bounded Multi-Pipeline Architecture

forPower-Efficient IP Lookup

Author:Weirong Jiang Viktor K. Prasanna

Publisher:Performance, Computing and Communications Conference, 2008. IPCCC 2008. IEEE International

Presenter:Po Ting Huang

Date:2010/3/16

Page 2: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

2

Introduction

Although TCAMs dominate today’s high-end routers, they are not scalable in terms of clock rate and power consumption.

SRAM-based pipeline solutions are considered promising alternatives for high-speed IP lookup engines.

Existing SRAM-based pipeline architectures suffer from high power consumption in the worst cases, due to the large memory size and the long pipeline depth.

Page 3: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

3

Outline

Introduction Index Table Pipeline Structure Pipeline Balancing Prefix expansion(Trie Partitioning)

Height Bounded Split(Subtrie-to-Pipeline Mapping) Node-to-Stage Mapping

Architecture Index Table Pipeline Structure Performance

Page 4: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

4

Prefix expansion(Trie Partitioning)

initial stride(I): The number of initial bits to be used A larger I:more small subtries, but result in prefix duplication Prefix duplication: results in memory inefficiency and may incre

ase the update cost

Page 5: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

5

Prefix expansion(Trie Partitioning)

Page 6: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

6

Height Bounded Split(Subtrie-to-Pipeline Mapping)

Page 7: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

7

Node-to-Stage Mapping

Leaf reduction:Assuming there were 64 next-hop ports in the router, we found that over 99% of the leaf nodes could be removed after the optimization,resulting in up to 35% less memory used.

Page 8: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

8

Page 9: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

9

Architecture

Page 10: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

10

Index Table

#SRAMA=2^I #TCAM&SRAMB =2^(32-Bh)

Index SRAMs store the information associated with each subtrie: (1) the mapped pipeline ID (2) the ID of the stage where the subtrie’s root is stored (3) the address of the subtrie’s root in that stage.

Page 11: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

11

Pipeline Structure

Constraint 1: If node A is an ancestor of node B in a trie, then A must be mapped to a stage preceding the stage to which B is mapped.

Each node in each pipeline stage store three informantion

(1) the prefix or the next-hop pointer (2) the memory address of its child node in the pipeli

ne stage where the child node is stored (3) the distance to the pipeline stage where the child

node is stored.

Page 12: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

12

Performance

#pipeline D=4 Initial stride I=12 Determine the height bound

small:can reduce the number of memory accesses for IP lookup

large:large number of subtries requires a large table to index those subtires

Page 13: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

13

Selection of Height Bound

Bh=16 H=Bh+1=17

Page 14: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

14

Maping performance

Page 15: 1 Towards Green Routers: Depth- Bounded Multi-Pipeline Architecture for Power-Efficient IP Lookup Author: Weirong Jiang Viktor K. Prasanna Publisher: Performance,

15

(13+4+15)*2^14*17*4=4.25MB

each stage 64KB Overall clock rate =1/0.8017=1.25GHz

Throughtput=400Gbps(packet size =40byte)