Nandini's Weblog |
|
Tuesday Feb 10, 2009
Performance Advisor : VM Alerts
GlassFish Enterprise Server 2.1 was released today as part of the GlassFish Portfolio I wish to add a few details of one particular feature Performance Advisor Run-time Alerts The main goal of this feature was to introduce a configurable alerting mechanism to monitor key performance indicators. Users can configure their own thresholds based on the behavior of their applications and setup email alerts when these thresholds are crossed. An example would be setup of thresholds to monitor the CPU Usage. Whenever CPU Usage continues to grow over a prolonged period, performance is inversely affected. A user can setup the threshold to get notified when the CPU Usage trend indicates that the CPU Usage has been high and has crossed user's tolerance boundary. Alerts are helpful during benchmarking phase for performance tuning as well as on production environments where in addition to notifications, audit trails can be recovered from the instance's server.log files. This release enables Runtime Alerts for Memory and CPU resources. There are five alerts to do so. Three of them monitor "Trends" of the performance metric. Let's see the two non-trend analyzing alerts. Here the metric in question is sampled and immediately compared with the threshold Physical Memory Alert: GC Pause Time Alert Now let's turn to the three trend analysing alerts. What do we need a trend analysis for anyway? Trend analysis helps in clamping noise levels in the measurements. For example, there could have been a spike in CPU Usage or Memory Usage. But that is not really deemed "harmful" from performance perspective as long as the usage returns to normal levels. So to indicate a REAL growth in a resource usage over prolonged periods, it is necessary to take AVERAGES. And that is exactly what the following alerts achieve. They calculate a MOVING AVERAGE of multiple samples of the metric in question and then compare that value with the user defined threshold. Memory Leak Alert A user can setup Memory Leak alert to watch the usage levels of these older generations and be warned of the unwelcome growth in these spaces well in advance. CPU Usage Trend Alert JVM Throughput Alert Such static tunings are only HINTS for the VM. Whether the goals set statically are really honored can be determined only through monitoring. The VM alerts thus also provide a way to check reality against desired goals when it comes to VM's behavior! Posted at 02:53PM Feb 10, 2009 by nektare in Personal | Comments[0]
Friday Jan 27, 2006
Sun Java System Application Server Platform Edition 8.2 released
Sun Java System Application Server Platform Edition 8.2 has been released
Improved Administration Console: App Server 8.x admin console adds new look and Would like to stick a useful addendum to this list Supports management of the JMX Infrastructure in Domain Administration Server JConsole is a neat tool included in Java SE 5.0 Using JConsole (Java SE 5 and 6) with SJSAS Platform Edition out of the Box. * Remote Tab: Enter admin user, password, host and port (8686, by default) and click on Connect. * Advanced Tab: Enter the JMXServiceURL as: service:jmx:rmi:///jndi/rmi://host:jmx-port/jmxrmi SJSAS 8.2 can also use the built in Platform MBeanServer introduced in Java SE 5 Posted at 07:58PM Jan 27, 2006 by nektare in Sun | Comments[0] |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||