Title :
Comparative evaluation of software implementations of layer-4 packet classification schemes
Author :
Sahasranaman, Vivek ; Buddhikot, Milind M.
Author_Institution :
Inktomi Inc., San Jose, CA, USA
Abstract :
The availability of fast network processors and general purpose CPUs has made software implementation of per-packet processing in network elements an attractive option. Given this, a-priori knowledge of performance of software implementations of the well known Layer-4 packet classification will be very useful. We compare the performance of three state-of-the-art packet classification schemes namely, Grid-of-Tries (GOT), Packet Classification Algorithms using Recursive Space-decomposition (PACARS) , and Tuple-Space-Search (TSS), implemented in FreeBSD 3.3 UNIX kernel. We developed two new OS extensions, namely, the Virtual Filter Database (VFD) framework and the new routing socket API to implement these algorithms. We used real-life as well as synthetic rule databases to evaluate their performance. Our key conclusions are: (1) compression of trie data structure that is central to a lot of classification algorithms has limited benefits on general purpose CPUs; (2) static algorithms such as GOT that do not support dynamic updates support very fast search performance of the order of a few microseconds per search and may be adequate for static firewalls; and (3) with medium sized databases, PACARS and TSS schemes provide update times of the order of 100s of microseconds and search performance of the order of 10s of microseconds. These algorithms are adequate for dynamic firewalls, traffic directors, and network monitoring applications in enterprise networks.
Keywords :
Internet; Unix; authorisation; business communication; network operating systems; packet switching; performance evaluation; quadtrees; software engineering; telecommunication traffic; transport protocols; 1Pv4 packets; FreeBSD 3.3 UNIX kernel; GOT; Grid-of-Tries; Internet; PACARS; enterprise networks; general purpose CPU; layer-4 packet classification schemes; network elements; network monitoring; network processors; packet classification algorithms; per-packet processing; performance measurements; recursive space-decomposition; routing socket API; search performance; software implementation; static algorithms; static firewalls; synthetic rule databases; traffic directors; trie data structure compression; update times; virtual filter database; Availability; Classification algorithms; Data structures; Databases; Filters; Kernel; Routing; Sockets; Software performance; Telecommunication traffic;
Conference_Titel :
Network Protocols, 2001. Ninth International Conference on
Print_ISBN :
0-7695-1429-4
DOI :
10.1109/ICNP.2001.992902