Performance Monitor Modes:
The Performance Monitor code can run in one of
four modes:
· DISABLED. When the Performance Monitor is disabled, its diagnostic
methods immediately return without doing any additional work.
· NORMAL. In this mode, the Performance Monitor keeps track only
of the current stack of operations. This mode is useful in identifying the
location in the code of hung or active threads.
· TIME. In this mode, in addition to the current operation stack, the
Performance Monitor maintains dictionaries for each operation. These dictionaries
store the number of times each operation has been performed, and the minimum,
maximum and average time to process that operation.
· TIME mode is not meant to be used on a live system for an extended
period of time. This mode is for gathering data on the amount of time spent in
various parts of the code.
· MEMORY. In this mode, the Performance Monitor maintains the
information specified for NORMAL and TIME mode. In addition, the Performance
Monitor maintains dictionaries that store the number of times each operation
has been performed, and the minimum, maximum and average amount of memory
required to process that operation. These statistics are estimates and do not
take into account asynchronous processing activity that may be occurring. Do
not rely on data from only one or two samples, since the Performance Monitor
may generate anomalous data that can be ignored.
MEMORY mode causes all
requests to the server to be serialized and could possibly cause deadlock. This
mode is provided for diagnostics during development only and is not suitable
for use on a live system.
Set the Performance Monitor’s operating mode
at the Performance Monitor Configuration page of the Dynamo Administration UI:
http://hostname:port
/dyn/admin/atg/dynamo/admin/en/ performance-monitor-config.jhtml
Click the radio button for the mode you want,
and then click the Change
Mode button.
You can also set the Performance Monitor’s
operating mode by setting the
mode
property of the component at /atg/dynamo/service/PerformanceMonitor
. The value of the mode
property is an int
corresponding to the mode:
mode
|
int value
|
disabled
|
0 (default)
|
normal
|
1
|
time
|
2
|
memory
|
3
|
No comments:
Post a Comment