我要评分
获取效率
正确性
完整性
易理解

Introduction

This document describes how to install and compile Hyperscan based on the Kunpeng 920 processor and openEuler.

Hyperscan is a high-performance regular expression matching library. It is developed based on Perl Compatible Regular Expressions (PCRE) and is open-source under the Berkeley Software Distribution (BSD) license. It follows the regular expression syntax of the commonly-used libpcre library but has its own C interfaces. Based on the official Hyperscan release and Huawei Kunpeng microarchitecture, the implementation mechanism of core interfaces is redesigned, the development and performance are optimized, and the software package suitable for the Kunpeng platform is released. Users of the Kunpeng platform can download this software package based on their service requirements to improve the stability and performance of services on the Kunpeng platform.

The following functions are added to the Hyperscan version dedicated for the Kunpeng platform:

  • The Kunpeng platform branch fully compatible with Armv8-A is added. In addition, the use on the x86 platform is not affected.
  • NEON instruction, inline assembly, data alignment, instruction alignment, memory prefetch, static branch prediction, and adjusted code structure are used to improve the performance on the Kunpeng platform.
  • The Kunpeng Hyperscan Enhanced Library (KHSEL) package optimizes the large-pattern matching algorithm FDR and small-pattern quick matching algorithm Shufti, and enhances the scan performance of Hyperscan for processing datasets such as snort_literal and snort_pcre.

For more information about Hyperscan, visit https://gitee.com/kunpengcompute/hyperscan.