Author: Nan Hua, Bill Lin, Jun (Jim) Xu, Haiquan (Chuck) Zhao Publisher: ANCS’08 Presenter: Yun-Yan Chang Date:2011/02/23 1.

Slides:



Advertisements
Similar presentations
Memory.
Advertisements

Author : Xinming Chen,Kailin Ge,Zhen Chen and Jun Li Publisher : ANCS, 2011 Presenter : Tsung-Lin Hsieh Date : 2011/12/14 1.
An On-Chip IP Address Lookup Algorithm Author: Xuehong Sun and Yiqiang Q. Zhao Publisher: IEEE TRANSACTIONS ON COMPUTERS, 2005 Presenter: Yu Hao, Tseng.
©Silberschatz, Korth and Sudarshan12.1Database System Concepts Chapter 12: Part C Part A:  Index Definition in SQL  Ordered Indices  Index Sequential.
Hash-based Indexes CS 186, Spring 2006 Lecture 7 R &G Chapter 11 HASH, x. There is no definition for this word -- nobody knows what hash is. Ambrose Bierce,
CPSC 335 Dr. Marina Gavrilova Computer Science University of Calgary Canada.
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.
On RAM PRIORITY QUEUES MIKKEL THORUP. Objective Sorting is a basic technique for a lot of algorithms. e.g. find the minimum edge of the graph, scheduling,
Design and Analysis of a Robust Pipelined Memory System Hao Wang †, Haiquan (Chuck) Zhao *, Bill Lin †, and Jun (Jim) Xu * † University of California,
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.
ICS 421 Spring 2010 Indexing (2) Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa 2/23/20101Lipyeow Lim.
1 Searching Very Large Routing Tables in Wide Embedded Memory Author: Jan van Lunteren Publisher: GLOBECOM 2001 Presenter: Han-Chen Chen Date: 2010/01/06.
Fast Filter Updates for Packet Classification using TCAM Authors: Haoyu Song, Jonathan Turner. Publisher: GLOBECOM 2006, IEEE Present: Chen-Yu Lin Date:
Comp 122, Spring 2004 Lower Bounds & Sorting in Linear Time.
Beyond Bloom Filters: From Approximate Membership Checks to Approximate State Machines By F. Bonomi et al. Presented by Kenny Cheng, Tonny Mak Yui Kuen.
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.
METU Department of Computer Eng Ceng 302 Introduction to DBMS Disk Storage, Basic File Structures, and Hashing by Pinar Senkul resources: mostly froom.
1 A Fast IP Lookup Scheme for Longest-Matching Prefix Authors: Lih-Chyau Wuu, Shou-Yu Pin Reporter: Chen-Nien Tsai.
CSI 400/500 Operating Systems Spring 2009 Lecture #9 – Paging and Segmentation in Virtual Memory Monday, March 2 nd and Wednesday, March 4 th, 2009.
Copyright © 2007 Ramez Elmasri and Shamkant B. Navathe Chapter 13 Disk Storage, Basic File Structures, and Hashing.
1 Performing packet content inspection by longest prefix matching technology Authors: Nen-Fu Huang, Yen-Ming Chu, Yen-Min Wu and Chia- Wen Ho Publisher:
EaseCAM: An Energy And Storage Efficient TCAM-based IP-Lookup Architecture Rabi Mahapatra Texas A&M University;
An Approach to Generalized Hashing Michael Klipper With Dan Blandford Guy Blelloch.
1Bloom Filters Lookup questions: Does item “ x ” exist in a set or multiset? Data set may be very big or expensive to access. Filter lookup questions with.
Data Structures Using C++ 2E Chapter 9 Searching and Hashing Algorithms.
1 BRICK: A Novel Exact Active Statistics Counter Architecture Nan Hua 1, Bill Lin 2, Jun (Jim) Xu 1, Haiquan (Chuck) Zhao 1 1 Georgia Institute of Technology.
Cmpt-225 Simulation. Application: Simulation Simulation  A technique for modeling the behavior of both natural and human-made systems  Goal Generate.
Memory Management ◦ Operating Systems ◦ CS550. Paging and Segmentation  Non-contiguous memory allocation  Fragmentation is a serious problem with contiguous.
Achieving fast (approximate) event matching in large-scale content- based publish/subscribe networks Yaxiong Zhao and Jie Wu The speaker will be graduating.
1 Route Table Partitioning and Load Balancing for Parallel Searching with TCAMs Department of Computer Science and Information Engineering National Cheng.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 17 Disk Storage, Basic File Structures, and Hashing.
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.
The Anatomy of a Large-Scale Hypertextual Web Search Engine Presented By: Sibin G. Peter Instructor: Dr. R.M.Verma.
« Performance of Compressed Inverted List Caching in Search Engines » Proceedings of the International World Wide Web Conference Commitee, Beijing 2008)
An Improved Algorithm to Accelerate Regular Expression Evaluation Author: Michela Becchi, Patrick Crowley Publisher: 3rd ACM/IEEE Symposium on Architecture.
Author: Haoyu Song, Fang Hao, Murali Kodialam, T.V. Lakshman Publisher: IEEE INFOCOM 2009 Presenter: Chin-Chung Pan Date: 2009/12/09.
Authors: Haiquan (Chuck) Zhao, Hao Wang, Bill Lin, Jun (Jim) Xu Conf. : The 5th ACM/IEEE Symposium on Architectures for Networking and Communications Systems.
Author: Sriram Ramabhadran, George Varghese Publisher: SIGMETRICS’03 Presenter: Yun-Yan Chang Date: 2010/12/29 1.
Hashing and Hash-Based Index. Selection Queries Yes! Hashing  static hashing  dynamic hashing B+-tree is perfect, but.... to answer a selection query.
1 Power-Efficient TCAM Partitioning for IP Lookups with Incremental Updates Author: Yeim-Kuan Chang Publisher: ICOIN 2005 Presenter: Po Ting Huang Date:
1.1 CS220 Database Systems Indexing: Hashing Slides courtesy G. Kollios Boston University via UC Berkeley.
A Small IP Forwarding Table Using Hashing Yeim-Kuan Chang and Wen-Hsin Cheng Dept. of Computer Science and Information Engineering National Cheng Kung.
PARALLEL-SEARCH TRIE- BASED SCHEME FOR FAST IP LOOKUP Author: Roberto Rojas-Cessa, Lakshmi Ramesh, Ziqian Dong, Lin Cai Nirwan Ansari Publisher: IEEE GLOBECOM.
Radix Sort and Hash-Join for Vector Computers Ripal Nathuji 6.893: Advanced VLSI Computer Architecture 10/12/00.
Lecture 10 Page 1 CS 111 Summer 2013 File Systems Control Structures A file is a named collection of information Primary roles of file system: – To store.
Computer Organization Rabie A. Ramadan Lecture 3.
Parallel tree search: An algorithmic approach for multi- field packet classification Authors: Derek Pao and Cutson Liu. Publisher: Computer communications.
Cuckoo Filter: Practically Better Than Bloom Author: Bin Fan, David G. Andersen, Michael Kaminsky, Michael D. Mitzenmacher Publisher: ACM CoNEXT 2014 Presenter:
IP Routing table compaction and sampling schemes to enhance TCAM cache performance Author: Ruirui Guo a, Jose G. Delgado-Frias Publisher: Journal of Systems.
A NOVEL LEVEL-BASED IPV6 ROUTING LOOKUP ALGORITHM Author: Xiaohong Huang, Xiaoyu Zhao, Guofeng Zhao, Wenjian Jiang, Dongqu Zheng, Qiong Sun and Yan Ma.
Indexing Structures Database System Implementation CSE 507 Some slides adapted from Silberschatz, Korth and Sudarshan Database System Concepts – 6 th Edition.
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.
IP Address Lookup Masoud Sabaei Assistant professor Computer Engineering and Information Technology Department, Amirkabir University of Technology.
CSF Chap B Functional components of computer designs Basic logic gates.
A DFA with Extended Character-Set for Fast Deep Packet Inspection
The Variable-Increment Counting Bloom Filter
Ch. 8 File Structures Sequential files. Text files. Indexed files.
File System Structure How do I organize a disk into a file system?
Main Memory Background Swapping Contiguous Allocation Paging
BRICK: A Novel Exact Active Statistics Counter Architecture
Hashing.
Scalable Memory-Less Architecture for String Matching With FPGAs
Scalable Multi-Match Packet Classification Using TCAM and SRAM
Author: Yi Lu, Balaji Prabhakar Publisher: INFOCOM’09
Lu Tang , Qun Huang, Patrick P. C. Lee
Authors: Ding-Yuan Lee, Ching-Che Wang, An-Yeu Wu Publisher: 2019 VLSI
Presentation transcript:

Author: Nan Hua, Bill Lin, Jun (Jim) Xu, Haiquan (Chuck) Zhao Publisher: ANCS’08 Presenter: Yun-Yan Chang Date:2011/02/23 1

 Introduction  Design of BRICK ◦ Basic idea ◦ Rank indexing ◦ Handling increment ◦ Handling overflow  Performance evaluation  Conclusion 2

 Present a novel active statistics counter architecture called BRICK (Bucketized Bank Indexed Counter).  BRICK ◦ Store variable width counters entirely in SRAM while supporting fast access. ◦ Exploit statistical multiplexing technique.  Group a fixed number of randomly selected counters into a bucket by an indexing scheme. 3

◦ Figure 1 shows the effect of statistical multiplexing  Each horizontal layer of bricks corresponds to a bucket  The length of bricks corresponds to the real counter widths. 4 Figure 1: BRICK wall (conceptual baseline scheme)

 Randomly bundle N counters into h buckets, B 1, B 2,..., B h, where each bucket holds k counters and N = hk. 5 Figure2: (b) Bucket structure

 When access the y th counter, apply the index y to permuted index i by a permutation function π : {1...N} →{1...N}.  The corresponding counter C i can then be found in the l th bucket B l, where l =. 6 Figure2:(a) index permutation

 Each bucket contains p sub-counter arrays A 1, A 2,..., A p to store the 1 st, 2 nd,..., p th sub-counters. ◦ Assume the worst-case counter width is divided into p parts, which refer to as “sub-counters". 7 Figure 3: (a) Within a bucket, segmentation of variable-width counters into sub-counter arrays.

 For each counter, use indexing scheme to identify locations of sub-counters across the different sub- counter arrays. 8 Figure3: (b) Compact representation of variable-width counters.

 Algorithm for get the value of i th counter. 9 ※ rank(I j, a): return the number of 1 in bit-string I j, count form I j [1] to I j [a].

 Increment algorithm 10 ※ varshift(s, j, c): bit-string s, start from j th bit, shift right c times.

11 32 ※ varshift(s, j, c): bit-string s, start from j th bit, shift right c times.

 Extend data structure with full-size buckets F 1, F 2,..., F J, each bucket F t is organized as k full- size counters. ◦ When a bucket overflow occurs for some B l, the next available full-size bucket F t is allocated to store its k counters, where t is just +1 of the last allocated full-size bucket. ◦ Use a flag f l to set to indicate the overflowed buckets. ◦ The index of the full-size bucket F t is stored in a field labeled t, which is associated with B l. 12

 Memory costs and lower bounds  S l :memory cost of each bucket  S : total memory cost ◦ Lower bound of memory 13 Ci: denote counter and counter value M: sum of counter values N: number of counters

 Numerical results with various configurations  The number of entries decreases exponentially as we go to the higher sub-counter arrays. (main compression) 14

 Numerical results with various configurations  The amount of extra storage only decreases slightly with additional levels in the BRICK implementation. 15

16

 Results for real Internet trace  USC: around 18.9 million packets, 1.1 million flows.  UNC: around 32.6 million packets, 1.24 million flows. 17 Worst-case counter width Total storage requirement USCUNC Naïve25 bits/counter3.85 MB4.40 MB BRICK10 bits/counter1.39 MB1.63 MB

 BRICK is SRAM-efficient yet allows for fast counter lookup and increment.  Index filed only requires small number of extra bits per bucket. 18