Patrick Cuff
Patrick Cuff

Reputation: 29806

WCF 4: Default Throttling Settings for WCF Services

I was reading Wenlong Dong's blog article about the default throttling settings for WCF services in WCF 4, and have a question about the values for the default settings:

MaxConcurrentSessions: default is 100 * ProcessorCount

MaxConcurrentCalls: default is 16 * ProcessorCount

MaxConcurrentInstances: default is the total of the above two, which follows the same pattern as before.

Does ProcessorCount refer to:

  1. The number of physical CPUs/sockets
  2. The number of physical cores across all CPUs
  3. The number of logical cores, if hyperthreading is enabled?

Thanks,

-- Patrick

Upvotes: 1

Views: 2211

Answers (2)

IdoFlatow
IdoFlatow

Reputation: 1438

Processor count means logical cores. The value is actually the value supplied by System.Environment.ProcessorCount

Upvotes: 4

Related Questions