mirror of
https://github.com/Mailu/Mailu.git
synced 2025-03-03 14:52:36 +02:00
FAQ : Add a one liner command to help checking if platform is SSE4.2 capable
This commit is contained in:
parent
12df485d39
commit
45c4dd12a9
@ -1003,7 +1003,10 @@ Why is Rspamd giving me an "Illegal instruction" error ?
|
||||
On Linux amd64 (x84_64), if the antispam container is crashing and gives you an ``Illegal instruction`` error, you may have a CPU that lacks support of the ``SSE4.2`` instruction set.
|
||||
The more modern and FOSS ``vectorscan`` library used by rspamd superseeded the now closed source Intel ``hyperscan`` library in Alpine Linux, and since August 2024 it requires the ``SSE4.2`` instruction set to work properly.
|
||||
|
||||
Pre-2013 Intel Atom CPUs (Like N2800 or D425), Intel pre-Nehalem architectures and AMD pre-Bulldozer architectures does not support ``SSE4.2``.
|
||||
Pre-2013 Intel Atom CPUs (Like N2800 or D425), Intel pre-Nehalem architectures and AMD pre-Bulldozer architectures do not support ``SSE4.2``.
|
||||
To check if your CPU supports ``SSE4.2`` you can use this one liner command:
|
||||
|
||||
``if grep -q sse4_2 /proc/cpuinfo; then echo "CPU is SSE4.2 Capable"; else echo "CPU is NOT SSE4.2 capable"; fi``
|
||||
|
||||
A workaround to this issue is to use a x86_32 (or i686) version of rspamd, because the ``vectorscan`` library is only used on 64-bit capable systems.
|
||||
Note that this may stop working in the future, as 32-bit software support is being progressively dropped.
|
||||
|
Loading…
x
Reference in New Issue
Block a user