On Tue, 2010-11-16 at 17:13 +0000, ma...@apache.org wrote:
> URL: http://svn.apache.org/viewvc?rev=1035699&view=rev
> Log:
> Session manager performance
> Narrow sync - few % improvement
> -     *  1 thread  -  2,422ms
> -     *  2 threads -  5,047ms
> -     *  4 threads - 13,188ms
> -     * 16 threads - 54,422ms
> +     *  1 thread  -  ~2,400ms
> +     *  2 threads -  ~4,700ms
> +     *  4 threads - ~12,600ms
> +     * 16 threads - ~53,700ms

Hmm, not very significant.

I knew about the relatively low session creation performance, but unless
there's a secure way to remove the sync on getRandomBytes, there's no
way to improve this. Having multiple (= thread local) random sources is
probably not a good idea.

Rémy



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to