[1]曹建军,佘平,聂世强.申威平台高速网络数据处理框架的设计与实现[J].计算机技术与发展,2024,34(07):184-191.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0151]
 CAO Jian-jun,SHE Ping,NIE Shi-qiang.Design and Implementation of High Speed Network Data Processing Framework Based on Domestic Sunway Processors[J].,2024,34(07):184-191.[doi:10.20165/j.cnki.ISSN1673-629X.2024.0151]
点击复制

申威平台高速网络数据处理框架的设计与实现

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
34
期数:
2024年07期
页码:
184-191
栏目:
新型计算应用系统
出版日期:
2024-07-10

文章信息/Info

Title:
Design and Implementation of High Speed Network Data Processing Framework Based on Domestic Sunway Processors
文章编号:
1673-629X(2024)07-0184-08
作者:
曹建军1佘平1聂世强2
1. 中国电子科技集团公司第三十二研究所,上海 201808; 2. 西安交通大学,陕西 西安 710049
Author(s):
CAO Jian-jun1SHE Ping1NIE Shi-qiang2
1. The 32nd Research Institute of China Electronics Technology Group Corporation,Shanghai 201808,China; 2. Xi'an Jiaotong University,Xi'an 710049,China
关键词:
DPDK协议分析高速网络TCP/IP协议栈国产处理器
Keywords:
DPDKprotocol analysishigh-speed networkTCP/IP stackdomestic processor
分类号:
TP301
DOI:
10.20165/j.cnki.ISSN1673-629X.2024.0151
摘要:
随着大数据时代网络流量的激增,传统内核网络协议栈由于内核切换开销占比高等原因导致现有基于内核的网 络数据处理系统无法充分利用 10 Gb 乃至 100 Gb 的高速网卡收发能力。 为了降低内核切换开销,开源 DPDK 用户态网络开发套件被提出以支持高速网络流量处理,并在 x86 平台得到大规模应用和部署。 为了满足国产化信创和网络安全的要求,面向国产申威处理器平台设计并实现了一套基于 DPDK 的网络流量组包解析框架,充分利用 DPDK 的大页内存、无锁队列等机制,设计多线程并行以发挥申威处理器多核性能,支持常见基于 TCP/ UDP 的多种应用层协议解析,并具有轻量化和可扩展特点。 基于真实硬件平台实验结果表明,该框架性能比现有主流软件提高 10% 左右,为基于国产处理器平台的高速网络数据处理做了初步探索。
Abstract:
With the surge of network traffic in the era of big data,the traditional kernel-based network stack cannot fully utilize the high-speed NIC transceiver capability of 10 Gb or even 100 Gb due to the high kernel switch overhead of traditional kernel network stack. To reduce the software overhead,the open-source DPDK userspace network development kit is developed to support high-speed network ap-plication,which has been massively applied and deployed on x86 platforms. To meet the requirements of localization and national network security,we design and implement a DPDK-based IP packet parsing framework for the domestic Sunway processor platform,which make full use of DPDK's large-page memory,lock-free queue and other advance mechanisms and take advantage of the multi-core performance of the Sunway processor,which supports parsing of multiple user layer protocols based on TCP / IP stack, and has lightweight and scalable features. According to the experimental results on the real hardware platform,the performance of the proposed framework is about 10% higher than that of the existing mainstream software,which is a preliminary exploration for the application of the DPDK framework in domestic processors.

相似文献/References:

[1]韩咚 田银花.基于赋时颜色Petri网的NSSK协议建模[J].计算机技术与发展,2010,(06):156.
 HAN Dong,TIAN Yin-hua.The Modeling of NSSK Protocols Based on Timed Colored Petri Nets[J].,2010,(07):156.
[2]胡琼凯 黄建华.基于协议分析和决策树的入侵检测研究[J].计算机技术与发展,2009,(06):179.
 HU Oiong-kai,HUANG Jian-hua.Intrusion Detection Based on Protocol Analysis and Decision Tree[J].,2009,(07):179.
[3]周彩兰 虞珊 张亚芳.基于SMTP协议解析的垃圾邮件防治技术[J].计算机技术与发展,2008,(01):188.
 ZHOU Cai-lan,YU Shan,ZHANG Ya-fang.Technique of Preventing Junk Mail Based on SMTP[J].,2008,(07):188.
[4]燕振刚 罗进文.一种基于协议分析的入侵检测模型[J].计算机技术与发展,2008,(11):146.
 YAN Zhen-gang,LUO Jin-wen.An Intrusion Detection Model Based on Protocol Analysis[J].,2008,(07):146.
[5]王亚楠 刘方爱.基于数据挖掘和协议分析的可扩充IDS架构[J].计算机技术与发展,2006,(01):223.
 WANG Ya-nan,LIU Fang-ai.An Extensible Framework of Intrusion Detection System Based on Data Mining and Protocol Analysis[J].,2006,(07):223.
[6]蔡敏 叶震 徐吉斌.协议分析技术在入侵检测中的应用[J].计算机技术与发展,2007,(02):239.
 CAI Min,YE Zhen,XU Ji-bin.Application of Protocol Analysis Technology in IDS[J].,2007,(07):239.
[7]王锦超 李飞 沈明玉.网络数据包的协议分析算法设计与实现[J].计算机技术与发展,2006,(04):30.
 WANG Jin-chao,LI Fei,SHEN Ming-yu.Design and Implementation of Protocols Analysis Algorithm for Network Datagram Packets[J].,2006,(07):30.
[8]曹雪峰.基于GNS3的帧中继仿真分析[J].计算机技术与发展,2013,(05):254.
 CAO Xue-feng.Frame Relay Simulation and Analysis Based on GNS3[J].,2013,(07):254.
[9]王凯,吴君钦.基于DPI技术的IM协议识别系统研究[J].计算机技术与发展,2013,(11):120.
 WANG Kai,WU Jun-qin.Research on IM Protocol Recognition System Based on DPI Technology[J].,2013,(07):120.

更新日期/Last Update: 2024-07-10