System.Web.Configuration.ProcessModelSection.MaxIOThreads Property

Gets or sets a value indicating the maximum number of I/O threads per CPU in the CLR thread pool.

Syntax

[System.Configuration.ConfigurationProperty("maxIoThreads", DefaultValue="20")]
[System.Configuration.IntegerValidator(MinValue=1, MaxValue=2147483646)]
public int MaxIOThreads { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The value of ProcessModelSection.MaxIOThreads must be equal to or greater than the HttpRuntimeSection.MinFreeThreads setting in the httpRuntime configuration section.

You can have some control over the CPU utilization by setting the number of worker threads and I/O threads, using the ProcessModelSection.MaxWorkerThreads property and the ProcessModelSection.MaxIOThreads property respectively.

The difference between the two types of threads is that the latter are bound to I/O objects, such as a stream or a pipe, and the former are traditional unrestricted threads. For Internet Information Services (IIS) version 6.0 and later, ASP.NET processes requests on worker threads. This is because ASP.NET is integrated within IIS.

These threads are obtained from the process-wide CLR thread pool belonging to an application.

Note:

Usually the default values for the allowed threads are sufficient to keep the CPU utilization high. If for some reason your application is slow, perhaps waiting for external resources, you could try to increase the number of threads to a value less than 100.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0