Freigeben über


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

  • Anonymous
    July 09, 2008
    You've been kicked (a good thing) - Trackback from DotNetKicks.com

  • Anonymous
    July 09, 2008
    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

  • Anonymous
    July 22, 2008
    Have you posted the answers anywhere yet?  I haven't been able to find them on your blog.  Thanks.

  • Anonymous
    July 22, 2008
    The answer is now up Dave. http://blogs.msdn.com/tom/archive/2008/07/22/answer-pop-quiz-what-are-free-threads-in-the-threadpool.aspx