DOI QR코드

DOI QR Code

A Smart Set-Pruning Trie for Packet Classification

패킷 분류를 위한 스마트 셋-프루닝 트라이

  • 민세원 (이화여자대학교 전자공학과) ;
  • 이나라 (이화여자대학교 전자공학과) ;
  • 임혜숙 (이화여자대학교 전자공학과)
  • Received : 2011.11.04
  • Published : 2011.11.30

Abstract

Packet classification is one of the basic and important functions of the Internet routers, and it became more important along with new emerging application programs requiring real-time transmission. Since packet classification should be accomplished in line-speed on each incoming input packet for multiple header fields, it becomes one of the challenges in designing Internet routers. Various packet classification algorithms have been proposed to provide the high-speed packet classification. Hierarchical approach achieves effective packet classification performance by significantly narrowing down the search space whenever a field lookup is completed. However, hierarchical approach involves back-tracking problem. In order to solve the problem, set-pruning trie and grid-of-trie algorithms are proposed. However, the algorithm either causes excessive node duplication or heavy pre-computation. In this paper, we propose a smart set-pruning trie which reduces the number of node duplication in the set-pruning trie by the simple merging of the lower-level tries. Simulation result shows that the proposed trie has the reduced number of copied nodes by 2-8% compared with the set-pruning trie.

패킷분류는 라우터의 가장 기본적이면서도 중요한 기능 중의 하나이며, 실시간 전송을 요구하는 새로운 인터넷 응용 프로그램의 등장과 더불어 그 중요성이 더욱 커지고 있다. 패킷분류는 입력 패킷에 대하여 선속도로 이루어져야 하며, 여러 헤더 필드에 대해 다차원 검색을 수행해야 하기 때문에 라우터 설계의 어려운 문제 중에 하나이다. 고속의 패킷분류를 제공하기 위한 다양한 패킷분류 알고리즘이 제안되어 왔으며, 그 중 계층적 접근 방식을 사용한 알고리즘은 하나의 필드에 대하여 검색이 수행될 때마다 많은 검색 영역이 제거되기 때문에 효율적이다. 그러나 계층적 구조는 역추적이라는 문제를 내재하고 있으며, 이를 해결하기 위해 사용되는 셋-프루닝 트라이나그리드-오브-트라이는 지나치게 많은 노드 복사를 야기하거나, 선-계산이라는 복잡한 과정을 요구한다. 본 논문에서는 셋-프루닝 하위 트라이의 간단한 합병을 통하여 복사되는 노드의 개수를 줄일 수 있는 스마트 셋-프루닝 구조를 제안한다. 시뮬레이션 결과 제안된 구조는 셋-프루닝 트라이와 비교하여 복사되는 노드 수 및 룰 수가 2-8% 줄어듦을 확인하였다.

Keywords

References

  1. H. Ionathan Chao, "Next Generation Routers," Predeedings of the IEEE IPROC.2002.802001, Vol.90, Issue 9, pp.1518-1588, Sep., 2002.
  2. M. de Berg, M. Van Kreveld, M. Ovennars, and O. Schwarzkopf, "Computational Geometry: Algorithms and Applications," Springer-Verlag, 2000 .
  3. Hyesook Lim and Iu Hyoung Mun, "High-Speed Packet Classification Using Binary Search on Length," IEEE/ACM ANCS 2007, Orlando, Florida, Dec. 3-4, 2007.
  4. G. Vaghese, "Network Algorithmics", Morgan Kaufmann, 2005.
  5. V. Srinivasan, G. Varghese, S. Suri, M. Waldvogel "Fast and Scalable Layer Four Switching," ACM SIGCOMM '98, Vancouver, Sep., 1998.
  6. A. Feldman, S. Muthukrishnsn, "Tradeoffs for packet classification," INFOCOM 2000, Vol.3, pp.1193-1202, Mar., 2000.
  7. F. Baboescu, S. Singh, G. Varghese, "Packet classification for core router : is there an alternative to CAMs?" IEEE INFOCOM 2003, Vol.1, pp.53-63, Mar., 2003.
  8. D. E. Taylor, J. S. Turner, "ClassBench: a packet classification benchmark," Proc.IEEE INFOCOM 2005, pp.2068 - 2079, Mar., 2005.
  9. D. E. Taylor, J. S. Turner, The Source Code of Packet Classifiation Bench, http://www.arl.wustl.edu/-det3/ClassBench.index.htm
  10. H. Lim, H. Kim, and C. Yim, "IP Address Lookup for Internet Routers Using Balanced Binary Search with Prefix Vector," IEEE Trans. on Communications, Vol.57, No.3, pp.618-621, Mar., 2009 https://doi.org/10.1109/TCOMM.2009.03.070146
  11. M. A. Ruiz-Sanchez, E. W. Biersack, W. Dabbous, "Survey and taxonomy of JP address lookup algorithms," IEEE Communications Society, Vol.15 , Issue: 2, pp.8-23, Mar./Apr., 2001