| eG Monitoring |
|---|
Measures reported by SybSpinContnTest Spinlocks are lightweight synchronization primitives which are used to protect access to data structures. They are generally used when it is expected that access to a given data structure will need to be held for a very short period of time. When a thread attempting to acquire a spinlock is unable to obtain access it executes in a loop periodically checking to determine if the resource is available instead of immediately yielding. After some period of time a thread waiting on a spinlock will yield before it is able to acquire the resource in order to allow other threads running on the same CPU to execute. This is known as a backoff. If the threads are waiting for a longer than usual period, then the resource cannot be accessed till the necessary changes are made. This process is called spinlock contention. Though the spinlocks are held for extremely brief duration, the impact on the CPU resources will be higher ranging from a high CPU resource utilization, high transaction rates and a reduced performance of the Sybase server. In order to avoid such conditions, it is necessary to keep a check on the spinlocks. The SybSpinContnTest test helps administrators greatly in this exercise! This test auto-discovers the named spinlocks and reports the percentage of spinlock contention on the resources, CPU cycle spinning activity, and grabs and waits of each spinlock. Output of the test : One set of results for each named spinlock being monitored. The measures made by this test are as follows:
|
||||||||||||||||||||