Creating new IIS application pools - the magic solution to SMP 7 slow console operations?
I was on-site to a new customer last week and we worked on resolving some problems with their production SMP 7 installation that was consuming an average of 20% of CPU whilst managing a meager 40 machines.
In order to check where the CU cycles were wasted we decided to implement 2 new application pools: one for the InventoryRuleManagement web-service and one for the Altiris/NS/Agent interfaces.
This resolved the issue so this morning, I decided to implement the same solution on my test lab.
And my SMP console has been operating in conditions much worse than what my customer encountered. I started with a single VM (SQL + NS and 4 GiB of RAM) and IIS was constantly taking 100% CPU when I used the console (specially when loading the Patch Management Solution worker view) for a very long time.
Such a long time... that I gave up in the end and built up a 64-bit Windows Server to host the SQL database (with 4 cores and 4GiB of RAM). I migrated the DB over to the new server, left the NS with 3.5GiB and tested. Still the same. IIS was still consuming all available resources and the console was not really usable.
Since then I dropped the SQL Server memory and the NS memory to 2GiB each, and it worked pretty much the same.
But as I am building up my SMP 7 environment to test more features for my customers I need my SMP lab to be really operational, so I went for the same solution, adding application pool isolation to my server this morning. And dear reader, did that help?
It's amazing. I created three new application pools as shown below and after an IIS reset all my problems with the sluggisher-than-bearable console went away. I have loaded the console many times over, switched views and loaded the PMS worker view and Patch Remediation center with no major troubles.
Still this is quite surprising, as the server memory hasn't really changed, but it seems that the IIS processes (w3wp.exe) are consuming more memory and much less CPU. So is the performance impact due to the additional head room provided by the application isolation's?
It must be.