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

[Xen-devel] [PATCH] xenpm tool: add average C state residency output

To: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] xenpm tool: add average C state residency output
From: "Yu, Ke" <ke.yu@xxxxxxxxx>
Date: Mon, 16 Feb 2009 17:00:25 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 16 Feb 2009 01:01:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmQFQH0rF8n8ZU1RqmUpCq8hu//JA==
Thread-topic: [PATCH] xenpm tool: add average C state residency output
Average C state residency is useful indicator of C state efficiency, this patch 
add the this in xenpm. The output is like this:

[root@kyu3-mv ~]# xenpm start
Start sampling, waiting for CTRL-C or SIGINT signal ...
Elapsed time (ms): 5758

CPU0:   Residency(ms)           Avg Res(ms)
  C0    41      ( 0.71%)        0.04
  C1    0       ( 0.00%)        0.00
  C2    24      ( 0.43%)        0.83
  C3    5692    (98.85%)        5.44

  P0    18      (100.00%)
  P1    0       ( 0.00%)
  P2    0       ( 0.00%)
  P3    0       ( 0.00%)

Best Regards
Ke

Attachment: xenpm-average-c-res.patch
Description: xenpm-average-c-res.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] xenpm tool: add average C state residency output, Yu, Ke <=