Author: Francis Chang, Wu-chang Feng, Kang Li Publisher: INFOCOM 2004 Presenter: Yun-Yan Chang Date: 2010/12/01 1.

Slides:



Advertisements
Similar presentations
IP Router Architectures. Outline Basic IP Router Functionalities IP Router Architectures.
Advertisements

Analysis of : Operator Scheduling in a Data Stream Manager CS561 – Advanced Database Systems By Eric Bloom.
A Memory-optimized Bloom Filter using An Additional Hashing Function Author: Mahmood Ahmadi, Stephan Wong Publisher: IEEE GLOBECOM 2008 Presenter: Yu-Ping.
A Scalable and Reconfigurable Search Memory Substrate for High Throughput Packet Processing Sangyeun Cho and Rami Melhem Dept. of Computer Science University.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part C Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
Quick Review of Apr 10 material B+-Tree File Organization –similar to B+-tree index –leaf nodes store records, not pointers to records stored in an original.
Chapter 11 Indexing and Hashing (2) Yonsei University 2 nd Semester, 2013 Sanghyun Park.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Indexing and Hashing Basic Concepts Ordered Indices B+-Tree Index Files B-Tree.
M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Shulin You UNIVERSITY OF MASSACHUSETTS, AMHERST – Department of Electrical and Computer Engineering.
Chisel: A Storage-efficient, Collision-free Hash-based Network Processing Architecture Author: Jahangir Hasan, Srihari Cadambi, Venkatta Jakkula Srimat.
Using one level of Cache:
Author: Kang Li, Francis Chang, Wu-chang Feng Publisher: INCON 2003 Presenter: Yun-Yan Chang Date:2010/11/03 1.
1 A Heuristic and Hybrid Hash- based Approach to Fast Lookup Author: Gianni Antichi, Andrea Di Pietro, Domenico Ficara, Stefano Giordano, Gregorio Procissi,
Hash Table indexing and Secondary Storage Hashing.
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
1 On Constructing Efficient Shared Decision Trees for Multiple Packet Filters Author: Bo Zhang T. S. Eugene Ng Publisher: IEEE INFOCOM 2010 Presenter:
Efficient IP-Address Lookup with a Shared Forwarding Table for Multiple Virtual Routers Author: Jing Fu, Jennifer Rexford Publisher: ACM CoNEXT 2008 Presenter:
Beyond Bloom Filters: From Approximate Membership Checks to Approximate State Machines By F. Bonomi et al. Presented by Kenny Cheng, Tonny Mak Yui Kuen.
Performance Evaluation of IPv6 Packet Classification with Caching Author: Kai-Yuan Ho, Yaw-Chung Chen Publisher: ChinaCom 2008 Presenter: Chen-Yu Chaug.
EE 122: Router Design Kevin Lai September 25, 2002.
Fast binary and multiway prefix searches for pachet forwarding Author: Yeim-Kuan Chang Publisher: COMPUTER NETWORKS, Volume 51, Issue 3, pp , February.
Hash, Don’t Cache: Fast Packet Forwarding for Enterprise Edge Routers Minlan Yu Princeton University Joint work with Jennifer.
Router Architectures An overview of router architectures.
ECE 526 – Network Processing Systems Design Network Processor Architecture and Scalability Chapter 13,14: D. E. Comer.
Fast and deterministic hash table lookup using discriminative bloom filters  Author: Kun Huang, Gaogang Xie,  Publisher: 2013 ELSEVIER Journal of Network.
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.
Quasar A Probabilistic Publish-Subscribe System for Social Networks over P2P Kademlia network David Arinzon Supervisor: Gil Einziger April
Brocade Landmark Routing on P2P Networks Gisik Kwon April 9, 2002.
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
Efficient Packet Classification with Digest Caches Francis Chang Wu-chang Feng Wu-chi Feng Kang Li.
Fast Packet Classification Using Bloom filters Authors: Sarang Dharmapurikar, Haoyu Song, Jonathan Turner, and John Lockwood Publisher: ANCS 2006 Present:
Author: Sriram Ramabhadran, George Varghese Publisher: SIGMETRICS’03 Presenter: Yun-Yan Chang Date: 2010/12/29 1.
1 CSE 326: Data Structures: Hash Tables Lecture 12: Monday, Feb 3, 2003.
EECB 473 DATA NETWORK ARCHITECTURE AND ELECTRONICS PREPARED BY JEHANA ERMY JAMALUDDIN Basic Packet Processing: Algorithms and Data Structures.
Author : Guangdeng Liao, Heeyeol Yu, Laxmi Bhuyan Publisher : Publisher : DAC'10 Presenter : Jo-Ning Yu Date : 2010/10/06.
Stochastic Fair Blue: A Queue Management Algorithm for Enforcing Fairness W. Feng, D. Kandlur, D. Saha, and K. Shin Presented by King-Shan Lui.
Jennifer Rexford Princeton University MW 11:00am-12:20pm Measurement COS 597E: Software Defined Networking.
CLUE: Achieving Fast Update over Compressed Table for Parallel Lookup with Reduced Dynamic Redundancy Author: Tong Yang, Ruian Duan, Jianyuan Lu, Shenjiang.
1 A Throughput-Efficient Packet Classifier with n Bloom filters Authors: Heeyeol Yu and Rabi Mahapatra Publisher: IEEE GLOBECOM 2008 proceedings Present:
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,
Scalable High Speed IP Routing Lookups Scalable High Speed IP Routing Lookups Authors: M. Waldvogel, G. Varghese, J. Turner, B. Plattner Presenter: Zhqi.
Efficient Cache Structures of IP Routers to Provide Policy-Based Services Graduate School of Engineering Osaka City University
Author : N. Sertac Artan, Haowei Yuan, and H. Jonathan Chao Publisher/Conf : IEEE GLOBECOM 2008 Speaker : Chen Deyu Data :
1 Data Link Layer Lecture 23 Imran Ahmed University of Management & Technology.
High-Speed Policy-Based Packet Forwarding Using Efficient Multi-dimensional Range Matching Lakshman and Stiliadis ACM SIGCOMM 98.
Cross-Product Packet Classification in GNIFS based on Non-overlapping Areas and Equivalence Class Author: Mohua Zhang, Ge Li Publisher: AISS 2012 Presenter:
Mining of Massive Datasets Ch4. Mining Data Streams
Stochastic Fair Blue An Algorithm For Enforcing Fairness Wu-chang Feng (OGI/OHSU) Dilip Kandlur (IBM) Debanjan Saha (Tellium) Kang Shin (University of.
OpenFlow MPLS and the Open Source Label Switched Router Department of Computer Science and Information Engineering, National Cheng Kung University, Tainan,
Packet classification on Multiple Fields Authors: Pankaj Gupta and Nick McKcown Publisher: ACM 1999 Presenter: 楊皓中 Date: 2013/12/11.
Cuckoo Filter: Practically Better Than Bloom Author: Bin Fan, David G. Andersen, Michael Kaminsky, Michael D. Mitzenmacher Publisher: ACM CoNEXT 2014 Presenter:
Packet Classification Using Dynamically Generated Decision Trees
REED : Robust, Efficient Filtering and Event Detection in Sensor Network Daniel J. Abadi, Samuel Madden, Wolfgang Lindner Proceedings of the 31st VLDB.
Hierarchical packet classification using a Bloom filter and rule-priority tries Source : Computer Communications Authors : A. G. Alagu Priya 、 Hyesook.
Stochastic Pre-Classification for SDN Data Plane Matching Author : Luke McHale, C. Jasson Casey, Paul V. Gratz, Alex Sprintson Conference: 2014 IEEE 22nd.
Packet Classification Using Multi- Iteration RFC Author: Chun-Hui Tsai, Hung-Mao Chu, Pi-Chung Wang Publisher: 2013 IEEE 37th Annual Computer Software.
Author : Tzi-Cker Chiueh, Prashant Pradhan Publisher : High-Performance Computer Architecture, Presenter : Jo-Ning Yu Date : 2010/11/03.
Network layer (addendum) Slides adapted from material by Nick McKeown and Kevin Lai.
Author: Heeyeol Yu; Mahapatra, R.; Publisher: IEEE INFOCOM 2008
Spencer MacBeth Supervisor - Dr. Ramon Lawrence
Toward Advocacy-Free Evaluation of Packet Classification Algorithms
Statistical Optimal Hash-based Longest Prefix Match
Bloom Filters Very fast set membership. Is x in S? False Positive
Module IV Memory Organization.
Implementing an OpenFlow Switch on the NetFPGA platform
Advance Database System
A Small and Fast IP Forwarding Table Using Hashing
Author: Yi Lu, Balaji Prabhakar Publisher: INFOCOM’09
Presentation transcript:

Author: Francis Chang, Wu-chang Feng, Kang Li Publisher: INFOCOM 2004 Presenter: Yun-Yan Chang Date: 2010/12/01 1

 Introduction  The Bloom filter  Extension of Bloom filter  Bloom filter aging 2

 Provides a modified Bloom filter allowing a small amount of misclassification can decrease the size of packet classification cache without reducing hit rates. 3

 A space-efficient data structure to store and query set-membership information.  The data structure consists of M = N × L bins, bins are organized into L levels with N bins in each level, to create N L virtual bins.  Each L functions can address all M bit buckets. 4

5 Figure 1: An example: A Bloom filter with N = 5 bins and L = 3 hash levels. Suppose we wish to insert an element, e.

 Multiple Predicates ◦ Goal  To extend the storage capability. ◦ Consider a router with I interfaces. The cache requires to store a routing interface number. ◦ Construct a cache composed of I Bloom filters to record I binary predicates. ◦ Query all I Bloom filters when query the cache for forwarding interface number of flow e. 6

◦ If e is a member of the ith Bloom filter, this implies flow e should be through the ith interface. ◦ If e is not a member of any Bloom filter, e has not been cached. ◦ In the unlikely event that if more than one Bloom filter claims e as a member.  One solution to this problem is to treat the cache lookup as a miss by reclassifying e. 7

◦ If e is a member of the ith Bloom filter, this implies flow e should be through the ith interface. ◦ If e is not a member of any Bloom filter, e has not been cached. ◦ In the unlikely event that if more than one Bloom filter claims e as a member.  One solution to this problem is to treat the cache lookup as a miss by reclassifying e. 8

9 Figure 5: An example: A modified Bloom filter with 5 buckets and 2 hash levels, supporting a router with 8 interfaces. Suppose we wish to cache a flow e that gets routed to interface number 2.

 Multi-Predicate Comparison 10 Figure 7: Effect of storing routing information on effective cache size, p = 1e − 9, using optimal Bloom filter dimensions.

 Cold Cache ◦ Empty the cache whenever the Bloom filter becomes full. ◦ Advantage  Makes full use of all of the memory devoted to the cache. ◦ Disadvantage  While the cache is being emptied, it cannot be used.  All cached flows must be re-classified after empty the cache will cause a load spike in the classification engine.  Zeroing out the cache may cause a high amount of memory access. 11

 Double-Buffering ◦ Partition the cache into two Bloom filters, active cache and warm-up cache. ◦ Goal  To avoid the high number of cache misses immediately following cache cleaning. ◦ Disadvantage  Double the memory requirement to store the same number of concurrent flows.  Zeroing out the expired cache still causes a load spike in the use of the memory bus.  Potentially double the number of memory accesses required to store a new flow. 12

13 Double-Buffering Algorithm when a new packet arrives if the flow id is in the active cache if the active cache is more than ½ full insert the flow id into the warm-up cache allow packet to proceed otherwise perform a full classification if the classifier allows the packet insert the flow id into the active cache if the active cache is more than ½ full insert the flow id into the warm-up cache allow packet to proceed if the active cache is full switch the active cache and warm-up cache zero out the old active cache

 Double-Buffering ◦ Disadvantage  Double the memory requirement to store the same number of concurrent flows.  Zeroing out the expired cache still causes a load spike in the use of the memory bus.  Potentially double the number of memory accesses required to store a new flow. 14

15 Figure 9: Cache hit rates as a function of memory, M Figure 11: Average cache misses as a function of memory, M For a memory-starved system, the cold-cache approach is more effective with respect to cache hit-rates.

16 Figure 12: Variance of cache misses as a function of memory, M (aggregate over 100ms timescales) The variance in miss rates decreases much faster in the double-buffered case than in the cold-cache approach.