none
IIS Worker threads per core RRS feed

  • Question

  • Hello Team,

    A core permits execution of 2 threads concurrently (from hyper threading latest available).

    In IIS the processor limit per core is set to default value of 25, logically allowing more requests to be processed concurrently per core.

    As per hyper-threading only 2 threads can execute simultaneously, how is it even possible that we set a default value 25 i.e 25 threads per core (for handling more requests as if) when no processor permits more than 2 threads for processing at a time?

    Hussein

    Friday, December 6, 2019 12:44 PM

All replies

  • The CPU and Windows support multiple threads to be handled in applications. The CPU scheduler will share CPU time slots to each thread. So there will be more context switching pausing and re-enabling threads if you have less CPU cores, but it will still work. 

    This is good article about the limits also:
    https://blogs.technet.microsoft.com/markrussinovich/2009/07/05/pushing-the-limits-of-windows-processes-and-threads/

    Friday, December 6, 2019 2:02 PM