Enabling Enhanced Task Instrumentation
Normally, a submitted task or remote Service Invocation’s execution time is measured only from start to finish. But often it is useful to be able to track the time spent in the various stages of this process, including input serialization, disk writing, task message submission, task queueing, task fetching, data transport, input deserialization, task processing, output serialization, output transport, queuing, and so on. This helps you understand the timing characteristics of distributed computing, optimize the process, and diagnose problems with greater ease.
To enable enhanced task instrumentation
Procedure
| 1. | Go to Admin > System Admin > Manager Configuration > Services. |
| 2. | Under the Instrumentation heading, set Enable to True. |
| 3. | Click Save. |
When enabled, task instrumentation applies to all Services on the Manager.
|
Warning |
Task instrumentation slows down the Manager, and also requires additional disk space, so it is important to disable it after you finish using it. It is NOT recommended for production systems. |
To view data generated by enhanced task instrumentation
Procedure
| 1. | Go to Services > Service Session Admin. |
| 2. | Find the Service you wish to view, and select View Instrumentation from the Actions menu. Note that this choice only appears after the Service finishes running. |
A table appears showing data collected by enhanced task instrumentation for the Service. For more information about instrumentation, see the GridServer Developer’s Guide.