190 likes | 376 Views
Two-dimensional packet classification algorithm using a quad-tree. Author: Hyesook Lim,Min Young Kang and Changhoo Yim Publisher: Computer Communications , 2007 Presenter: Chun-Yi Li Date: 2008/12/10. Outline. Related Works Trie-based algorithms Algorithms based on heuristics
E N D
Two-dimensional packet classification algorithm using a quad-tree Author:Hyesook Lim,Min Young Kang and Changhoo Yim Publisher:Computer Communications, 2007 Presenter: Chun-Yi Li Date: 2008/12/10
Outline Related Works Trie-based algorithms Algorithms based on heuristics Geometric algorithms Area-based quad-tree (AQT) Space decomposition Crossing filter Priority-based quad-tree (PQT) Building procedure Search procedure Update procedure Performance 2
Search Path (000,010) 0 1 F1-trie 0 0 1 1 0 0 R4 0 1 R5 R6 R3 R2 R1 Trie-based algorithms • H-trie (Hierarchical trie) • Require back-tracking F2-tries
Algorithms based on heuristics • HiCuts (Hierarchial Intelligent Cuttings) • Tuple-space search
Geometric algorithms Rule Table • Cross-production algorithm Cross-product Table
Area-based quad-tree (AQT)Crossing filter A: Search space size=2k*2k F: Filter (Rule) size=2i*2j
Priority-based quad-tree (PQT)Building procedure Rule table Rule in 2D space by Src. & Dst. Prefix
Priority-based quad-tree (PQT)Building procedure Rule in 2D space by Src. & Dst. Prefix The quad-tree by AQT
Priority-based quad-tree (PQT)Building procedure The quad-tree by PQT The quad-tree by AQT Rules with smaller rule number have higher priorities
Priority-based quad-tree (PQT)Building procedure The quad-tree by PQT
Priority-based quad-tree (PQT)Update procedure • Delete • Remove rule except child pointer & linked list pointer • Need rebuilt in a regular interval • Insert • Compare priority • Crossing filter condition
Performance ACL: Accesss control lists M : Memory requirement Twst : Number of memory accesses in worst-case Tavg : Average number of memory accesses
Performance FW: Firewalls M : Memory requirement Twst : Number of memory accesses in worst-case Tavg : Average number of memory accesses
Performance IPC: IP chains M : Memory requirement Twst : Number of memory accesses in worst-case Tavg : Average number of memory accesses