Hi there,

I thought I would just mention something that is probably common knowledge to
many, but isn't mentioned in the INSTALL document. (Ralf, could you please
include a note to this affect in the INSTALL instructions?)

Apache1.*** + mod_ssl does not use threads. However, OpenSSL, if built according
to the INSTALL instructions, builds with thread-support (because it is the
default for it to do so). This thread support involves using locking around a
lot of object manipulation (esp. reference counts). The fact that it is not
possible in current Apache/mod_ssl setups to have to threads racing on any kind
of object internal to OpenSSL means that any overhead (memory and/or time)
relating to these locking mechanisms is wasted.

If you want to build OpenSSL without thread-support (and therefore without
locking being used internally), add the "no-threads" switch to OpenSSL's
"./config" or "perl Configure", depending on which you use. It should make the
footprint shrink a little bit, and can only help performance, even if it may not
be very noticable in most situations ...

Cheers,
Geoff


______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to