[Date Prev][Date Next] [Chronological] [Thread] [Top]

"optimal" thread number on SMP architecture

It appears that a rough rule of thumb yields 16 * nCPU as the optimal thread number. I've some code that tries to detect the number of CPUs, we could use it to choose the default if not set in slapd.conf. I'm considering a rough algorithm like "threads = min( 16 * nCPU, 64 )". Would this qulify for inclusion?


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497