An Efficient IP Lookup Architecture with Fast Update Using Single-Match TCAMs Author: Jinsoo Kim, Junghwan Kim Publisher: WWIC 2008 Presenter: Chen-Yu.

Slides:



Advertisements
Similar presentations
August 17, 2000 Hot Interconnects 8 Devavrat Shah and Pankaj Gupta
Advertisements

Fast Updating Algorithms for TCAMs Devavrat Shah Pankaj Gupta IEEE MICRO, Jan.-Feb
1 An Efficient, Hardware-based Multi-Hash Scheme for High Speed IP Lookup Hot Interconnects 2008 Socrates Demetriades, Michel Hanna, Sangyeun Cho and Rami.
Bio Michel Hanna M.S. in E.E., Cairo University, Egypt B.S. in E.E., Cairo University at Fayoum, Egypt Currently is a Ph.D. Student in Computer Engineering.
A Fast and Memory Efficient Dynamic IP Lookup Algorithm Based on B-Tree Author:Yeim-Kuan Chang and Yung-Chieh Lin Publisher: 2009 International Conference.
M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Shulin You UNIVERSITY OF MASSACHUSETTS, AMHERST – Department of Electrical and Computer Engineering.
Outline Introduction Related work on packet classification Grouper Performance Empirical Evaluation Conclusions.
A Classified Multi-Suffix Trie for IP Lookup and Update Author: Sun-Yuan Hsieh, Ying-Chi Yang Publisher: IEEE TC Presenter: Jia-Wei Yo Date: 2011/10/12.
Low Power TCAM Forwarding Engine for IP Packets Authors: Alireza Mahini, Reza Berangi, Seyedeh Fatemeh and Hamidreza Mahini Presenter: Yi-Sheng, Lin (
An Efficient IP Address Lookup Algorithm Using a Priority Trie Authors: Hyesook Lim and Ju Hyoung Mun Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: Mar. 11, 2008.
1 Author: Ioannis Sourdis, Sri Harsha Katamaneni Publisher: IEEE ASAP,2011 Presenter: Jia-Wei Yo Date: 2011/11/16 Longest prefix Match and Updates in Range.
IP Address Lookup for Internet Routers Using Balanced Binary Search with Prefix Vector Author: Hyesook Lim, Hyeong-gee Kim, Changhoon Publisher: IEEE TRANSACTIONS.
1 MIPS Extension for a TCAM Based Parallel Architecture for Fast IP Lookup Author: Oğuzhan ERDEM Cüneyt F. BAZLAMAÇCI Publisher: ISCIS 2009 Presenter:
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
1 A Tree Based Router Search Engine Architecture With Single Port Memories Author: Baboescu, F.Baboescu, F. Tullsen, D.M. Rosu, G. Singh, S. Tullsen, D.M.Rosu,
Power Efficient IP Lookup with Supernode Caching Lu Peng, Wencheng Lu*, and Lide Duan Dept. of Electrical & Computer Engineering Louisiana State University.
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
1 Energy Efficient Multi-match Packet Classification with TCAM Fang Yu
An Efficient Hardware-based Multi-hash Scheme for High Speed IP Lookup Department of Computer Science and Information Engineering National Cheng Kung University,
Parallel IP Lookup using Multiple SRAM-based Pipelines Authors: Weirong Jiang and Viktor K. Prasanna Presenter: Yi-Sheng, Lin ( 林意勝 ) Date:
Parallel-Search Trie-based Scheme for Fast IP Lookup
PC-DUOS: Fast TCAM Lookup and Update for Packet Classifiers Author: Tania Banerjee-Mishra, Sartaj Sahni,Gunasekaran Seetharaman Publisher: IEEE Symposium.
1 DRES:Dynamic Range Encoding Scheme for TCAM Coprocessors Authors: Hao Che, Zhijun Wang, Kai Zheng and Bin Liu Publisher: IEEE Transactions on Computers,
1 A Fast IP Lookup Scheme for Longest-Matching Prefix Authors: Lih-Chyau Wuu, Shou-Yu Pin Reporter: Chen-Nien Tsai.
Two stage packet classification using most specific filter matching and transport level sharing Authors: M.E. Kounavis *,A. Kumar,R. Yavatkar,H. Vin Presenter:
EaseCAM: An Energy And Storage Efficient TCAM-based IP-Lookup Architecture Rabi Mahapatra Texas A&M University;
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
1 Efficient packet classification using TCAMs Authors: Derek Pao, Yiu Keung Li and Peng Zhou Publisher: Computer Networks 2006 Present: Chen-Yu Lin Date:
1 Route Table Partitioning and Load Balancing for Parallel Searching with TCAMs Department of Computer Science and Information Engineering National Cheng.
PARALLEL TABLE LOOKUP FOR NEXT GENERATION INTERNET
IP Address Lookup Masoud Sabaei Assistant professor
Authors: Yi Wang, Tian Pan, Zhian Mi, Huichen Dai, Xiaoyu Guo, Ting Zhang, Bin Liu, and Qunfeng Dong Publisher: INFOCOM 2013 mini Presenter: Chai-Yi Chu.
LayeredTrees: Most Specific Prefix based Pipelined Design for On-Chip IP Address Lookups Author: Yeim-Kuau Chang, Fang-Chen Kuo, Han-Jhen Guo and Cheng-Chien.
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
High-Speed Packet Classification Using Binary Search on Length Authors: Hyesook Lim and Ju Hyoung Mun Presenter: Yi-Sheng, Lin ( 林意勝 ) Date: Jan. 14, 2008.
A Hybrid IP Lookup Architecture with Fast Updates Author : Layong Luo, Gaogang Xie, Yingke Xie, Laurent Mathy, Kavé Salamatian Conference: IEEE INFOCOM,
Multi-Field Range Encoding for Packet Classification in TCAM Author: Yeim-Kuan Chang, Chun-I Lee and Cheng-Chien Su Publisher: INFOCOM 2011 Presenter:
Balajee Vamanan and T. N. Vijaykumar School of Electrical & Computer Engineering CoNEXT 2011.
1. Outline Introduction Related work on packet classification Grouper Performance Analysis Empirical Evaluation Conclusions 2/42.
1 Dynamic Pipelining: Making IP- Lookup Truly Scalable Jahangir Hasan T. N. Vijaykumar School of Electrical and Computer Engineering, Purdue University.
IP Address Lookup Masoud Sabaei Assistant professor
1 Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates Author: Yeim-Kuan Chang Publisher: ICOIN 2005 Presenter: Po Ting Huang Date:
Scalable High Speed IP Routing Lookups Scalable High Speed IP Routing Lookups Authors: M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Zhqi.
PARALLEL-SEARCH TRIE- BASED SCHEME FOR FAST IP LOOKUP Author: Roberto Rojas-Cessa, Lakshmi Ramesh, Ziqian Dong, Lin Cai Nirwan Ansari Publisher: IEEE GLOBECOM.
A Smart Pre-Classifier to Reduce Power Consumption of TCAMs for Multi-dimensional Packet Classification Yadi Ma, Suman Banerjee University of Wisconsin-Madison.
A Dynamic Longest Prefix Matching Content Addressable Memory for IP Routing Author: Satendra Kumar Maurya, Lawrence T. Clark Publisher: IEEE TRANSACTIONS.
HIGH-PERFORMANCE LONGEST PREFIX MATCH LOGIC SUPPORTING FAST UPDATES FOR IP FORWARDING DEVICES Author: Arun Kumar S P Publisher/Conf.: 2009 IEEE International.
Packet Classification Using Dynamically Generated Decision Trees
Evaluating and Optimizing IP Lookup on Many Core Processors Author: Peng He, Hongtao Guan, Gaogang Xie and Kav´e Salamatian Publisher: International Conference.
IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo a, Jose G. Delgado-Frias Publisher: Journal of Systems.
1 Space-Efficient TCAM-based Classification Using Gray Coding Authors: Anat Bremler-Barr and Danny Hendler Publisher: IEEE INFOCOM 2007 Present: Chen-Yu.
1 IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo, Jose G. Delgado-Frias Publisher: Journal of Systems.
Hierarchical packet classification using a Bloom filter and rule-priority tries Source : Computer Communications Authors : A. G. Alagu Priya 、 Hyesook.
1 DESIGN AND EVALUATION OF A PIPELINED FORWARDING ENGINE Department of Computer Science and Information Engineering National Cheng Kung University, Taiwan.
SCALAR PREFIX SEARCH: A NEW ROUTE LOOKUP ALGORITHM FOR NEXT GENERATION INTERNET Author: Mohammad Behdadfar, Hossein Saidi, Hamid Alaei and Babak Samari.
IP Address Lookup Masoud Sabaei Assistant professor Computer Engineering and Information Technology Department, Amirkabir University of Technology.
Scalable Multi-match Packet Classification Using TCAM and SRAM Author: Yu-Chieh Cheng, Pi-Chung Wang Publisher: IEEE Transactions on Computers (2015) Presenter:
Exploiting Graphics Processors for High-performance IP Lookup in Software Routers Jin Zhao, Xinya Zhang, Xin Wang, Yangdong Deng, Xiaoming Fu IEEE INFOCOM.
IP Routers – internal view
Multiway range trees: scalable IP lookup with fast updates
Statistical Optimal Hash-based Longest Prefix Match
Parallel Processing Priority Trie-based IP Lookup Approach
Scalable Memory-Less Architecture for String Matching With FPGAs
Packet Classification Using Coarse-Grained Tuple Spaces
A Small and Fast IP Forwarding Table Using Hashing
Authors: A. Rasmussen, A. Kragelund, M. Berger, H. Wessing, S. Ruepp
A Hybrid IP Lookup Architecture with Fast Updates
Authors: Ding-Yuan Lee, Ching-Che Wang, An-Yeu Wu Publisher: 2019 VLSI
MEET-IP Memory and Energy Efficient TCAM-based IP Lookup
Towards TCAM-based Scalable Virtual Routers
Presentation transcript:

An Efficient IP Lookup Architecture with Fast Update Using Single-Match TCAMs Author: Jinsoo Kim, Junghwan Kim Publisher: WWIC 2008 Presenter: Chen-Yu Chaug Date: 2008/11/12

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Introduction(1/4) Most of the IP lookup schemes can be classified into software approaches based on trie and hardware approaches based on TCAM (Ternary Content Addressable Memory). Trie-based IP lookup schemes usually require several memory accesses. In contrast, TCAM can perform a lookup operation in a single cycle owing to its parallel access characteristics. Therefore, TCAM have been paid much attention to in recent years.

Introduction(2/4) There may be several matches in an IP lookup operation, it is required to determine the best match, i.e., LMP. For the determination of the LMP, all prefixes of a TCAM needs to be ordered by some criteria such as length. Under the ordered circumstance a priority encoder can select the LMP on the uppermost location among all matched prefixes.

Introduction(3/4) Most of TCAM-based lookup schemes need several movements of prefix entries for a single update because the ordering must be maintained in the TCAMs. Therefore, frequent updates may consume many computation cycles in the IP lookup engine and result in the degradation of the lookup performance.

Introduction(4/4) In this paper, we present a new architecture to provide fast update by using single-match TCAMs. Our algorithms guarantee that each single-match TCAM generates at most one match for a given destination address. So, it can eliminate both the ordering constraint and the priority encoder in a single-match TCAM, which makes the update fast.

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Ordering constraint Prefix-length ordering constraint: Two prefixes of the same length don’t need to be in any specific order.  L-algorithm  PLO_OPT Chain-ancestor ordering constraint There’s an ordering constraint between two prefixes if and only if one is a prefix of the other.  CAO_OPT

L-algorithm Two prefix in the same length can be in any order. L-algorithm, that can create an empty space in a TCAM in no more than L memory shifts (recall that L = 32 ).

PLO_OPT The basic idea of the PLO_OPT algorithm is to keep all the unused entries in the center of the TCAM. PLO_OPT brings down the worst-case number of memory operations per update to L/2.

Better Algorithm ? P1 P2 P3 P4 P2 has no ordering constraint with P3 or P4. Maximal chain PLO constraint is too Restrictive than needed.

CAO_OPT(1/2) The CAO_OPT algorithm also keeps the free space pool in the center of the TCAM. Basic idea: for every prefix, the longest chain that this prefix belongs to should be split around the free space pool as equally as possible.

CAO_OPT(2/2) P1 P2 P3 P4 P4 < P3 < P1, P2 < P1

Summary of Simulation Results AlgorithmL-algoPLO_OPTCAO_OPT Average Standard deviation Worst Case21123 MAE-Est Entries43344 Isertion34204 Deletion9140

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Conventional TCAM-Based Architecture Conventional TCAM-based IP Lookup architecture in PLO (prefix length order). Priority Encoder Location P / P2 P3 P4 P / / /13 100/ PrefixNext-hop

Design of the Proposed Architecture(1/4) The maximum number of matched entries in a TCAM depends on the maximum depth of levels of the prefix search trie. The maximum length of any chain currently does not exceed 7, so there can be at most 7 matches. If the forwarding table is partitioned into several TCAMs so that there is no ancestor-descendant relation in each partitioned TCAM, then it is guaranteed that there exists at most one match in each TCAM.

Design of the Proposed Architecture(2/4) Proposed IP Lookup Architecture

Design of the Proposed Architecture(3/4) Each of TCAM 0 to TCAM 6 should contain a disjoint set of prefixes. So the result of lookup for a given IP address will be no more than one match in each TCAM. Obviously, the single-match TCAMs don’t have priority encoder logic. The selection logic selects longest one among those matches by using length data and sends out the corresponding output port number.

Design of the Proposed Architecture(4/4) In case that there is no suitable singlematch TCAM for a new inserting prefix, the conventional TCAM will be assigned. Ex: There are only two single-match TCAMs and two disjoint prefixes p1=10100* and p2 = 1011* are stored in different single-match TCAMs. Then there is no way to insert a new prefix, p8=10* into any of the single-match TCAMs without moving an existing prefix.

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Search algorithm Ex: P1(10100*),10 P7(00*),15 TCAM 0 TCAM 1 TCAM 2 TCAM 5 TCAM 3 TCAM 4 P2(1011*),11 P4(010*),13 P3(1110*),11 P5(100*),14 P6(110*),14 P10(0*),18 P8(10*),16 TCAM 6 P9(11*),17 Selection Logic P1,5 P8,2 10

Insertion algorithm(1/3) Ex: 101* P1(10100*),10 P7(00*),15 TCAM 0 TCAM 1 TCAM 2 TCAM 5 TCAM 3 TCAM 4 P2(1011*),11 P4(010*),13 P3(1110*),11 P5(100*),14 P6(110*),14 P10(0*),18 P8(10*),16 TCAM 6 P9(11*),17 TCAM 7 Conventional TCAM 101* Available[0] ← false Available[0] ← true Randomly Insertion

Insertion algorithm(2/3) Ex: 1* P1(10100*),10 P7(00*),15 TCAM 0 TCAM 1 TCAM 2 TCAM 5 TCAM 3 TCAM 4 P2(1011*),11 P4(010*),13 P3(1110*),11 P5(100*),14 P6(110*),14 P10(0*),18 P8(10*),16 TCAM 6 P9(11*),17 TCAM 7 Conventional TCAM 1* Available[0] ← false Insert to TCAM 7

Insertion algorithm(3/3)

Deletion algorithm For the prefix deletion it is needed to determine which TCAM contains the prefix p (As shown in line 1). Then the prefix can be deleted from the TCAM (As show in line 2). The function delete_from() is performed differently whether it operates on conventional TCAM or single- match TCAM.

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Simulation Environment(1/2) In our simulation we used routing tables from Route Views[9].

Simulation Environment(2/2) Comparison of Memory Movements

Simulation Results(1/3) Memory Movements per Update

Simulation Results(2/3) The Number of Prefixes in Each TCAM 0.33%

Simulation Results(3/3) Insertions and Deletions 0.19% and 0.18%

Discussion The updating performance is related to two factors  The number of updates in the conventional TCAM.  The number of deletions in the single -match TCAMs. The simulation results show that the number of updates in the conventional TCAM is quite small.

Outline Introduction Related work Propose IP Lookup Architecture IP Lookup and Update Algorithms Performance Evaluation Conclusion

Novel assignment strategies for prefix insertion should be developed and evaluated in further research. The design of the hardware to eliminate memory movements also remains for future work.