首页 | 本学科首页   官方微博 | 高级检索  
     

多核平台上B-NIDS的优化
引用本文:孙小涓,孙凝晖,陈明宇.多核平台上B-NIDS的优化[J].计算机研究与发展,2007,44(10):1733-1740.
作者姓名:孙小涓  孙凝晖  陈明宇
作者单位:[1]中国科学院计算技术研究所国家智能计算机研究开发中心,北京100080 [2]中国科学院计算机系统结构重点实验室,北京100080 [3]中国科学院研究生院信息科学与工程学院,北京100049
基金项目:国家高技术研究发展计划(863计划)
摘    要:计算进入了多核时代,处理器的发展不再由更快的主频带动,而是依靠增加片上的多个核心.但是,对于高性能应用来说,多核平台的并行处理由于缺少适合的并行程序开发工具还处于初始阶段.一个串行B-NIDS的优化需要对底层线程结构的深入了解和正确使用.发现了现有并行系统基于细粒度锁同步机制的瓶颈,根据应用的数据流特点提出了没有竞争的同步机制.然后,提出了改进系统三级流水的多线程结构,并实现了不同特征流的差别服务.在性能评价中,改进系统在8核32线程服务器上从资源占用、吞吐率及响应时间3个方面都表现出了更好的性能.

关 键 词:网络入侵检测  多核  并行优化  同步开销  多线程程序模型
修稿时间:2007年2月25日

Optimization of B-NIDS for Multicore
Sun Xiaojuan,Sun Ninghui,Chen Mingyu.Optimization of B-NIDS for Multicore[J].Journal of Computer Research and Development,2007,44(10):1733-1740.
Authors:Sun Xiaojuan  Sun Ninghui  Chen Mingyu
Abstract:With the rapid increase of network bandwidth and the growing variety of Internet applications,the backbone network intrusion detection systems(B-NIDS) meet the great requirements of delivering higher performance and enhancing effectiveness according to different features of network streams.Computing is entering a new phase in which CPU improvements are driven by the addition of multiple cores on a single chip,rather than higher frequencies.Parallel processing on these systems is in a primitive stage,and the parallelization of a sequential B-NIDS requires the explicit use and knowledge of underlying thread architecture.In this paper the bottleneck of the thread synchronization using fine-grained lock operations is discovered,and the new synchronization mechanism with no contention for shared structures is proposed based on the characteristics of data flow.Then a pipelining programming model of multithreading system with three contexts is issued,and the differential service for streams is implemented with the multiple weighed queues.In performance evaluation,the optimized system shows much better performance in three aspects of resource utilization,throughput,and response time on 8 core server.The improved system with the proposed synchronization mechanism shows good scalability.The processing capability on tested server can exceed over 1Gbps traffic flow.Also the multiple weighed queues for service quality introduce little latency,and a kind of probe-based sampling test shows that the response times of prioritized streams are shorter than those of non-prioritized.
Keywords:network intrusion detection  multicore  parallel optimization  synchronization overhead  multithreading programming model
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号