Fast packet classification through tuple reduction and lookahead caching

Pi-Chung Wang1, Chia-Tai Chan1, Shuo-Cheng Hu1, Wei-Chun Tseng1, Yaw-Chung Chen2,1
1Telecommunication Laboratory, Chunghwa Telecom Company Limited, Taiwan
2Department Computer Science and Information Engineering, National Chiao Tung University, Taiwan

Tóm tắt

Packet classification is a technique that classifies the flows into different classes. Nowadays the packet classification plays an important role for many new Internet services. Rectangle search is a well-known packet classification scheme which is based on multiple hash accesses for different filter length. It shows good scalability with respect to the number of filters; however, the lookup performance is not fast enough. For example, through experiments, each packet classification takes about 40 hash accesses in a 100,000-filter database and each hash access may take more than one memory access. Obviously, this is not capable to provide gigabits throughput. We propose an efficient scheme to improve the rectangle search. The scheme consists of two parts. In the first part, the "tuple reduction algorithm" based on filter duplication is proposed. In spite of the increased number of filters, the pre-computation information is dramatically reduced. The performance has increased two times while only about one quarter storage is required. Secondly, we propose a novel "lookahead caching" which can further improve the lookup performance. The basic idea is to find out the "un-matched" case for each incoming packet, thus it is different from the traditional caching mechanism. The experimental results indicate that the proposed scheme can fulfill OC-192 throughput.

Từ khóa

#Information filtering #Information filters #Throughput #Databases #Matched filters #Computer science #Web and internet services #Lakes #Bandwidth #Scalability

Tài liệu tham khảo

0, National Laboratory for Applied Network Research 10.1109/49.772439 huang, 1999, A Novel IP-Routing Lookup Scheme and Hardware Architecture for Multigigahit Switching Routers, IEEE JSAC, 17, 1093 degermark, 1997, Small Forwarding Tables for Fast Routing Lookups, ACM SIGCOMM, 3, 10.1145/263109.263133 gupta, 1999, Routing Lookups in Hardware at Memory Access Speeds, IEEE INFOCOM, 1240 10.1145/316194.316217 waldvogel, 1997, Scalable High Speed IP Routing Lookups, ACM SIGCOMM, 25, 10.1145/263109.263136 10.1145/316194.316216 10.1145/296502.296503 10.1007/978-0-387-35580-1_4 10.1109/INFCOM.2000.832493 10.1145/285243.285283 10.1145/285243.285282 10.1109/INFCOM.2000.832499 gupta, 0, Packet Classification using Hierarchical Intelligent Cuttings, Hot Interconnects VII August 1999