POP QUIZ: What are Free Threads in the Threadpool


So here is the next trivia question for everyone.  If you have tried to change the Threadpool settings for .NET, you have seen the minFreeThreads and minLocalRequestFreeThreads settings.

What are those settings really used for?  What do they control or how do they limit things within the Threadpool?

For extra credit, when would be a time that you would want to change these from the defaults and how would you adjust them?

As always, I will wait until tomorrow to post any of the comments and will also post the answer.

kick it on DotNetKicks.com

Comments (4)

  1. You’ve been kicked (a good thing) – Trackback from DotNetKicks.com

  2. Justin Redwine says:

    if minLocalFreeTheads actually means minLocalRequestFreeThreads than

    minLocalRequestFreeThreads is the minimum number of available threads to avoid queuing of requests from localhost.. for example from a local web service to a local web service

    (#CPU x maxWorkerThreads – # CPU x minFreeThreads) is the number of available thread for processing incoming requests

  3. Dave Black says:

    Have you posted the answers anywhere yet?  I haven’t been able to find them on your blog.  Thanks.