TreeCAM: Decoupling Updates and Lookups in Packet Classification

12
Authors: Balajee Vamanan and T. N. Vijaykumar Conf. : ACM CoNEXT 2011 Presenter : JHAO-YAN JIAN Date : 2012/5/9 1 TreeCAM: Decoupling Updates and Lookups in Packet Classification

description

TreeCAM: Decoupling Updates and Lookups in Packet Classification. Authors: Balajee Vamanan and T. N. Vijaykumar Conf. : ACM CoNEXT 2011 Presenter : JHAO-YAN JIAN Date : 2012/5/9. INTRODUCTION. Line rates increasing (40 Gbps now, 160 Gbps soon) - PowerPoint PPT Presentation

Transcript of TreeCAM: Decoupling Updates and Lookups in Packet Classification

Page 1: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

Authors: Balajee Vamanan and T. N. VijaykumarConf. : ACM CoNEXT 2011Presenter : JHAO-YAN JIANDate : 2012/5/9

1

TreeCAM: Decoupling Updates and Lookups in Packet Classification

Page 2: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

INTRODUCTION Line rates increasing (40 Gbps now,

160 Gbps soon)Classifier size (number of rules)

increasingCustom rules for VPNs, QoS

Rules are getting more dynamic too Larger classifiers at faster lookup & update rates

Must perform well in lookups and updates at low power

2

Page 3: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

INTRODUCTIONTreeCAM: Three novel ideas

Dual tree versions to decouple lookups and updatescoarse tree in TCAM reduce lookup accesses

Tree/TCAM hybridfine tree in control memory reduce update

effortInterleaved layout of leaves to cut ordering effort

Performs well in lookups and updates6-8 TCAM accesses for lookups Close to ideal TCAM for updates

3

Page 4: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

TreeCAM Coarse TreeIdea: partition rules among TCAM subarrays

using decision trees4k-entry subarrays coarse tree with each leaf

in a subarray2-deep tree fast lookup

Packets traverse subarrays

4

Page 5: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

TreeCAM Fine TreeKey observation: A

packet cannot match multiple leaves only rules within the same leaf need ordering

Reduce update effort Tree with small binth – fine tree

One coarse-tree leaf contains some contiguous fine-tree leaves

5

Page 6: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

Updating - No Re-balancing

6

Page 7: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

Updating - Local Re-balancing

7

Page 8: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

Updating - Global Re-balancing

8

Page 9: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

EXPERIMENTAL

9

Page 10: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

EXPERIMENTAL

10

Page 11: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

EXPERIMENTAL

11

Page 12: TreeCAM:  Decoupling Updates and Lookups in Packet Classification

EXPERIMENTAL

12