Reg Performance degradation on windows with openssl 1.1.1

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Reg Performance degradation on windows with openssl 1.1.1

ramakrushna mishra
Hi,

I am building openssl 1.1.1 on windows with 2 different configurations and I see performance difference for des-cbc. 

1) "perl Configure VC-WIN64A enable-weak-ssl-ciphers enable-rc4 enable-deprecated no-shared enable-ssl3 no-asm --prefix=<dir> --openssldir=<dir> " 
The speed test results for des-cbc with this configuration is as follows. 
>openssl.exe speed -evp des-cbc

OpenSSL 1.1.1  11 Sep 2018
built on: Mon May 27 11:19:51 2019 UTC
options:bn(64,64) rc4(int) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: cl /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy "
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
des-cbc          24691.93k    27284.78k    25719.04k    26508.45k    29497.51k    25432.13k

2) perl Configure VC-WIN64A  no-shared no-asm --prefix=<dir> --openssldir=<dir>
If I build it using above then the performance of des-cbc is faster. 
openssl.exe speed -evp des-cbc

OpenSSL 1.1.1  11 Sep 2018
built on: Fri May 24 11:37:15 2019 UTC
options:bn(64,64) rc4(int) des(long) aes(partial) idea(int) blowfish(ptr)
compiler: cl /Zi /Fdossl_static.pdb /MT /Zl /Gs0 /GF /Gy /W3 /wd4090 /nologo /O2 -DL_ENDIAN -DOPENSSL_PIC
The 'numbers' are in 1000s of bytes per second processed.
type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes
des-cbc          56789.82k    65988.99k    65978.20k    67490.82k    66155.86k    67321.86k

Could any one please suggest me how to debug the reason about slower performance with first configuration. 

Thanks and Regards,
Ram Krushna