mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 17:55:32 +04:00
snort3: replace hyperscan with vectorscan in deps
* Replacement of hyperscan-runtime reference with vectorscan-runtime * Added support for all aarch64 targets which I believe is exhaustive For x86 and x86/64, I found that vectorscan is truly a drop-in replacement for hyperscan as assessed by speedtests with snort3 running on my Intel N150 PC. CPU load during the test with each condition was nearly saturating on a single core for both cases on a symmetrical Gbps line. Using: https://www.waveform.com/tools/bufferbloat in IPS mode: Download speed w/ hyperscan: 950-960 Mbit/s (n=2) Download speed w/ vectorscan: 942-960 Mbit/s (n=2) Using: https://www.speedtest.net in IPS mode: Download speed w/ hyperscan: 996-1002 Mbit/s (n=2) Download speed w/ vectorscan: 993-988 Mbit/s (n=2) Build system: x86/64 Build-tested: x86/64-glibc Run-tested: x86/64-glibc (Intel N150 based box running snort3) Signed-off-by: John Audia <therealgraysky@proton.me>
This commit is contained in:
1 parent
cd6de3f1db
commit
8d81f0e2ee
1 file changed
+2
-2
+2
-2
@@ -24,8 +24,8 @@ include $(INCLUDE_DIR)/cmake.mk
|
||||
ifeq ($(filter $(ARCH),mips mips64 mipsel powerpc),)
|
||||
EXTRA_DEPENDS += +gperftools-runtime
|
||||
endif
|
||||
ifeq ($(filter $(ARCH),x86_64),$(ARCH))
|
||||
EXTRA_DEPENDS += +hyperscan-runtime
|
||||
ifeq ($(filter $(ARCH),x86_64 aarch64),$(ARCH))
|
||||
EXTRA_DEPENDS += +vectorscan-runtime
|
||||
CMAKE_OPTIONS += -DHS_INCLUDE_DIRS=$(STAGING_DIR)/usr/include/hs
|
||||
endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user