From: Tim Deegan Subject: Re: Re: Getting the page fault count for domU Date: Mon, 3 Oct 2011 14:43:37 +0100 Message-ID: <20111003134337.GC36575@ocelot.phlegethon.org> References: <1317172992048-4847541.post@n5.nabble.com> <1317312832330-4853794.post@n5.nabble.com> <1317516481414-4861071.post@n5.nabble.com> <20111003093121.GB36575@ocelot.phlegethon.org> <1317649070412-4864887.post@n5.nabble.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <1317649070412-4864887.post@n5.nabble.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Chintamani Siddeshwar Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 06:37 -0700 on 03 Oct (1317623870), Chintamani Siddeshwar wrote: > I am interested in counting the number of page-faults in the guest - > page-faults that result in a disk I/O. You will have to do that from inside the guest - only the guest's OS knows which of its page-faults result in I/O, and on modern (EPT/RVI) hardware, Xen doesn't even see most guest page-faults. > Also when would XEN tools page a guest memory to disk? Is it a manual > process (by running "xenpaging" command) or is it a performance enhancement > added in recent versions of XEN? Only when the xenpaging daemon is running. It is definitely not a performance enhancement (memory pressure is better dealt with by the guest) but is useful as a backstop if you're overcommitting memory some other way. Tim.