According to this MSDN documentation for ProcessModel, autoConfig = true sets the following attributes according to this KB :
maxWorkerThreads, maxIoThreads, minFreeThreads, minLocalRequestFreeThreads, maxConnection
To test this parameter, I have an example web application in ASP.NET 3.5 having the following code in the page_load event:
int w, c;
ThreadPool.GetMinThreads(out w, out c);
Response.Write("Min: " + string.Format("{0}, {1}", w, c));
w=0;
c = 0;
ThreadPool.GetMaxThreads(out w, out c);
Response.Write(" Max: " + string.Format("{0}, {1}", w, c));
Response.Write(" Maxconnections: " + ServicePointManager.DefaultConnectionLimit);
Configuration conf = ConfigurationManager.OpenMachineConfiguration();
ConfigurationSectionGroup secGrp = conf.SectionGroups["system.web"];
ConfigurationSection sec = secGrp.Sections["httpRuntime"];
Response.Write(" httpruntime settings: " + sec.ElementInformation.Properties["minFreeThreads"].Value + ", " +
sec.ElementInformation.Properties["minLocalRequestFreeThreads"].Value);
Response.Flush();
I get the following output when I run the autoConfig auto-tuning page and then set to true:
autoConfig = false: Min: 2, 2 Max: 40, 40 Maxconnections: 10 httpruntime settings: 8, 4
autoConfig = true: Min: 2, 2 Max: 200, 200 Maxconnections: 24 httpruntime settings: 8, 4
autoConfig = false , , , , true, :
- maxWorkerThreads maxIoThreads , , 200 (100x2 ).
- , , minWorkerThreads, KB : minWorkerThreads = maxWorkerThreads/2
- , MSDN autoConfig = true minFreeThreads minLocalRequestFreeThreads , , . 8 4.
, , ? - ?