Title :
Efficient packet classification using spatial cutting
Author :
Lee, Chun-Liang ; Hu, Shuo-Cheng ; Wang, Pi-Chung ; Chan, Chia-Tai
Author_Institution :
Telecommun. Lab., Chunghwa Telecom Co., Ltd., Taipei, Taiwan
Abstract :
To provide a more discriminating form of packet forwarding, a router has to determine how to forward a packet not only based on the destination address, but also other fields of the packet header, such as the source address, TCP and UDP port numbers. Since a router may contain a larger number of filters, it is a challenging work to design a packet classification algorithm with fast lookup speed and efficient memory usage. In this paper, we propose a spatial cutting scheme, which divides the filters into different groups from the viewpoint of space. For example, a two-dimensional filter can be seen as a rectangle in the space. The proposed scheme generates squares according to the filters. Each filter is covered by at least one square. Classifying a packet only requires two steps: locating the smallest square covering the packet and finding the matching filter in the square. Since the proposed scheme effectively divides the filters, it is able to provide fast lookup speed and reduce the required storage significantly.
Keywords :
Internet; information filters; table lookup; telecommunication network routing; lookup speed; matching filter; memory usage; packet classification; packet forwarding; packet header; router; spatial cutting; two-dimensional filter; Algorithm design and analysis; Classification algorithms; Information filtering; Information filters; Internet; Laboratories; Matched filters; Protocols; Space technology; Telecommunications;
Conference_Titel :
High Performance Switching and Routing, 2005. HPSR. 2005 Workshop on
Print_ISBN :
0-7803-8924-7
DOI :
10.1109/HPSR.2005.1503204