Reg slowness seen in openssl 1.1.1
Jan Just Keijser
janjust at nikhef.nl
Fri May 10 15:09:55 UTC 2019
On 10/05/19 03:16, ramakrushna mishra wrote:
> Hi ,
>
> The results on a AIX machine looks more bad If I am interpreting them
> correctly.
>
> openssl 1.1.0e :
> The 'numbers' are in 1000s of bytes per second processed.
> type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
> bytes 16384 bytes
> sha1 65019.16k 151552.49k 266107.41k 337113.93k
> 360792.93k 364102.89k
>
>
> openssl 1.1.1 :
> The 'numbers' are in 1000s of bytes per second processed.
> type 16 bytes 64 bytes 256 bytes 1024 bytes 8192
> bytes 16384 bytes
> sha1 10641.28k 21433.09k 38464.85k 48496.92k
> 49381.38k 51755.48k
>
>
the numbers for openssl 1.1.1 seem wrong - I've ran a similar test on a
POWER8 and POWER9 box and the results for a "out of the box compiled"
openssl 1.1.0 vs openssl 1.1.1 are much closer.
The only difference I did see was the (obsolete) sha1 test on Power8:
openssl 1.1.1 seems to be a bit slower than 1.1.0, but not by a factor
of 7 as shown above.
Also, on both POWER8 and POWER9, there does not appear to be a major
difference in blowfish or aes-256 speed.
As for your code: I would check that you are not using a no-asm build
for openssl 1.1.1.
HTH,
JJK
More information about the openssl-users
mailing list