| 注册
首页|期刊导航|计算机技术与发展|一种基于国产平台的Hyperscan优化方法

一种基于国产平台的Hyperscan优化方法

王聪 曾安琪 季震宇 徐澍

计算机技术与发展2026,Vol.36Issue(9):31-36,6.
✕
计算机技术与发展2026,Vol.36Issue(9):31-36,6.DOI:10.20165/j.cnki.ISSN1673-629X.2026.0059

一种基于国产平台的Hyperscan优化方法

An Optimization Method of Hyperscan Based on Domestic Platform

王聪 1曾安琪 1季震宇 1徐澍1

作者信息

  • 1. 无锡先进技术研究院,江苏 无锡 214122
  • 折叠

摘要

Abstract

As a crucial tool for text matching,regular expressions play a significant role in the processing of network data.However,the open-source regular expression library Hyperscan exhibits relatively low matching efficiency on the Weixin H8000 platform,which limits its application in network data processing.To solve this problem,we propose a method based on single instruction multiple data instruc-tion-level optimization to enhance the matching performance of Hyperscan on the Weixin H8000 platform.The optimization method first analyzed the parallel characteristics of Hyperscan and in combination with the performance analysis tools of the Sunway platform,the hotspot functions affecting matching performance were identified.Secondly,for these hotspot functions,SIMD assembly instructions were manually embedded to optimize the key functions.Experimental results demonstrate that the regular expression matching performance on the Weixin H8000 platform has been improved by an average of 77%,significantly enhancing the efficiency of Hyperscan on this plat-form.This optimization method not only provides an effective solution for improving Hyperscan's performance on Sunway processors but also offers important support for the application and development of domestic processors in the field of network data processing.

关键词

正则表达式/网络数据/Hyperscan/单指令多数据/性能分析工具/热点函数/汇编指令/申威处理器

Key words

regular expression/network data/Hyperscan/single instruction multiple data/performance analysis tools/hotspot functions/as-sembly instructions/Sunway processor

分类

信息技术与安全科学

引用本文复制引用

王聪,曾安琪,季震宇,徐澍..一种基于国产平台的Hyperscan优化方法[J].计算机技术与发展,2026,36(9):31-36,6.

基金项目

江苏省科技计划项目基金(SBE2023020404) (SBE2023020404)

计算机技术与发展

1673-629X

访问量0
|
下载量0
段落导航相关论文