The present invention relates in general to a system and method for monitoring the performance of one or more applications. More particularly, the present invention relates to a system and method for monitoring the performance of an application that includes monitoring a number of outputs and emitting audio sounds in combination with visual displays in order to indicate a change in performance.
The job of a computer systems analyst or test engineer commonly includes running performance tests to monitor the performance of one or more applications on a computer system. Presently, when running performance tests against an application, it is necessary to measure and monitor multiple outputs. For example, when monitoring a messaging application, the outputs that require monitoring may include, but are not limited to, message throughput rate, memory utilization, CPU utilization, disk utilization, and java heap allocations.
Typically, the monitored outputs have been recorded and viewed in visual (e.g. textual or graphical) form on a computer screen. When monitoring a performance test in real-time it is often difficult to view the results from all of these outputs at once. One reason for this is because different tools, utilities, or applications track each of the outputs, and therefore, the data may be spread across several windows and/or screens. Furthermore, viewing and analyzing the data in real-time requires dedicated attention and screen usage. As a result, the longer a test runs the easier it is to miss an important event. For example, if the message throughput rate declines due to an increase in memory usage, the analyst may notice the change in message throughput rate but not the increase in memory usage unless both windows have his or her full attention. Thus, it becomes apparent that visual monitoring requires 100% cognitive focus. This is inefficient when changes in the state of the performance of an application must be monitored over an extended period of time. Therefore, visual monitoring alone is not ideal and may be unreliable and susceptible to numerous errors.
Currently, “dashboard” performance monitoring applications are available that may alert a user to a change by simply sounding an alarm. With these applications, the user must actively switch back to using the monitoring application in order to identify what has changed, and to what extent. Thus, with these “dashboard” monitoring type applications, the user may have missed key points by the time he or she has switched back to the monitoring application. As a result, such monitoring type applications are also error prone and unreliable.
Therefore, there is a need for a system and method for testing the performance of one or more applications that enables monitoring to be performed by means that includes both visual and audible alarms.
The present invention solves the foregoing problems by providing a method for monitoring the performance of an application comprising determining an output of an application that requires monitoring, assigning an audible sound to the output, positioning an output display window at a desired location on a performance monitoring screen, determining a baseline for the output when the application is in the state of equilibrium, monitoring the output to detect a change relative to the baseline, emitting the audible sound assigned to the output from the sound location and bringing the display window into focus on the performance monitoring screen when the detected change varies from the baseline by a predetermined amount, and adjusting the configurable parameters of the audible sound to indicate the existence of the detected change, the magnitude of the detected change relative to the baseline, and the degree of deviation from the baseline. The output of the application that is being monitored represents a performance metric associated with the application, and the baseline represents an output level that is substantially constant. The selected location of the output display window on the performance monitoring screen determines a sound location from which the audible sound associated with the output will be emitted, and the audible sound is emitted from the sound location by adjusting a phase of the audible sound. An amplitude of the audible sound may be adjusted to indicate the magnitude of the detected change from the baseline, and a pitch of the audible sound may be adjusted to indicate a positive change or a negative change from the baseline.
As is well-known to those skilled in the art, a test program may be run on a computer system that monitors various performance outputs for an application and reports changes in performance through a visual display. These performance metrics include, but are not limited to, message throughput rate, memory utilization, CPU utilization, disk utilization, and java heap allocations.
In general, the present invention includes an application performance monitoring system and method that utilizes audible sounds and visual displays to represent a change in the performance of an application. More particularly, rather than having to constantly view and keep track of numerous outputs during a performance test, the present invention utilizes audible sounds and display “windows” that momentarily come into focus to represent a change in the performance of an application. The outputs that are being monitored may come from multiple sources, such as Windows Task Manager, the application calculating the message throughput rate, command line windows, and the like.
As will be discussed in further detail to follow, the system and method of the present invention first assigns each output a unique audible sound. Then, the output display windows corresponding to the outputs being monitored are positioned at desired locations on the user's screen. Each output is then monitored against a “baseline,” which is determined from a state of equilibrium. If the output varies from the baseline by an amount greater than an accepted tolerance level or variation factor, then one or more audible sounds are emitted signaling the change in performance. The amplitude, pitch, phase, and frequency may be utilized to indicate characteristics of the change, such as the magnitude of the change in performance. When the audible sounds are emitted to the user-defined sound location, the window associated with that location may be brought back into focus on the user's screen giving the user the opportunity to listen to the audio output and visually monitor the output at the same time.
As will be appreciated by those skilled in the art, one advantage of using both audible sounds and visual displays to alert the user to a change in performance is that the user may continue with other work and with a reduced cognitive overhead when there are no changes and the state is in equilibrium. Thus, the present invention provide means of relating the audible sounds back to the source to enable the user to easily monitor the performance both audibly and visually. The benefits provided by the present invention increase as the duration of the test increases.
In one embodiment, it may be possible to emit audible sounds from “perceived” sound locations, such as front, back-left, etc., by adjusting the phase of the audible sounds. This type of “two-dimensional” or “three-dimensional” sound may be achieved with as few as two speakers and utilizing existing technology that is known to those skilled in the art. Thus, when the user is sitting in front of screen 10, he or she will perceive the audible sounds being emitted from the various sound locations even though there is not a physical speaker positioned at that location. When the output display windows are repositioned on screen 10, the phase of the audible sounds may be automatically adjusted accordingly such that the audible sound locations match the screen position. Alternatively, any number of speakers may be coupled to the computer system running the application and positioned around the user at desired locations in order to physically produce two or three-dimensional audible sounds without having to rely on adjusting the phase of the sounds themselves in order to achieve the effect.
After assigning a unique audible sound to each of the outputs, the method continues at step 54 where the user positions the output display windows corresponding to the various outputs being monitored at desired locations on the performance monitor screen. As discussed above, the position of the output display windows on the performance monitor screen directly correlates with the sound location of the corresponding audible sounds for the outputs.
Method 50 continues at step 56 where the state of equilibrium (i.e., “normal” performance) of each of the outputs is determined. In a state of equilibrium, no audio is emitted and the display windows are not visible on the screen.
For example, in a messaging application, the state of equilibrium may be the point after which the startup processing of the application has completed, the runtime processing has been warmed up (e.g. all Java just-in-time code compilation has completed), and the application has reached a point where an approximately constant throughput rate may be expected. The point at which the state of equilibrium is said to be reached may be configurable by the user. In one embodiment, the user may define the state of equilibrium to be the point at which the throughput rate has not varied by more than a certain percentage for a set period of time. In other words, when the throughput rate (or other output being monitored) has been within a set tolerance level for at least a specified period of time, the output is said to be within a state of equilibrium.
Next, each of the outputs is monitored in step 58 for a variation in the performance level from the equilibrium point or baseline, taking into account the tolerance level or variation factor set in step 56. If the program does not detect a significant variation in the performance level from the equilibrium point for any of the outputs, than the outputs may be continually monitored until the performance level of one or more of the outputs changes.
Once a variation exceeding the acceptable tolerance level or variation factor is detected in step 58, method 50 continues at step 60 where the audible sound associated with each output that falls outside the acceptable tolerance level is emitted, and the corresponding display window is re-focused on the screen in the selected position. In one embodiment, the amplitude of the audible sound may be adjusted according to the degree of change (from the state of equilibrium). Furthermore, the pitch or frequency of the audible sound may be varied to indicate whether the degree of change is positive or negative. For example, a high pitch audible sound may indicate a positive change in performance, and a low pitch audible sound may indicate a negative change in performance. However, those skilled in the art will appreciate that adjusting the amplitude, frequency, and/or pitch of the audible sounds is not a necessary component of the present invention. Thus, the system and method of the present invention may operate by providing an audible sound in conjunction with a visual display when a change in performance has been detected, and without the need to also vary the amplitude, frequency, and/or pitch of the audible sound.
As will be understood by those skilled in the art, numerous other “factors” of the audible sound may be used to indicate changes in the performance of an application. Thus, the factors described above are presented merely for purposes of example and not limitation. However, it is important to note that the scale for each of the factors (i.e., audio amplitude, pitch, phase, frequency, etc.) must be sufficient such that the emitted audible sound exceeds the discernable threshold for each factor.
Finally, as illustrated by loop 62 of method 50, steps 58 and 60 may be repeated for the duration of the application testing or until the user intervenes. Thus, changes in output may be repeatedly monitored to enable the user to document performance levels over time.
One example of the benefits of using the system and method in accordance with the present invention may be illustrated as follows: The user desires to run a test in order to monitor memory usage and message throughput rate for a particular application. After the application has been started and has reached the state of equilibrium, the user begins to perform other tasks and does not visually monitor the performance of the outputs. However, after some period of time memory usage increases by a significant amount, which is indicated to the user by emitting a unique audible sound with a magnitude of plus 10 and a high pitch, as well as by re-focusing the memory usage display window at the corresponding position on the screen. At the same time the message throughput rate drops by a significant amount, which is also indicated to the user by emitting a different audible sound with a magnitude of plus 10 and a low pitch and re-focusing the message throughput rate display window at the corresponding position on the screen. Thus, as illustrated by the example, the system and method of the present invention make it much easier for the user to monitor the performance of an application as well as to make the association between the memory usage increasing and the throughput rate dropping.
As those skilled in the art will appreciate, the present invention may support a finite number of outputs that may be monitored. In particular, this maximum number may be determined based upon the maximum number of audible sounds that may be supported within the discernable audible range and still be distinctive. However, the number of outputs that will require monitoring is preferably well within this limit so that the user is not overwhelmed with an indiscernible “wall” of sound, and so that the user is not required to keep track of an unmanageable number of outputs.
The option to re-focus the display windows may be a configurable choice where the user may elect to re-focus all windows where the output has changed (and for which audio is being emitted), or to have the audio emitted as muffled and giving the user the option as to whether they want to bring the display windows back into focus. Furthermore, once a display window has been re-focused on the screen, the display window should be minimized after a specified period of time (configurable by the user) when no more audio is being emitted and the state of the system is back in equilibrium.
One advantage of the system and method of the present invention compared to the completely “visual” systems and methods previously used is that the present invention does not require 100% cognitive focus. In particular, monitoring that is completely visual is inefficient when monitoring for a change in the state of the performance of an application over time. Being alerted to the change (and possibly the degree of change) through a combination of audible sounds and visual displays is more efficient.
Although the present invention has been described with reference to preferred embodiments, workers skilled in the art will recognize that changes may be made in form and detail without departing from the spirit and scope of the invention.
Number | Name | Date | Kind |
---|---|---|---|
4713669 | Shuch | Dec 1987 | A |
4777474 | Clayton | Oct 1988 | A |
5463775 | DeWitt et al. | Oct 1995 | A |
5485574 | Bolosky et al. | Jan 1996 | A |
5533182 | Bates et al. | Jul 1996 | A |
5659693 | Hansen et al. | Aug 1997 | A |
5720018 | Muller et al. | Feb 1998 | A |
5822758 | Loper et al. | Oct 1998 | A |
5872976 | Yee et al. | Feb 1999 | A |
5909550 | Shankar et al. | Jun 1999 | A |
5999178 | Hwang et al. | Dec 1999 | A |
6049798 | Bishop et al. | Apr 2000 | A |
6128016 | Coelho et al. | Oct 2000 | A |
6199199 | Johnston et al. | Mar 2001 | B1 |
6243838 | Liu et al. | Jun 2001 | B1 |
6256775 | Flynn | Jul 2001 | B1 |
6493002 | Christensen | Dec 2002 | B1 |
6496872 | Katz et al. | Dec 2002 | B1 |
6532005 | Campbell | Mar 2003 | B1 |
6593940 | Petersen et al. | Jul 2003 | B1 |
6639614 | Kosslyn et al. | Oct 2003 | B1 |
6668169 | Burgan et al. | Dec 2003 | B2 |
6671830 | Kaler et al. | Dec 2003 | B2 |
6704012 | Lefave | Mar 2004 | B1 |
6895577 | Noble et al. | May 2005 | B1 |
6901582 | Harrison | May 2005 | B1 |
6947062 | Cuijpers et al. | Sep 2005 | B2 |
7103876 | Lopez et al. | Sep 2006 | B1 |
7133531 | Karpenstein | Nov 2006 | B2 |
7168012 | Clauss et al. | Jan 2007 | B2 |
7240244 | Teegan et al. | Jul 2007 | B2 |
7272823 | Ball | Sep 2007 | B2 |
7336256 | Parzygnat et al. | Feb 2008 | B2 |
7434208 | Kirkpatrick et al. | Oct 2008 | B2 |
20030061324 | Atherton et al. | Mar 2003 | A1 |
20030105973 | Liang et al. | Jun 2003 | A1 |
20030142143 | Brown et al. | Jul 2003 | A1 |
20030225876 | Oliver et al. | Dec 2003 | A1 |
20050039132 | Germain et al. | Feb 2005 | A1 |
20050055646 | Melzer | Mar 2005 | A1 |
20050144025 | Katz et al. | Jun 2005 | A1 |
20050193376 | Harrison | Sep 2005 | A1 |
20050216858 | Fabritius | Sep 2005 | A1 |
20050248588 | Freeman et al. | Nov 2005 | A1 |
20060005142 | Karstens | Jan 2006 | A1 |
20060059474 | Bhansali et al. | Mar 2006 | A1 |
20060129992 | Oberholtzer et al. | Jun 2006 | A1 |
20060224986 | Lindsay et al. | Oct 2006 | A1 |
20060236255 | Lindsay et al. | Oct 2006 | A1 |
20060247927 | Robbins et al. | Nov 2006 | A1 |
20060259274 | Greco et al. | Nov 2006 | A1 |
20060285489 | Francisco et al. | Dec 2006 | A1 |
20070011300 | Hollebeek et al. | Jan 2007 | A1 |
20070028243 | Berry et al. | Feb 2007 | A1 |
20070150949 | Futamura et al. | Jun 2007 | A1 |
20080270077 | Ozonat et al. | Oct 2008 | A1 |