WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] How to explain Xenmon result

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] How to explain Xenmon result
From: Lei Lu <lulei.wm@xxxxxxxxx>
Date: Fri, 20 Aug 2010 08:58:57 -0400
Delivery-date: Fri, 20 Aug 2010 06:01:29 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Yt5DDiFr7c/cQk9vDJ5QEE4//qU+hT9n2oYzKXsONHs=; b=hvDv1LONrNAd6IZt6J+6jgs0RHsFf6TRV4zCsCmrK/9ABId+GzyR6T67xxDvesurGl V5zXkVqyAw5T6C6XLXx2vQrvs1MGKR3Ras9KEpxUKSWyXyJsmVwxwZ6zgzbqdZoLOx9k F6GMHp+7rY56e05QG67wRGNW7spEK3RAYlhGI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=J0mYPFhaLekKUjluLUMziectu/vFNrah63tWHIOspW9lGF67yFbT58v4W/7f8q4+oH FEoncpW6lHZdvbuEYggzwP627ie9G49HR2I3PqO8Fm0xrosw7jFUMus9Ir9e73VFh4Vp yk4E7y4JdBaY8PSftrkXuwzETGe88iYPCBzVU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,

I am trying to use xenmon.py to monitor cpu utilization of my machine.
Machine has 2 cores.

[root@xxx script]# xm vcpu-list
Name            ID  VCPU   CPU State   Time(s) CPU Affinity
Domain-0      0     0     0   -b-   73753.3 any cpu
Domain-0      0     1     1   r--   63252.4 any cpu
webserver     4     0     1   -b-    5761.9 any cpu

I ran xenmon.py with interval time set to 5 seconds and and let it run
indefinitely and log into local files by executing the command:
[root@xxxx script]# xenmon.py -n -i 5000 -t 0

The log files xenmon automatically generates are "log-dom0.log"
"log-dom2.log"  "log-idle.log", then the result will be in
log-dom2.log looks like the following:

[root@xxxx script]# more log-dom2.log |awk '{print $1, $2, $5,$9, $12}'
#passed cpu cpu(%) blocked(%) waited(%)
0.000 0 0.000 0.000 0.000
11.470 1 0.000 0.000 0.000
5013.090 1 1.919 98.073 0.006
5015.670 0 0.104 52.173 0.092
10014.038 1 1.957 45.017 0.055
10016.627 0 1.473 75.309 0.004
15014.840 1 0.460 21.995 0.001
15017.386 0 0.782 37.692 0.116
20015.507 1 1.303 59.982 0.003
20018.086 0 0.208 15.147 0.003
25016.194 1 1.722 83.039 0.005
25018.832 0 0.664 78.986 0.151
30017.152 1 1.467 20.051 0.085

It has so many cases that cpu(%)+blocked(%)+waited(%) not equal or
even close to 100%. I read "XenMon: QoS Monitoring and Performance
Profiling Tool" paper, but still can not figure it out. Especially,
what does the waited(%) mean?

I even find waited(%) more than 100 in some case. How to explain all these?

cpu(%) blocked(%) waited(%)
25.316506  67.791463   176.436726

Thank you in advance

Best,
Lei

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] How to explain Xenmon result, Lei Lu <=