On Mon, Oct 09, 2000, David Rees wrote:
> > *) Added new Cyclic Buffer based Shared Memory Session Cache
> > as ssl_scache_shmcb.c. This was contributed by Geoff Thorpe
> > <[EMAIL PROTECTED]> and is derived from the "c2shm" variant used
> > in Stronghold V3. It uses a fixed size cyclic buffer placed over
> > a shared memory segment for storing SSL session ids. This way it
> > is even more efficient and faster than the old hash table based
> > shared memory cache (ssl_scache_shmht.c).
>
> Cool, any idea how much this helps SSL performance? I guess I could
> benchmark it and see for myself. :-)
According to Geoff's tests, it both increases performance and provides
a more robust and efficient session cache. But I've no numbers at hand,
although I know that Geoff has numbers (actually graphs). Geoff, can you
make your benchmarking details for c2shm available to the people?
> Is there any configuration parameters we need to be aware of, or is it a
> drop in replacement for the current shm session cache?
Oh, good catch: I've do add a little bit of documentation, even if it is
experimental stuff (which usually has no entries in the user manual).
No it is no replacement, it is an addition. The stuff can be tried by
building mod_ssl with --enable-rule=SSL_EXPERIMENTAL and then using for
instance
SSLSessionCache shmcb:/tmp/cache(512000)
The old hash table based shared memory session cache still can be used
with
SSLSessionCache shm[ht]:/tmp/cache(512000)
Yours,
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]