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][RFC]degradation on IPF due to hypercall set irq

To: "Xu, Anthony" <anthony.xu@xxxxxxxxx>
Subject: Re: [Xen-devel][RFC]degradation on IPF due to hypercall set irq
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 22 Nov 2006 07:55:56 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ia64-devel <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 21 Nov 2006 23:56:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <51CFAB8CB6883745AE7B93B3E084EBE207DD51@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AccN5wYmUmir46SdT8a+ptVHeNZ8fgAHbs2mAACOJaAAASp7iw==
Thread-topic: [Xen-devel][RFC]degradation on IPF due to hypercall set irq
User-agent: Microsoft-Entourage/11.2.5.060620
On 22/11/06 7:43 am, "Xu, Anthony" <anthony.xu@xxxxxxxxx> wrote:

> Batching multicall may be a good idea,
> The only question is how and when we batch xc_evtchn_notify and set_level
> hypercall,
> 
> When xc_evtchn_notify is called, there may be several set_level hypercall
> should be called,
> But set_level hypercall is based on irq line level, how to "remember" several
> set_level hypercalls?
> Maybe we need to change set_level hypercall interface.

Have an array of set_level hypercall structures, and an array of multicall
structures. Fill them in at the point we currently do the hypercall. Flush
when:
 A) the array is already full; or
 B) when qemu passes through its event loop.

Make the arrays 16 entries large, for example, will be plenty.

Use the same mechanism for the notification (i.e., add to the multicall
array, to be flushed by qemu's main loop).

 -- Keir



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