Re: Modern CPUs AES-NI enabling system wide

2019-02-04 Thread Jordan Geoghegan
On 02/04/19 00:54, Denis wrote: 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. I am able to read and write over 100MB/s from my softraid volume... I just backed up my home folder to my NAS and

Re: Modern CPUs AES-NI enabling system wide

2019-02-04 Thread Denis
They in his usual style... I understand, thanks for reply. Expecting better IO results only. On 2/4/2019 12:00 PM, Theo de Raadt wrote: > Denis wrote: > >> Thank you for answers. >> >> As I understand you right amd64 kernel supports AES-NI for ipsec, >> softraid, and LibreSSL only. Right? > >

Re: Modern CPUs AES-NI enabling system wide

2019-02-04 Thread Theo de Raadt
Denis wrote: > Thank you for answers. > > As I understand you right amd64 kernel supports AES-NI for ipsec, > softraid, and LibreSSL only. Right? That word "only" what does it mean... AES-NI isn't used to blink the cursor? Please be careful of what you imply. > Just wonder, how to check

Re: Modern CPUs AES-NI enabling system wide

2019-02-04 Thread Denis
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

Re: Modern CPUs AES-NI enabling system wide

2019-02-03 Thread Christian Weisgerber
On 2019-02-03, Stuart Henderson 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

Re: Modern CPUs AES-NI enabling system wide

2019-02-03 Thread Stuart Henderson
On 2019-02-03, Juan Francisco Cantero Hurtado wrote: > On Sun, Feb 03, 2019 at 11:35:52AM +0300, Denis wrote: >> How to enable AES-NI AES system wide hardware acceleration support for >> crypto disciplines like LibreSSL, softraid0 crypto etc? > > If your CPU supports AES-NI, the kernel and base

Re: Modern CPUs AES-NI enabling system wide

2019-02-03 Thread Juan Francisco Cantero Hurtado
On Sun, Feb 03, 2019 at 11:35:52AM +0300, Denis wrote: > How to enable AES-NI AES system wide hardware acceleration support for > crypto disciplines like LibreSSL, softraid0 crypto etc? If your CPU supports AES-NI, the kernel and base software will use it by default. -- Juan Francisco Cantero

Re: Modern CPUs AES-NI enabling system wide

2019-02-03 Thread Solene Rapenne
Denis wrote: > How to enable AES-NI AES system wide hardware acceleration support for > crypto disciplines like LibreSSL, softraid0 crypto etc? Hi, just enable it in bios.

Modern CPUs AES-NI enabling system wide

2019-02-03 Thread Denis
How to enable AES-NI AES system wide hardware acceleration support for crypto disciplines like LibreSSL, softraid0 crypto etc?