Re: Reg slowness seen in openssl 1.1.1

2019-05-10 Thread Jan Just Keijser
Hi, On 10/05/19 02:29, ramakrushna mishra wrote: Hi, Could anyone please help me wth it. Following are sslc speed results for SHA1. [...] OpenSSL 1.1.0e  16 Feb 2017 type             16 bytes     64 bytes    256 bytes   1024 bytes   8192 bytes  16384 bytes sha1             90515.06k   301813

Re: Reg slowness seen in openssl 1.1.1

2019-05-10 Thread Jan Just Keijser
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 by

Re: Reg slowness seen in openssl 1.1.1

2019-05-10 Thread ramakrushna mishra
Hi , I have installed openssl from scratch and there I am not observing any degradation. But I built it with in my project, there I observe the degradation. The Configure file remains same , but still in my project I can see a difference that "dynamic-engine" is present in enabled feature list.

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread ramakrushna mishra
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 bytes256 bytes 1024 bytes 8192 bytes 16384 bytes sha1 65019.16k 151552.49k 266

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread ramakrushna mishra
Hi, Could anyone please help me wth it. Following are sslc speed results for SHA1. sslc speed sha1 Doing sha1 for 3s on 16 size blocks: 16858430 sha1's in 2.98s Doing sha1 for 3s on 64 size blocks: 14147528 sha1's in 3.00s Doing sha1 for 3s on 256 size blocks: 6436755 sha1's in 2.99s Doing sha1

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread Salz, Rich via openssl-users
> Could you please look into the program and let me know if anything I am > doing wrong ? > Or else What could be the issue ? Sorry, no not me. Maybe someone else on the list has ideas.

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread ramakrushna mishra
Hi , I can observe slowness with standalone c programs. Attached are the sample c programs. If I run them with openssl 1.1.1 and 1.1.0e version on Linux system (Linux 2.6.32-504.el6.x86_64 x86_64 ). then I can see the difference. If I increase the number of loop in the program, then the slowness

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread Salz, Rich via openssl-users
So now you know where to start looking, I guess. You might also change your test program so that it calls the functions multiple times, to “smooth out” the overhead.

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread ramakrushna mishra
Hi, Thank you for the response. If we compare in quantify attached is the results. Thanks and Regards, Ram Krushna On Thu, May 9, 2019 at 8:28 PM Salz, Rich wrote: > I would start with doing profiling on old and new versions to see where > the slowdown is. > Differences between: program rx (pi

Re: Reg slowness seen in openssl 1.1.1

2019-05-09 Thread Salz, Rich via openssl-users
I would start with doing profiling on old and new versions to see where the slowdown is.

Reg slowness seen in openssl 1.1.1

2019-05-09 Thread ramakrushna mishra
Hi, When we use following set of SSL methods ( openssl 1.1.1) for SHA1-digest, we are witnessing slowness compared to openssl 1.1.0e. EVP_get_digestbyname EVP_MD_CTX_new EVP_DigestInit_ex EVP_DigestUpdate EVP_DigestFinal_ex Could anyone please guide me about how to debug this issue. Thanks an