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

Published 09 July 08 12:04 by Tom

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# DotNetKicks.com said on July 9, 2008 12:05 PM:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Justin Redwine said on July 9, 2008 1:35 PM:

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

# Dave Black said on July 22, 2008 1:41 PM:

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

# Tom said on July 22, 2008 4:23 PM:

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

Leave a Comment

(required) 
(optional)
(required) 

Search

Go

This Blog

Syndication

Page view tracker