The simplest ASP. NET performance monitoring tool

Source: Internet
Author: User

The simplest ASP. NET performance monitoring tool is the performance counter:

Run, enter perfmon, you can open the system's built-in Performance Monitor, you can add performance counters.

Performance object Performance counters
ASP. NET Application Restarts
ASP. NET Requests Queued
ASP. NET Worker Process Restarts
ASP. NET Applications Errors Total
ASP. NET Applications Requests/Sec
Processor % CPU Utilization

ASP. NET performance monitoring

Note:

If the CPU usage is low or cannot be maximized regardless of the client load, it indicates that the Web application has a lock or resource contention.

In addition, the following performance counters may also be valuable for determining the performance of Web applications.

Performance object Performance counters
ASP. NET Applications Pipeline Instance Count
. Net clr Exceptions # Of Exceps Thrown
System Context Switches/sec

ASP. NET performance monitoring

Note:

1. The "# of Exceps Thrown" counter shows the number of exceptions Thrown in the application, as these may have performance hint. However, some code paths can be used normally only when the dependency is abnormal. For example, the Redirect method on the Response object causes a ThreadAbortException exception, which cannot be caught. Therefore, it may be useful to use the "Errors Total" counter to track this value to see if an exception has occurred in the application.

2. The Context Switches/sec counter measures the rate of all CPU switching thread Context in the Web server computer. The high value of this counter usually indicates that there is a high lock contention, or there is a large number of switching between the thread mode and the kernel mode. In this case, you should use the Sampling Analyzer and other tools for further research.

  1. Some misunderstandings about. NET performance and the relationship between C # and VB. NET
  2. Lambda expressions: Do you need clear code for performance?
  3. Analysis of methods to improve the performance of GDI Programming
  4. Use Cache to improve ASP. NET performance
  5. Analysis on the Performance of sessions in ASP. NET

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.