DOI QR코드

DOI QR Code

인터넷 라우터에서의 패킷 분류를 위한 2차원 이진 검색 트리

Two-dimensional Binary Search Tree for Packet Classification at Internet Routers

  • 이고은 (이화여자대학교 전자공학과) ;
  • 임혜숙 (이화여자대학교 전자공학과)
  • Lee, Goeun (Dept. of Electronics Engineering, Ewha Womans University) ;
  • Lim, Hyesook (Dept. of Electronics Engineering, Ewha Womans University)
  • 투고 : 2015.01.28
  • 심사 : 2015.05.31
  • 발행 : 2015.06.25

초록

현재의 인터넷 사용자들은 실시간으로 다양한 멀티미디어 서비스를 제공 받길 원한다. 이에 네트워크 트래픽의 속도는 매우 빨라지고 있으며, 처리하여야 하는 데이터의 양은 해마다 기하급수적으로 증가하고 있다. 데이터는 '패킷'이라는 단위의 데이터 형식으로 전송되며, 패킷분류는 인터넷 라우터의 가장 어려운 기능 중 하나로 모든 패킷에 대하여 선속도로 처리되어야 한다. 다양한 패킷 분류 알고리즘 중, 영역분할 패킷분류 알고리즘은 5개의 패킷 헤더 필드 정보를 동시에 검색할 수 있는 효율적인 알고리즘이다. 영역 분할 사분 트라이는 가장 대표적인 영역분할 패킷분류 알고리즘으로 메모리 요구량이 적은 알고리즘이지 만, 빠른 검색성능을 보장하지 못하는 단점이 있다. 본 논문에서는, 영역 분할 사분 트라이의 단점을 이진 검색 트리를 사용해 보완하는 새로운 알고리즘을 제안한다. 실험을 통하여 제안하는 알고리즘은 입력과 비교되는 룰의 수에 있어 영역 분할 사분 트라이 보다 검색 성능이 향상됨을 보았다.

The Internet users want to get real-time services for various multi-media applications. Network traffic rate has been rapidly increased, and data amounts that the Internet has to carry have been exponentially increased. A packet is the basic unit in transferring data at the Internet, and packet classification is one of the most challenging functionalities that routers should perform at wire-speed. Among various known packet classification algorithms, area-based quad-trie (AQT) algorithm is one of the efficient algorithms which can lookup five header fields simultaneously. As a representative space decomposition algorithm, the AQT requires a small amount of memory in storing classification rules, but it does not provide high-speed classification performance. In this paper, we propose a new packet classification algorithm by applying a binary search for the codewords of the AQT to overcome the issue of the AQT. Throughout simulation, it is shown that the proposed algorithm provides a better performance than the AQT in the number of rule comparisons with each input packet.

키워드

참고문헌

  1. H. Song, J.W. Lockwood, "Efficient Packet Classification for Network Intrusion Detection Using FPGA," in Proc. ACM SIGDA FPGA, pp.238-245, 2005
  2. W. Lu, S. Sahni, "Succinct Representation of Static Packet Classfiers," IEEE ACM Transactionson Networking, vol.17, Iss.3, pp.803-816, June. 2009. https://doi.org/10.1109/TNET.2008.2010594
  3. M.de Berg, M.Van Kreveld,M. Overmars, and O.Schwarzkopf, "Computational Geometry Algorithms and Applications," Springer-Verlag, 2000.
  4. P. Gupta, N. Mckeown, "Algorithms for packet classification," IEEE Network, vol.15, no.2, pp.24-32, Mar. Apr. 2001 https://doi.org/10.1109/65.912717
  5. H. Lim and N. Lee, "Survey and Proposal on Binary Search Algorithms for Longest Prefix Match," in Proc. IEEE Communications Surveys and Tutorials, vol.14, no.3, Third Quarter, pp.681-697, 2012
  6. V. Srinivasan, S. Suri, G. Varghese, "Packet classification using tuple space search," in Proc. of ACM SIGCOMM Computer Communication Review, vol.29, no.4, pp.135-146, 1999
  7. F. Baboescu, S. Singh, G. Varghese, "Packet classification for core router: is there an alternative to CAM", in Proc. IEEE INFOCOM 2003, vol.1, pp.53-63, Mar. 2003
  8. M. M. Buddhikot, S. Suri, M. Waldvogel, "Space decomposition techniques for fast layer-4 switching," in Proc. Conf. Protocols for High Speed Networks, pp.25-41, Aug. 1999
  9. H.Lim, M.Kang, and C.Yim, "Two-dimensional packet classification algorithm using a quad-tree," Computer communications, Science, vol.30, no6, pp.1396-1405, Mar.200 https://doi.org/10.1016/j.comcom.2007.01.004
  10. H.Lim, H.Chu, and C.Yim, "Hierarchical Binary Search Tree for Packet Classfication," IEEE Communications Letters, vol.11, no8, pp.689-691, Aug.2007.
  11. N. Yazdani and P.S Min, "Fast and Scalable Schemes for the IP Address Lookup Problem," Proc.IEEE HPSR2000, pp83-92, 2000.
  12. H.Lim, W.Kim, and B.Lee, "Binary Search in a Balanced Tree for IP Address Lookup," Proc.IEEE HPSR 2005, May2005
  13. V.Srinuvasan and G.Varghese, "Fast Address Lookups Using Controlled Prefix Expansion", ACM Transactions on Computer Systems, Vol.17, No,1, pp.1-40, Feb.1999. https://doi.org/10.1145/296502.296503
  14. J. Mun, H.Lim and C.Yim, "Binary Search on Prefix Lengths for IP Address Lookup," IEEE communications Letters, vil.10, no.6, pp.492-494, June, 2006 https://doi.org/10.1109/LCOMM.2006.1638626
  15. C.Yim, B.Lee, and H.Lim, "Efficient Binary Search for IP Address Lookup," to be appeared on IEEE Comminications Letters, Jul.2005.
  16. D.E. Taylor, J.S. Turner, J.S, "ClassBench: a packet classification benchmark," Proc. IEEE INFOCOM 2005, pp.2068-2079, March 2005.
  17. D.E. Taylor, J.S. Turner. The source code of Packet Classficatio Bench.