On Jan 5, 2014, at 2:27 PM, Wolfgang Winkler
wrote:
> I was wondering, why you'll want to have 100 threads, because the number
> seems a little high to me. So I've just conducted some test on two of our
> development system.
You're right, 100 is high, but I do use SQL quite a lot, and so lon
The "best" number of threads depends on many things, including the
hardware (e.g. number of cores). For most cases, i recommend not more
than than 4 threads/core. With high number of threads a low numbers of
cores, context switching might degrade performance.
concerning 100 threads vs. tcmallo
Hi Gustaf, thanks for the suggestion.
I tried adding a zero, and then another zero, to
export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES= 167772160
and still had terrible naviserver performance at 100 minthreads.
When I dropped a digit, ie:
export TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES= 1677721
na