ThreadPool.SetMinThreads and SetMaxThreads and number of cores
问题 I am currently investigating Redis, and for tuning its capabilities, we need to change settings for ThreadPool, specifically minimum numbers of Worker/IOC threads. We're hosting application in Azure Web Role, as well as a part of it in a Worker Role. Reading documentation for asp.net, I found processModel.miniothreads element of web.config, which says: Configures the minimum number of I/O threads to use for the process on a per-CPU basis. Also see maxIoThreads. So technically, I read this as