19
Low Power TCAMs For Very Large Forwarding Tables Authors: Wencheng Lu and Sartaj Sahni Presenter: Yi-Sheng, Lin ( 林林林 ) Date: May. 13, 2008 Publisher/Conf. : INFOCOM 2008 Dept. of Computer Science and Information Engineering National Cheng Kung University, Taiwan R.O.C.

Low Power TCAMs For Very Large Forwarding Tables

  • Upload
    atalo

  • View
    29

  • Download
    1

Embed Size (px)

DESCRIPTION

Low Power TCAMs For Very Large Forwarding Tables. Authors: Wencheng Lu and Sartaj Sahni Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: May. 13, 2008 Publisher/Conf. : INFOCOM 2008. Dept. of Computer Science and Information Engineering National Cheng Kung University, - PowerPoint PPT Presentation

Citation preview

Page 1: Low Power TCAMs For Very Large Forwarding Tables

Low Power TCAMs For Very Large Forwarding Tables

Authors: Wencheng Lu and Sartaj Sahni Presenter: Yi-Sheng, Lin (林意勝 ) Date: May. 13, 2008 Publisher/Conf. : INFOCOM 2008

Dept. of Computer Science and Information Engineering National Cheng Kung University,

Taiwan R.O.C.

Page 2: Low Power TCAMs For Very Large Forwarding Tables

Outline

1. Introduction

2. Background and Related Work

3. Subtree Split

4. Postorder Split

5. Simple TCAM with Wide SRAM

6. Experimental Results

7. Conclusion

Page 3: Low Power TCAMs For Very Large Forwarding Tables

Introduction

Several strategies have been proposed to reduce TCAM power significantly by selecting a portion of TCAM entire for search.

Improving upon the router-table partitioning algorithms of [1] and [6].

Showing how to couple TCAMs and wide SRAMs so as to search forwarding tables whose size is much larger than the TCAM size with no loss in time and with power reduction.

[1] G. N. F. Zane and A. Basu, “CoolCAMs: Power-Efficient TCAMs for Forwarding Engines,” in INFOCOM, 2003.

[6] H. Lu, “Improved Trie Partitioning for Cooler TCAMs,” in IASTED International Conference on Advances in Computer Science and Technology, 2004.

Page 4: Low Power TCAMs For Very Large Forwarding Tables

Background and Related Work(1/3)

Page 5: Low Power TCAMs For Very Large Forwarding Tables

Background and Related Work(2/3) 5

2

1

2

1

Subtree split (1-1)

Page 6: Low Power TCAMs For Very Large Forwarding Tables

Background and Related Work(3/3)

5

2

1

2

1

Postorder split (many-1)

Page 7: Low Power TCAMs For Very Large Forwarding Tables

Subtree Split(1/2)

We need to partition a 1-bit trie into the smallest number of subtrees

Page 8: Low Power TCAMs For Very Large Forwarding Tables

Subtree Split(2/2)

count(x) : the number of prefixes stored in the subtree

Page 9: Low Power TCAMs For Very Large Forwarding Tables

Postorder Split

Let the number of forwarding-table prefixes in B be s. Carving from the remaining T a feasible subtree of as lar

ge a size as possible but not exceeding b − s and pack this feasible subtree into B.

Page 10: Low Power TCAMs For Very Large Forwarding Tables

Simple TCAM with Wide SRAM(1/4)

In the simple TCAM organization, each word of the SRAM is used to store only a next hop.

Since a next hop requires only a small number of bits (e.g., 10 bits)

Page 11: Low Power TCAMs For Very Large Forwarding Tables

Simple TCAM with Wide SRAM(2/4)

suffix count length next hop

Page 12: Low Power TCAMs For Very Large Forwarding Tables

Simple TCAM with Wide SRAM(3/4)

ST(x).numP : the number of prefixes in ST(x). ST(x).numB : the number of bits needed to store the suffi

x lengths, suffixes and next hops for these prefixes of ST(x).

l and r : x’s two children.

Page 13: Low Power TCAMs For Very Large Forwarding Tables

Simple TCAM with Wide SRAM(4/4)

u be the number of bits allocated to the suffix count field. v be the sum of the number of bits allocated to a length

field and a next-hop field.

Page 14: Low Power TCAMs For Very Large Forwarding Tables

2-Level TCAM with Wide SRAM(1/3)

fixed

variant

Recording the number of prefixes in bucket.

Inefficient DTCAM space utilization

Page 15: Low Power TCAMs For Very Large Forwarding Tables

2-Level TCAM with Wide SRAM(2/3)

Page 16: Low Power TCAMs For Very Large Forwarding Tables

2-Level TCAM with Wide SRAM(3/3)

Page 17: Low Power TCAMs For Very Large Forwarding Tables

Experimental Results(1/2)

Page 18: Low Power TCAMs For Very Large Forwarding Tables

Experimental Results(2/2)

Page 19: Low Power TCAMs For Very Large Forwarding Tables

Conclusion

Improving upon existing trie partitioning algorithms for TCAMs.

A novel way to combine TCAMs and SRAMs so as to achieve a significant reduction in power and TCAM size.

This is done without any increase in the number of TCAM searches and SRAM accesses required by a table lookup!