摘要
网络数据包过滤作为网路系统的一项重要功能,过滤器的性能很大部分影响着网络系统的性能,因而急需一个高性能的数据包过滤器。BPF(berkeley packet filter)位于linux的内核中,它独立于TCP/IP协议栈,为应用程序访问数据链路层提供了一个原始接口。但是由于执行方式的效率低下,不能被广泛应用。利用JIT技术改进BPF的执行方式,提高BPF过滤效率,对基于实时编译技术的BPF过滤器进行了性能测试。测试结果表明该模块能在实现动态配置功能的基础上同时保证模块运行的高性能。
As an important feature of the network system,network packet filter's performance has an impact on network performance,so a high-performance packet filter is essential.Berkeley packet filter lies in the kernel of Linux,and it is independent of the TCP/IP stack,and it provides a raw interface to access data link layer for application program.Because of the ineffective execution,it can't be widely used.JIT technology is used to improve the execution way and efficiency of BPF.Some tests are done to test the performance of BPF filter based on real-time compiler technology,and results show that the module can realize the dynamic configuration features and ensure high performance of the module running.
出处
《电子测量技术》
2012年第5期136-138,共3页
Electronic Measurement Technology