The Community for Technology Leaders
Green Image
Issue No. 03 - March (2011 vol. 60)
ISSN: 0018-9340
pp: 346-359
Kai Zheng , IBM China Research Lab, Beijing, China
Hongbin Lu , Tsinghua University, Beijing, China
Erich Nahum , IBM T.J. Watson Research Center, Hawthorne, NY, USA
Pattern Matching (PM) is a key building block for many emerging network applications. Modern multicore platforms are becoming performance competitive with traditional hardware solutions, which are expensive and hard to adapt to the rapid diversification of Internet applications. However, due to uneven network flow sizes and the need to retain packet order within each flow, traditional parallel processing models using packet flows as the basic unit to partition the workload cannot fully take advantage of multicore platforms' power, exhibiting low CPU utilization and poor scalability with increasing numbers of CPUs or cores. In this paper, we propose a novel parallel inspection model called Dynamic Differentiated Distributed Detection ({\rm D}^{4}). {\rm D}^{4} deploys balanced parallel detection by adding one more dimension on PM workload partition. The pattern set is prepartitioned into several subsets so as to distribute the workload of the hot flows across multiple cores while still maintaining packet order within each flow. We also show theoretically that higher number of subsets leads to higher algorithmic overhead. To achieve optimal throughput for all flow size distributions, {\rm D}^{4} prepartitions the pattern set in several ways for use in different detection modes beforehand, and then, dynamically switches among these modes on-the-fly according to the flow and runtime information it senses. {\rm D}^{4} also allows multiple PM algorithms to work simultaneously on different pattern subsets. According to several heuristics and the algorithms' characteristics, the detection mode selection and subset partitioning algorithms are designed to maximize the CPU/core utilization while avoiding unnecessary overheads. Experiments show that {\rm D}^{4} features high core utilization and low overhead, thus achieving distinct performance gains against traditional load balancing schemes, as shown by experimental results using real-world pattern sets and traffic traces.
Load balancing, network-level security and protection, scheduling and task partitioning.

E. Nahum, K. Zheng and H. Lu, "Scalable Pattern Matching on Multicore Platform via Dynamic Differentiated Distributed Detection (D⁴)," in IEEE Transactions on Computers, vol. 60, no. , pp. 346-359, 2010.
89 ms
(Ver 3.3 (11022016))