How to find exact reason for high CPU utilization
My test scenario has 10 pages (Tests).I am executing the scenario with 15 concurrent users. If I am executing with only first page (Login), CPU utilization is 22%. If execute the script with first and second page, CPU Utilization is increasing to 60%. As I am increasing the number of pages in the scenario, CPU utilization also is increasing drastically. Therefore response time also very high. Processor que length is also high. How can I find the exact reason for high CPU utilization? Is this the problem with application or Server?
No other applications running in my server. I could not find any memory problem. Data base is in separate server. CPU utilization in Database server is fine. I have Dual core processor with 4 GB RAM in server.
During database monitoring, I noticed that Transactions/sec is very high in database "tempdb" (tempdbis systemdatabase). But still CPU Utilization of the Database server is less.
Please share your experiences....
Thanks in advance
Re: How to find exact reason for high CPU utilization
After some R&D I came to know that the process W3WP is consuming all the CPU. I tried to configure the Application PoolProerties in the Inetmanager. I increased the maximum number of worker process to 2 (By default it is 1). Then I started the performance test. Now I found that Response times are drastically decreased and average CPU utilization also reduced. But the records inserted in the data base decreased drastically. This is not acceptable.
If anyone have similar experiecne please share.