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-ia64-devel

Re: [Xen-ia64-devel] [PATCH 0/2][RFC] set rr0 to rr4 hyperprivop

To: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH 0/2][RFC] set rr0 to rr4 hyperprivop
From: Alex Williamson <alex.williamson@xxxxxx>
Date: Tue, 31 Jul 2007 09:41:10 -0600
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 31 Jul 2007 08:39:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070730055946.GA32479%yamahata@xxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: HP OSLO R&D
References: <20070730055946.GA32479%yamahata@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, 2007-07-30 at 14:59 +0900, Isaku Yamahata wrote:
> This patch introduce set rr0 to rr4 hyperprivop to reduce context switch
> overhead.
> 
> Linux/ia64 changes region registers from rr0 to rr4 when context switch
> so that XenLinux issues 5 set_rr hyperprivops.
> This patch introduces the hyperprivops to change and reduce the cost
> to about 1/4 - 1/5. This rage is very reasonable because its overhead
> comes from hypercall trap cost.
> 
> [PATCH 1/2][RFC] set rr0 to rr4 hyperprivop: Xen side
> [PATCH 2/2][RFC] set rr0 to rr4 hyperprivop: Linux side

Hi Isaku,

   I haven't been able to measure a performance difference from this,
but is there any reason not to do it?  It looks like a standard
hypercall batching technique and the paravirtualization impact to the
guest is quite low.  Thanks,

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>