From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Measuring the amount of memory read/written (basically touched) by a domU Date: Mon, 3 May 2010 20:32:08 +0100 Message-ID: References: <040601caeaf5$e5951400$b0bf3c00$@ucsd.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <040601caeaf5$e5951400$b0bf3c00$@ucsd.edu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yuvraj Agarwal , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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" 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@lists.xensource.com > http://lists.xensource.com/xen-devel