Thank you for answers. As I understand you right amd64 kernel supports AES-NI for ipsec, softraid, and LibreSSL only. Right?
Just wonder, how to check softraid discipline exactly utilizes AES-NI instruction set on amd64 machine? Softraid created bioctl -r 8192 (for test purposes) works relatively slow ~10~12Mb/s on AES-NI enabled machines. Tested for Intel and AMD CPUs. cp command utilizes about 22% of CPU usage while copying. On 2/4/2019 1:49 AM, Christian Weisgerber wrote: > On 2019-02-03, Stuart Henderson <s...@spacehopper.org> wrote: > >>> If your CPU supports AES-NI, the kernel and base software will use it by >>> default. >> >> You do need to pick suitable ciphers though. And it is only supported >> on OpenBSD/amd64 not OpenBSD/i386. > > Only the kernel support (IPsec, softraid crypto) is limited to > amd64. The userland can still use AES-NI on i386; specifically, > LibreSSL does. Of course all CPUs that support AES-NI can also run > amd64. >