> [meiling...@emc.com - Wed Dec 26 21:07:57 2012]:
> 
> Hi Openssl team,
> I have an performance issue with openssl_fips.
> My application use openssl_fips version 0.9.8.
> Recently, I found that the fips lib make my application slow.
> When my application initialize the fips setting, it introduces 7000+
> getpid() call.
> And this will cost 5 seconds.
> 
> Is this an real issue?
> Looking forward to your reply.
> Thanks.
> 
> 
> The call trace is as followed:
> Breakpoint 1, 0x7af3a278 in getpid+0 () from /usr/lib/libc.2
> #0  0x7af3a278 in getpid+0 () from /usr/lib/libc.2
> #1  0x7a41c454 in CRYPTO_thread_id+0x24 () from libcrypto.sl.0.9.8
> #2  0x7a40bbd8 in FIPS_mode_set+0xf0 () from libcrypto.sl.0.9.8
> #3  0x2695f8 in main+0x168 ()
> 

These all go through a user settable callback which defaults to getpid()
on most platforms. You can supply a more efficient equivalent in an
application.

Steve.
-- 
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to