Open Access Open Access  Restricted Access Subscription Access

PFC: A New High-Performance Packet Filter Architecture

Chuan-Hsing Shen,
Tein-Yaw Chung,
Yang-Hui Chang,
Yung-Mu Chen,

Abstract


As communication technology has advanced, network capacity has grown exponentially in recent years. The performance of network monitoring tools is becoming more important as they must process many more packets in a unit of time than they ever did before. A common core component of any network monitoring tool is a packet filter that processes every packet header and passes those packets according to filter rules, to user spaces for further processing. This study presents a packet filter architecture called Packet Filter Cache (PFC) to improve the performance of existing packet filters. The PFC architecture adds a filter rule cache in front of an existing packet filter. Rather than caching the instruction set as in warm caching, the filter rule cache stores the hash value of a filter rule as a hash table entry that can be found in a O(1) memory access. By exploiting the hash lookup speed, PFC can boost filtering performance using only a small cache size. Additionally, PFC also caches unmatched packet flows to achieve a high hit rate. PFC is only a cache mechanism and is added before a traditional packet filter, so it does not depend on the re-engineering of existing filter module. It can therefore be applied to most packet filters. Simulation reveals that PFC can improve the processing time by a factor of around four, at a cache hit rate of 70%.

Keywords


cache; packet filter; packet classification; un-matched flow

Citation Format:
Chuan-Hsing Shen, Tein-Yaw Chung, Yang-Hui Chang, Yung-Mu Chen, "PFC: A New High-Performance Packet Filter Architecture," Journal of Internet Technology, vol. 8, no. 1 , pp. 67-74, Jan. 2007.

Full Text:

PDF

Refbacks

  • There are currently no refbacks.





Published by Executive Committee, Taiwan Academic Network, Ministry of Education, Taipei, Taiwan, R.O.C
JIT Editorial Office, Office of Library and Information Services, National Dong Hwa University
No. 1, Sec. 2, Da Hsueh Rd., Shoufeng, Hualien 974301, Taiwan, R.O.C.
Tel: +886-3-931-7314  E-mail: jit.editorial@gmail.com