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] Overhead incurred due to Xen for a page fault

To: pak333@xxxxxxxxxxx
Subject: Re: [Xen-devel] Overhead incurred due to Xen for a page fault
From: Dave Winchell <dwinchell@xxxxxxxxxxxxxxx>
Date: Fri, 24 Mar 2006 10:27:33 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 24 Mar 2006 15:21:00 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <032420060427.4189.442375210007CE670000105D2207024553CCCCCC050E9F@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <032420060427.4189.442375210007CE670000105D2207024553CCCCCC050E9F@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20060202 Fedora/1.7.12-1.5.2
Fault path:

vmx_vmexit_handler
  vmx_do_page_fault
     shadow_fault (shadow_fault_64)

Put memory based trace code in shadow_fault_64, or, I presume, shadow_fault_32. You'll see shadow_fault_64 get entered multiple times. I believe the faults are as
follows:
 1. The data page fault.
 2. The fault for the gos accessing the pte.
 3. The second fault for the data page.

This is for fully virtualized mode. I have not been looking at paravirtualized.
I see page fault times at 20-25 usec.

regards,
Dave



pak333@xxxxxxxxxxx wrote:

I would like to get some help on estimating the cost of page fault handling in Xen. Can someone help me identify where I need to put the hooks into the xen source. Thanks
Kris

------------------------------------------------------------------------

_______________________________________________
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