IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo a, Jose G. Delgado-Frias Publisher: Journal of Systems.

Slides:



Advertisements
Similar presentations
1 A Hybrid Adaptive Feedback Based Prefetcher Santhosh Verma, David Koppelman and Lu Peng Louisiana State University.
Advertisements

1 Improving Direct-Mapped Cache Performance by the Addition of a Small Fully-Associative Cache and Prefetch Buffers By Sreemukha Kandlakunta Phani Shashank.
An On-Chip IP Address Lookup Algorithm Author: Xuehong Sun and Yiqiang Q. Zhao Publisher: IEEE TRANSACTIONS ON COMPUTERS, 2005 Presenter: Yu Hao, Tseng.
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.
Chapter 11 Indexing and Hashing (2) Yonsei University 2 nd Semester, 2013 Sanghyun Park.
Low Power TCAM Forwarding Engine for IP Packets Authors: Alireza Mahini, Reza Berangi, Seyedeh Fatemeh and Hamidreza Mahini Presenter: Yi-Sheng, Lin (
1 High-performance TCAM- based IP Lookup Engines Authors: Hui Yu, Jing Chenm Jianpian Wang and S.Q. Zheng Publisher: IEEE INFOCOM 2008 Present: 林呈俞 Date:
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.
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:
1 Greedy Prefix Cache for IP Routing Lookups Author: Zhuo Huang, Gang Liu, Jih-Kwon Peir Publisher: I-SPAN 2009 Presenter: Hsin-Mao Chen Date:2010/03/10.
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
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:
Scalable IPv6 Lookup/Update Design for High-Throughput Routers Authors: Chung-Ho Chen, Chao-Hsien Hsu, Chen -Chieh Wang Presenter: Yi-Sheng, Lin ( 林意勝.
Efficient Multidimensional Packet Classification with Fast Updates Author: Yeim-Kuan Chang Publisher: IEEE TRANSACTIONS ON COMPUTERS, VOL. 58, NO. 4, APRIL.
Parallel-Search Trie-based Scheme for Fast IP Lookup
Performance Evaluation of IPv6 Packet Classification with Caching Author: Kai-Yuan Ho, Yaw-Chung Chen Publisher: ChinaCom 2008 Presenter: Chen-Yu Chaug.
張 燕 光 資訊工程學系 Dept. of Computer Science & Information Engineering,
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:
An Efficient IP Lookup Architecture with Fast Update Using Single-Match TCAMs Author: Jinsoo Kim, Junghwan Kim Publisher: WWIC 2008 Presenter: Chen-Yu.
1 Wire Speed Packet Classification Without TCAMs: A Few More Registers (And A Bit of Logic) Are Enough Author: Qunfeng Dong, Suman Banerjee, Jia Wang, Dheeraj.
An Intelligent Cache System with Hardware Prefetching for High Performance Jung-Hoon Lee; Seh-woong Jeong; Shin-Dug Kim; Weems, C.C. IEEE Transactions.
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
Dyer Rolan, Basilio B. Fraguela, and Ramon Doallo Proceedings of the International Symposium on Microarchitecture (MICRO’09) Dec /7/14.
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.
Packet Classification using Rule Caching Author: Nitesh B. Guinde, Roberto Rojas-Cessa, Sotirios G. Ziavras Publisher: IISA, 2013 Fourth International.
PARALLEL TABLE LOOKUP FOR NEXT GENERATION INTERNET
Microprocessor-based systems Curse 7 Memory hierarchies.
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.
« Performance of Compressed Inverted List Caching in Search Engines » Proceedings of the International World Wide Web Conference Commitee, Beijing 2008)
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
Wire Speed Packet Classification Without TCAMs ACM SIGMETRICS 2007 Qunfeng Dong (University of Wisconsin-Madison) Suman Banerjee (University of Wisconsin-Madison)
Fast Packet Classification Using Bloom filters Authors: Sarang Dharmapurikar, Haoyu Song, Jonathan Turner, and John Lockwood Publisher: ANCS 2006 Present:
3-May-2006cse cache © DW Johnson and University of Washington1 Cache Memory CSE 410, Spring 2006 Computer Systems
Author : Guangdeng Liao, Heeyeol Yu, Laxmi Bhuyan Publisher : Publisher : DAC'10 Presenter : Jo-Ning Yu Date : 2010/10/06.
1 Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates Author: Yeim-Kuan Chang Publisher: ICOIN 2005 Presenter: Po Ting Huang Date:
1 Fast packet classification for two-dimensional conflict-free filters Department of Computer Science and Information Engineering National Cheng Kung University,
PARALLEL-SEARCH TRIE- BASED SCHEME FOR FAST IP LOOKUP Author: Roberto Rojas-Cessa, Lakshmi Ramesh, Ziqian Dong, Lin Cai Nirwan Ansari Publisher: IEEE GLOBECOM.
Time Parallel Simulations I Problem-Specific Approach to Create Massively Parallel Simulations.
A Dynamic Longest Prefix Matching Content Addressable Memory for IP Routing Author: Satendra Kumar Maurya, Lawrence T. Clark Publisher: IEEE TRANSACTIONS.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
CS 740: Advanced Computer Networks IP Lookup and classification Supplemental material 02/05/2007.
Author: Haoyu Song, Murali Kodialam, Fang Hao and T.V. Lakshman Publisher/Conf. : IEEE International Conference on Network Protocols (ICNP), 2009 Speaker:
Updating Designed for Fast IP Lookup Author : Natasa Maksic, Zoran Chicha and Aleksandra Smiljani´c Conference: IEEE High Performance Switching and Routing.
Page Table Implementation. Readings r Silbershatz et al:
HIGH-PERFORMANCE LONGEST PREFIX MATCH LOGIC SUPPORTING FAST UPDATES FOR IP FORWARDING DEVICES Author: Arun Kumar S P Publisher/Conf.: 2009 IEEE International.
Parallel tree search: An algorithmic approach for multi- field packet classification Authors: Derek Pao and Cutson Liu. Publisher: Computer communications.
A NOVEL LEVEL-BASED IPV6 ROUTING LOOKUP ALGORITHM Author: Xiaohong Huang, Xiaoyu Zhao, Guofeng Zhao, Wenjian Jiang, Dongqu Zheng, Qiong Sun and Yan Ma.
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.
Author : Masanori Bando and H. Jonathan Chao Publisher : INFOCOM, 2010 Presenter : Jo-Ning Yu Date : 2011/02/16.
Author : Tzi-Cker Chiueh, Prashant Pradhan Publisher : High-Performance Computer Architecture, Presenter : Jo-Ning Yu Date : 2010/11/03.
AN ON-CHIP IP ADDRESS LOOKUP ALGORITHM
Multilevel Memories (Improving performance using alittle “cash”)
Basic Performance Parameters in Computer Architecture:
A Scalable Routing Architecture for Prefix Tries
Cache Memory Presentation I
Statistical Optimal Hash-based Longest Prefix Match
Parallel Processing Priority Trie-based IP Lookup Approach
Packet Classification Using Coarse-Grained Tuple Spaces
A Small and Fast IP Forwarding Table Using Hashing
Jason Klaus, Duncan Elliott Confidential
Scalable Multi-Match Packet Classification Using TCAM and SRAM
2019/5/2 Using Path Label Routing in Wide Area Software-Defined Networks with OpenFlow ICNP = International Conference on Network Protocols Presenter:Hung-Yen.
Authors: A. Rasmussen, A. Kragelund, M. Berger, H. Wessing, S. Ruepp
Worst-Case TCAM Rule Expansion
MEET-IP Memory and Energy Efficient TCAM-based IP Lookup
Presentation transcript:

IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo a, Jose G. Delgado-Frias Publisher: Journal of Systems Architecture 55 (2009) 61–69 Presenter: Chen-Yu Chang Date: 2009/3/4

Outline Introduction Cache and routing information Routing table compaction Evaluation of compaction Port error and sampling techniques

Introduction In this paper proposed a novel compaction scheme with three variants for IP routing tables and evaluated its impact on a cache architecture. We have also presented interval sampling and a new improved sampling technique to alleviate port error problems caused by caching.

Outline Introduction Cache and routing information Routing table compaction Evaluation of compaction Port error and sampling techniques

Cache architecture(1/3)

Cache architecture(2/3) A small and fast cache can be used to reduce lengthy memory access times if memory references have temporal locality. Temporal locality: A routing entry that has been recently accessed has a high probability of being referenced again in a short period of time.

Cache architecture(3/3) Average memory access time (AMAT): It is clear that a cache technique with high hit rate is needed to obtain small average access time.

A TCAM cache organization(1/2)

A TCAM cache organization(2/2) The TCAM cache scheme has been shown to have a lower miss rate in IP routing applications than an SRAM cache scheme [15]. The cache miss ratio for the TCAM is about half of what is in the SRAM.

Routing imformation Evaluations of our proposed scheme are based on four IPv4 and six IPv6 trace files which are downloaded from the Measurement and Analysis on the WIDE Internet (MAWI) Working Group

Outline Introduction Cache and routing information Routing table compaction Evaluation of compaction Port error and sampling techniques

Routing table compaction A TCAM can perform a parallel search to reduce the lookup time, but a large TCAM may be too expensive to be a feasible solution. In addition, a large memory usually slows down the lookup process. This in turn creates a need for investigating compaction schemes.

Compaction scheme (1/9) (C1): Existing compaction scheme ( C1):  Entry addresses with the same destination port are considered for compaction.  Two addresses that differ by only one bit including don’t care(*) are candidates for compaction.  If these conditions are satisfied, the entries with these two addresses can be combined into one by using don’t care (*) to replace the bit.

Compaction scheme (2/9) (C1):  The two entries that have been combined are removed from further consideration.  The new entry is included in the potential entries for further compaction.

Compaction scheme (3/9) (C2): Compaction with non-existing entries (C2)  Two addresses with the same destination port that have only one different bit excluding don’t care (*) are candidates for additional compaction.  If there is no other address with a different destination port that can be compacted with one of the two addresses in the previous step, then the compaction can be performed.

Compaction scheme (4/9) (C2):  If the previous step is not possible the current attempt to compact these entries is abandoned.

Compaction scheme (5/9) (C3): Compaction using a continuous don’t care threshold (C3):  Two addresses with the same destination port that have only one different bit excluding don’t care () are candidates for compaction.  If there is no routing conflict in the routing table, the compaction is performed.  If there exists only one entry address with a different destination port, which is equivalent to the current compacted address, and the number of the continuous don’t care (*) in this compacted entry is less than a given threshold, then the compaction can be performed. In addition, the entry with the different port assignment is marked with higher priority, that is, this entry is considered for a match before the compacted entry.

Compaction scheme (6/9) (C3):  If the previous steps are not possible, the current compaction is abandoned.

Compaction scheme (7/9) (C3): A large threshold value usually helps in compacting more routing entries; but, this increases the possibility of routing conflicts, which cause more port errors. Routing conflicts:  Two entries with different port assignments that match with an incoming address.

Compaction scheme (8/9) (C3):

Compaction scheme (9/9) (C4): Compaction version C4 is similar to C3; the only difference is in the threshold criteria. Instead of the continuous don’t care as in C3, the number of different bits between the addresses before and after a compaction are considered to compute a number to be compared to the threshold. In this study the threshold for C4 is set to 3.

Outline Introduction Cache and routing information Routing table compaction Evaluation of compaction Port error and sampling techniques

Compaction ratio

Cache hit rate

Comparison with other schemes The compaction ratio is about 75.6% in [25], 52% in [24](similar to C1) and 29% in proposed scheme. The proposed compacting scheme yields a very high cache hit rate. This helps to reduce the impact of replacement policies on the hit rate [26]. For hit rates above 90% the difference in hit rate using different replacement policies is less than 1% [26].

Outline Introduction Cache and routing information Routing table compaction Evaluation of compaction Port error and sampling techniques

port errors port errors:  A port error occurs when the port selected by the cache does not match the port selected using the routing table.  A port error is generated because the matching entry in the cache is not the longest prefix matching entry in the routing table.

Sampling techniques(1/10) A. Interval sampling (In):  It requires performing one search in the routing table every M lookups. M is the sampling rate.  When a sample is performed and if the port number found in cache is different from that in the routing table, the matching entry in the routing table will be written into the cache to fix future port assignments. Port error ratio: The ratio of the number of port errors to the number of cache hits.

Sampling techniques(2/10)

Sampling techniques(3/10) B. New sampling technique:  The technique is based on an analysis of the contents of the route entries and port error distributions. Port error distribution:  We count the number of overlapping entries (N) that are covered by a particular entry.

Sampling techniques(4/10)  Fig. b illustrates the port error distribution for IPv6 traces in the compacted routing tables using compaction version C3.  We have observed those entries with the value of N less than 10 cause most of port errors.

Sampling techniques(5/10) 1. Selective sampling (Sl):  Label those entries with high probability (i.e. N < 10) of causing port errors according to the port error distribution.  Do not search the routing table in the case of matching entry unlabeled.  Otherwise, search routing table at the sampling rate and update cache if a port error occurs.

Sampling techniques(6/10) 2. Adaptive sampling (Ad):  The main motivation for this version of sampling is to adjust the sampling rate based on the previous activities of a particular entry.

Sampling techniques(7/10)

Sampling techniques(8/10)

Sampling techniques(9/10) Impact on hit rate

Sampling techniques(10/10) The simulations using the routing information have shown that the proposed schemes improve cache hit rate and reduce port errors. The high cache hit rate makes average memory access time shorter; this in turn speeds up the route lookup process.