worker thread performance question

[ Available lists | Index of freebsd-threads | Month of Dec 2004 | Week of 15 Dec 2004 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Petri Helenius <pete@he.iki.fi>
Date
15 Dec 2004 18:59:25
Subject
worker thread performance question
Message-ID
41C0898E.3090005@he.iki.fi


[ Hide this part ]
 
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


Elapsed time: 0.069 seconds