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] Measuring the amount of memory read/written (basically t

To: Yuvraj Agarwal <yuvraj@xxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Measuring the amount of memory read/written (basically touched) by a domU
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 3 May 2010 20:32:08 +0100
Cc:
Delivery-date: Mon, 03 May 2010 12:33:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <040601caeaf5$e5951400$b0bf3c00$@ucsd.edu>
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: Acrq9AIA4GayloamTrmkEQbchcLPnQAALSrQAACmu/E=
Thread-topic: [Xen-devel] Measuring the amount of memory read/written (basically touched) by a domU
User-agent: Microsoft-Entourage/12.24.0.100205
The live migration shadow-pagetable logic could perhaps be used for this.
Live migration uses it for dirty page tracking, but you could extend it no
doubt to both accessed- and dirty-page tracking, and take counts
periodically. Definitely some hacking involved, however!

 -- Keir

On 03/05/2010 20:21, "Yuvraj Agarwal" <yuvraj@xxxxxxxxxxx> wrote:

> Hi, 
> 
> We want to measure the amount of memory that a domU touches while its
> running, and if possible even get a breakdown between memory read/written.
> We want to basically do these measurements for some windows domUs (XP,
> vista, 7) and perhaps even linux domU's on top of XEN... Does anyone know
> how do I can get this information easily? Has anyone done something like
> this already?  
> 
> My test system is using XEN 4.0 + 2.6.32 pvops kernel -- (Ubuntu 9.10)
> 
> Thanks!
> Yuvraj 
> 
> 
> _______________________________________________
> 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