On 10/12/2016 06:34 PM, Dale Ghent wrote:

On Oct 12, 2016, at 12:05 PM, Martin Waldenvik <walden...@gmx.com> wrote:

omnios - ./openssl speed -elapsed -evp aes-256-gcm

The 'numbers' are in 1000s of bytes per second processed.
type        16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-256-gcm 36546.42k    39239.49k    39289.51k    39519.91k  39613.78k

freebsd - ./openssl speed -elapsed -evp aes-256-gcm

The 'numbers' are in 1000s of bytes per second processed.
type        16 bytes    64 bytes    256 bytes   1024 bytes   8192 bytes
aes-256-gcm 222688.71k  638351.04k  889610.92k  993149.57k   1017445.72k


That's still quite slow on the OmniOS box. On a 3.5GHz Haswell-E (E3-1241 v3) I 
get:

type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-256-gcm     394656.68k  1001238.31k  2094818.99k  2407235.93k  2689916.93k

Perhaps you may want to check the BIOS settings of your OmniOS box and ensure that 
"AES-NI Instructions" are turned on. Your hardware vendor might have that 
termed differently - AES Acceleration and such.

/dale

Must be someting wrong with what i did. Used libressl to test chacha. This is with built in openssl:

type        16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes
aes-256-gcm 309921.38k   784682.82k  1614856.62k 1867160.92k  2117028.52k

Looks a lot better.

Martin
_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to