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-devel

Re: [Xen-devel] Xen Performance metrics

To: Lu.YJ@xxxxxxxxxxxx
Subject: Re: [Xen-devel] Xen Performance metrics
From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Date: Fri, 8 Apr 2011 11:20:28 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 08 Apr 2011 03:21:25 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ThP9xeFMRzGuLcJqolYTTcDJPO4EqYriSPEhfWoTdSc=; b=bRBtfEDySd6vEL9ew23tX+wIVIuZ5Ci5GWUL8cy74/FyP9M8pLUUpZDFgaJppO5k1h EVd33ypLgZ8m4/+3o45Pjzj8LPWn1x+ebL5eppIjGKV2u8hn5YDwn2yNqYdgqoi9I/L2 ZSaUPRdmsrtFPSiJGvAN/dS39MYddlBXXpiGY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=vcRm3vw5oFInZJeHftSqILm94V0L+F26IuOKaFlNrBhH9za4gzre+98JHpRCBX2YEC Ysez6XjTyJd16o3zt0XO9qRYApIKsH9OSztsaLDqtV7R+jkKx36oxmTvXaJT5VYDvQvL +dBo7YH2LQn3yM2tNPc8UwYV9RX2383w4cMIg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7AAA4DB16919AB4F9ADFB4784E0B563F5C7468@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7AAA4DB16919AB4F9ADFB4784E0B563F5C7468@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The metric labels aren't really descriptive enough to figure out exactly what they are.  If you describe what information you want, we may be able to get it to you.

Using the xend api is probably not a good plan going forward -- it's likely that we're going to remove xend in the next release (4.2).  You may want to consider looking at XCP, which has an api, and also collects a number of statistics.  If not, there is a lot of data available, it's just a matter of getting it "plumbed" from Xen / wherever to somewhere you can use it.

 -George

2011/4/7 <Lu.YJ@xxxxxxxxxxxx>

Hi everyone,

 

I am studying the Xen performance metrics.

My questions are if we can get the following metrics from Xen hypervisor interface / XEND API (XEN management API) or not ?

cpu.extra.summation, cpu.ready.summation,

disk.busResets.summation, disk.commandsAborted.summation, disk.queueLatency.average,

mem.active.average, mem.overhead.average

If no, plan to add them? or How to add them?

 

As I study, there are the following results about XEN performance metrics on the current XEN 4.1.0.

BTW, VMWARE hypervisor can get all the metrics below.

We can determine if the VM / host encounter the bottleneck issues using the performance metrics.

 

Xen (hypervisor) interface

Xen enabled kernel (drivers like balloon, network / block backend, privcmd,…)

XEN (management) API

(XEND API)

Libvirt API

CPU

1. cpu.extra.summation

2. cpu.ready.summation

3. cpu.usagemhz.average

v

x

V

V

disk

4. disk.busResets.summation

5.disk.commandsAborted.summation

6. disk.totalLatency.average

7. disk.queueLatency.average

Throughput: An average of

8. disk.read.average and

9. disk.write.average

10. disk throughput

 = (disk.read.average +

disk.write.average ) /2

x

v

V

V

memory

11. mem.active.average

 

 

 

 

12. mem.consumed.average

v

x

V

 

V

 

13. mem.overhead.average

 

 

 

 

Memory Swapping:

14. mem.swapin.average,

15. mem.swapout.average

16. mem.swapped.average

v

x

x

V

17.mem.vmmemctl.average(balloon)

x

v

x

V

 

network

 

 

 

 

18. net.received.average,

19. net.transmitted.average and

20. net.usage.average

x

v

V

 

V

 

 

 

Thanks.

YJ


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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>