L
Louis Somers
Hi,
Can anyone point me to a good guideline for setting the worker and
CompletionPort values on the static ThreadPool? I often feel like
shooting in the dark when tweaking them on my laptop, not knowing what
effect they will have in the wild.
I'm aware that it strongly depends on what the worker threads are
actually doing, however I'd like to see rough guidelines anyway setting
forth ratios for:
Console Applications
Windows Forms Applications
Windows Services
(Webapps are probably not relevant since IIS determines what's best.)
Against scenarios like:
Heavy computing,
Heavy disk traffic
Heavy Database Querying
I assume that the number of CompletionPorts should in most cases be
larger than the number of worker threads? But at what ratios?
I'd also like to see a rough overview of what parts of the .Net
framework make use of the ThreadPool and how intense.
for:
System.IO.[File/Directory] ...
System.Net.Sockets ...
Any pointer to a good source of info would be appreciated!
Cheers,
Louis
Can anyone point me to a good guideline for setting the worker and
CompletionPort values on the static ThreadPool? I often feel like
shooting in the dark when tweaking them on my laptop, not knowing what
effect they will have in the wild.
I'm aware that it strongly depends on what the worker threads are
actually doing, however I'd like to see rough guidelines anyway setting
forth ratios for:
Console Applications
Windows Forms Applications
Windows Services
(Webapps are probably not relevant since IIS determines what's best.)
Against scenarios like:
Heavy computing,
Heavy disk traffic
Heavy Database Querying
I assume that the number of CompletionPorts should in most cases be
larger than the number of worker threads? But at what ratios?
I'd also like to see a rough overview of what parts of the .Net
framework make use of the ThreadPool and how intense.
for:
System.IO.[File/Directory] ...
System.Net.Sockets ...
Any pointer to a good source of info would be appreciated!
Cheers,
Louis