Computer Performance Monitoring
I generally recommend a “big to small” approach because the more fine-grained the monitoring, the more costly it is:
So here are the approaches, from the least costly to the most costly:
1. First, find the average end-to-end response time by emulating end-user client exchanges with the web server. Identify the machine and service which consume the most CPU, network bandwidth, and other resources during stress runs which incrementally add users until a server reaches its maximum rate of processing (as measured by the hits/pages processed per second metric).
2. Identify the average response time of key services by emulating calls directly to each service (XML calls to app servers, SQL calls to databases). Watch them during stress runs.
3. Work with developers to add application code which displays key performance information along with user data (like the times that Google displays with each search result). This allows web (HTML) based client scripts to simply obtain the information.
4. Work with developers to add application code which issues transaction-level performance information to a log. Most mature application packages allow administrators to control the verbosity of the application’s logs.
Ideally, the alerts are formatted to make it easy for logs to be combined with other logs for analysis after the run is finished. If not, logs may need to be run through a custom parser.
5. Formatting alerts to the ARM (Application Resource Management) standard allows the alerts to be issued (using the free API) and collected in real-time by business service management systems in production. See http://www.wilsonmar.com/1perfmon.htm#ARMz This is the best approach, IMHO.
6. Code LoadRunner scripts in Java to emulate the client. This complex approach I describe briefly in http://wilsonmar.com/1lrscript.htm#JavaTech This approach is time-consuming because parts of the client application needs to be rewritten in the test scripts (user authentication, file encryption, client session and cookie management, calls to servers, etc.). Such scripts needs to precisely identify and specifically format calls to services.
7. Install agents inside J2EE servers which sends status to the Mercury Business Availability Center.
8. The new version of WebLogic integrates with LoadRunner to provide performance monitoring that can be turned on or off dynamically on production machines.
10. J2EE monitoring packages include:
- SiteScope from Mercury
- Symantec I3 (purchased from Veritas)
- Compuware’s Vantage Analyzer for J2EE (the JView product acquired from DevStream on October 4, 2004)
- Dirig
- Quest has added a J2EE monitor to its database monitoring product well-known to DBAs.
- Borland’s Optimizeit ServerTrace, provides J2EE performance metrics in the testing and deployment. providing monitoring and analysis of a distributed environmen.
Borland’s Optimizeit Enterprise Suite used during development to provide individual developers with a focused view into performance issues in their code.
10. Custom use of Java 2 MBeans, Java Virtual Machine Profiling Interface (JVMPI), Java Virtual Machine Tool Interface (JVMTI),
http://www.javaperformancetuning.com/tips/j2ee.shtml
Incoming search terms for the article:
Similar articles
- Computer Performance Tuning
As with other LoadRunner modules, Mercury Tuning uses a separate VuGen program to create scripts. Those scripts are run by another program as part of a workflow of steps within Tuning Sessions. A third “analysis” program analyzes results from tuning sessions. New Tuning Session step files (file extension .prs) are created from a template
... - Computer and Network Maintenance
Maintenance Proactive Server and Computer Maintenance CorporateMaintenance is the systematic, proactive and immediate technical support for your network, servers and workstations, managed by our certified IT Professionals and Support Staff. The end result of a network maintenance plan is an office that is happy and productive. If you have always thought that there must be
... - Remote Computer Support | Desktop Assistance
Remote Computer Support Helping you to manage your IT Infrastructure better Online remote Computer support is the service for you if you are want real time troubleshooting of your computer and IT infrastructure related problems and save time and cost. Get all PC related problems solved remotely by Real Time Data services
... - Laptop suddenly running very slow
It is an HP Pavilion dv9000. I am running Vista Home Premium Service Pack 2. It has a AMD Turion 64 X2 Mobile Technology TL-60 2.00 GHz processor and 4.00 GB RAM. I don’t remember exactly when the last Windows update was, it automatically updates, but I know it was less than 2 weeks ago.
... - Unix Active Directory Software Faster
Likewise Software has released a new version of its open-source authentication software for allowing Linux, Apple Macintosh and commercial Unix-based computers to hook into Microsoft Active Directory controlled servers and networks. Version 6 of this open-source software speeds the client log-on time and works better in large, complex environments, according to Gerald Carter, director of
...