When it discusses workload. #1 sounds like the better option although it mentions web garden. Pre-IIS 8, running web garden things like session data wasn't shared between worker processes and we had to "assume" the processes were independent
of each other. Does using NUMA now support this particular scenario where session data scene across multiple processes? From what I read, yes but I wanted to confirm. Option #1 sounds like it'll GREATLY increase performance.
IIS supports following two ways of partitioning the workload:
Run multiple worker processes in one application pool (i.e. web garden).
If you are using this mode, by default, the application pool is configured to run one worker process. For maximum performance, you should consider running the same number of worker processes as there are NUMA nodes, so that there is 1:1 affinity between the
worker processes and NUMA nodes. This can be done by setting "Maximum Worker Processes"
AppPoolsetting to 0. In this setting, IIS determines how many NUMA nodes are available on the hardware and starts the same number of worker processes.
Run multiple applications pools in single workload/site.
In this configuration, the workload/site is divided into multiple application pools. For example, the site may contain several applications that are configured to run in separate application pools. Effectively, this configuration results in running multiple
IIS worker processes for the workload/site and IIS intelligently distributes and affinitizes the processes for maximum performance.
I wonder Steve if this is more misinformation about web gardens.
For the past decade misinformation about web gardens has led to confusion where some think it is useful to use it in IIS6+..as you know generally (99+%) it is not.
How is this any different?
Also Steve how does it improve performance over #2 in your opinion?
Also why do you think there it shares session data throughout the garden any different to IIS7?1
I haven't done anything with IIS8 yet but I didn't understand any fundamental difference from 7 that could change my understanding maybe you van enlighten me.
I've not run NUMA before, but from what I read having multiple processes share the same memory can increase performance. I've used web gardens in certain situations to help with performance. As you know, the memory across worker processes is independent (session
state). From what I read on NUMA, multiple independent processes can share the same memory, making performance better. + it's the default (and I like defaults). It'll be interesting to test in a LAB and see the results.
steve schofi...
5681 Posts
MVP
Moderator
NUMA and IIS 8
Apr 24, 2012 12:46 PM|LINK
I'm reading up on NUMA and IIS 8. http://learn.iis.net/page.aspx/1095/iis-80-multicore-scaling-on-numa-hardware/
When it discusses workload. #1 sounds like the better option although it mentions web garden. Pre-IIS 8, running web garden things like session data wasn't shared between worker processes and we had to "assume" the processes were independent of each other. Does using NUMA now support this particular scenario where session data scene across multiple processes? From what I read, yes but I wanted to confirm. Option #1 sounds like it'll GREATLY increase performance.
IIS supports following two ways of partitioning the workload:
If you are using this mode, by default, the application pool is configured to run one worker process. For maximum performance, you should consider running the same number of worker processes as there are NUMA nodes, so that there is 1:1 affinity between the worker processes and NUMA nodes. This can be done by setting "Maximum Worker Processes" AppPool setting to 0. In this setting, IIS determines how many NUMA nodes are available on the hardware and starts the same number of worker processes.
In this configuration, the workload/site is divided into multiple application pools. For example, the site may contain several applications that are configured to run in separate application pools. Effectively, this configuration results in running multiple IIS worker processes for the workload/site and IIS intelligently distributes and affinitizes the processes for maximum performance.
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget
Rovastar
3321 Posts
MVP
Moderator
Re: NUMA and IIS 8
Apr 29, 2012 08:33 PM|LINK
I wonder Steve if this is more misinformation about web gardens.
For the past decade misinformation about web gardens has led to confusion where some think it is useful to use it in IIS6+..as you know generally (99+%) it is not.
How is this any different?
Also Steve how does it improve performance over #2 in your opinion?
Also why do you think there it shares session data throughout the garden any different to IIS7?1
I haven't done anything with IIS8 yet but I didn't understand any fundamental difference from 7 that could change my understanding maybe you van enlighten me.
steve schofi...
5681 Posts
MVP
Moderator
Re: NUMA and IIS 8
Apr 30, 2012 09:32 AM|LINK
Steve Schofield
Windows Server MVP - IIS
http://iislogs.com/steveschofield
http://www.IISLogs.com
Log archival solution
Install, Configure, Forget