DOI QR코드

DOI QR Code

2-Dimensional Bitmap Tries for Fast Packet Classification

고속 패킷 분류를 위한 2차원 비트맵 트라이

  • Seo, Ji-hee (Ewha Womans University Department of Electronics Engineering) ;
  • Lim, Hye-sook (Ewha Womans University Department of Electronics Engineering)
  • Received : 2015.07.02
  • Accepted : 2015.09.03
  • Published : 2015.09.30

Abstract

Packet classification carried out in Internet routers is one of the challenging tasks, because it has to be performed at wire-speed using five header fields at the same time. In this paper, we propose a leaf-pushed AQT bitmap trie. The proposed architecture applies the leaf-pushing to an area-based quad-trie (AQT) to reduce unnecessary off-chip memory accesses. The proposed architecture also applies a bitmap trie, which is a kind of multi-bit tries, to improve search performance and scalability. For performance evaluation, simulations are conducted by using rule sets ACL, FW, and IPC, with the sizes of 1k, 5k, and 10k. Simulation results show that the number of off-chip memory accesses is less than one regardless of set types or set sizes. Additionally, since the proposed architecture applies a bitmap trie, the required number of on-chip memory accesses is the 50% of the leaf-pushed AQT trie. In addition, our proposed architecture shows good scalability in the required on-chip memory size, where the scalability is identified by the stable change in the required memory sizes, as the size of rule sets increases.

인터넷 라우터에서 행해지는 패킷분류는 5가지 패킷 헤더를 검사하여 선속도로 처리해야하기 때문에, 라우터가 수행하기 어려운 기능 중 하나이다. 본 논문에서는 리프-푸싱 된 영역분할 사분트라이 기반 비트맵 트라이 구조 (leaf-pushed AQT bitmap trie)를 제안한다. 제안하는 구조는 영역분할 사분트라이(Area-based Quad Trie, AQT)에 기초하되 불필요한 칩-외부메모리 접근을 줄이고자 리프-푸싱(leaf-pushing)기법을 적용하고, 멀티 비트 트라이인 비트맵을 적용하여 패킷분류 속도와 확장성을 모두 향상시킨 구조이다. 성능 평가를 위하여 ACL FW, IPC 룰셋을 각각 1k, 5k, 10k로 크기를 증가시키며 실험을 진행하였다. 그 결과, 제안하는 구조에서는 룰 셋의 종류나 크기와는 상관없이 패킷분류를 위하여 필요한 칩-외부메모리 접근 횟수가 1번 이내임을 확인할 수 있었다. 또한, 비트맵 트라이를 적용함으로 인해, 리프-푸싱기반 영역분할 사분트라이와 비교하여 약 50%의 칩-내부메모리 접근이 요구됨을 보았으며, 또한 칩-내부메모리 요구량의 변화폭이 룰 셋이 증가함에 따라 안정적으로 변화하여 제안하는 구조의 확장성을 확인할 수 있었다.

Keywords

References

  1. W. Lee, C.-H. Choi, and S.-M. Kim, "Point-to-multipoint services and hierarchical QoS on PBB-TE system," J. KICS, vol. 37B, no. 06, pp. 433-44, 2012.
  2. K.-S. Shim, S.-H. Yoon, S.-K. Lee, S.-M. Kim, W.-S. Jung, and M.-S. Kim, "Automatic generation of snort content rule for network traffic analysis," J. KICS, vol. 40, no. 04, pp. 666-677, 2015. https://doi.org/10.7840/kics.2015.40.4.666
  3. Y. Choe, M. Shim, and H. Lim, "Packet classification using an area-based quad-trie conditionally merged with decision trees," J. KISS, vol. 41, no. 1, pp. 33-47, Feb. 2014.
  4. P. Gupta and 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. J. Chao, "Next generation routers," in Proc. IEEE, vol. 90, no. 9, pp. 1518-1588, Sept. 2002. https://doi.org/10.1109/JPROC.2002.802001
  6. S.-H. Oh, S.-G. Na, and J.-S. Ahn, "Bit-map trie for fast routing lookups," in Proc. KISS Spring Conf., vol. 27, no. 1, pp. 328-330, Mar. 2000.
  7. F. Baboescu, S. Singh, and G. Varghese, "Packet classification for core router: is there an alternative to CAMs?," in Proc. IEEE INFOCOM, vol. 1, pp. 53-63, Mar.-Apr. 2003.
  8. M. M. Buddhikot, S. Suri, and M. Waldvogel, "Space decomposition techniques for fast layer-4 switching," in Proc. Conf. Protocols for High Speed Netw., vol. 31, pp. 25-41, Aug. 1999.
  9. H. Yu and R. Mahapatra, "A Memoryefficient hashing by multi-predicate bloom filters for packet classification," in Proc. IEEE INFOCOM, pp. 2467-2475, Phoenix, AZ, Apr. 2008.
  10. H. Lim, K. lim, and N. Lee, "On adding bloom filters to longest prefix matching algorithms," in Proc. IEEE Trans. Comput., vol. 10, no. 99, Aug. 2012.
  11. Y. Choe and H. Lim, "Two-dimensional binary search on length using bloom filter for packet classification," J. KICS, vol. 37B, no. 04, pp. 245-257, 2012.
  12. W. Eatherton, G. Varghese, and Z. Dittia, "Tree bitmap : Hardware/software IP lookups with incremental updates," ACM SIGCOMM Comput. Commun. Rev., vol. 34, no. 2, pp. 97-122, Apr. 2004. https://doi.org/10.1145/997150.997160
  13. D. E. Taylor and J. S. Turner, "ClassBench: A packet classification benchmark," IEEE/ACM Trans. Netw., vol. 15, no. 3, pp. 499-511, Jun. 2007. https://doi.org/10.1109/TNET.2007.893156