worker thread performance question

Petri Helenius pete at he.iki.fi
Wed Dec 15 10:59:25 PST 2004


With libpthread is it usually optimal to have as many worker threads 
(CPU bound stuff) as kern.threads.virtual_cpu or have, say double the 
number so that there is always a thread in the run queue when another 
hits a mutex or sleep?

Pete



More information about the freebsd-threads mailing list