Changes

Jump to: navigation, search

Xen Monitoring Tools and Techniques

1,486 bytes added, 19:11, 22 April 2008
Monitoring Xen Performance with XenMon =
The ''XenMon'' tool is useful for monitoring the performance Xen domains, particularly when identifying with domains are responsible for the highest I/O or processing loads on a system.
XenMon is started from the command-line using the ''xenmon.py'' command. The following figures figure shows a typical XenMon session:
[[Image:xenmon_display.jpg|Monitoring Xen Performance with XenMon]]
 
The XenMon display shows two sets of data. On the left hand side are statistics captured over the preceding 10 seconds and on the right is the data for the last 1 second.
 
For each domain three sets of data are provided. The first row (the grammatically dubious ''Gotten'') for each domain is the amount of time the domain as spent executing. The ''Blocked'' row shows statistics for idle time. Finally, the ''Waited'' row indicates the amount of time the domain has been in a wait state. For each category the amount of time spent in the particular mode and the time as a percentage of overall time during the corresponding period (i.e 1 or 10 seconds) is displayed. The final value depends on the category. For Gotten this represents processor time, for Blocked the average blocked time and for Wait the average waiting time.
 
When XenMon is exited (using the '''q''' key) a summary of data collected during the monitoring session is displayed:
 
<pre>
ms_per_sample = 100
Initialized with 1 cpu
CPU Frequency = 2993.98
Event counts:
00000000 Other
00000000 Add Domain
00000000 Remove Domain
00000000 Sleep
00022838 Wake
00022838 Block
00045666 Switch
00000000 Timer Func
00045666 Switch Prev
00045666 Switch Next
00000000 Page Map
00000000 Page Unmap
00000000 Page Transfer
processed 182674 total records in 288 seconds (634 per second)
woke up 288 times in 288 seconds (1 per second)
</pre>
1,798
edits

Navigation menu