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] Event channel vs current scheme speed [wasvIOSAPIC

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "Dong, Eddie" <eddie.dong@xxxxxxxxx>, "Magenheimer, Dan \(HP Labs Fort Collins\)" <dan.magenheimer@xxxxxx>, <xen-ia64-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] Event channel vs current scheme speed [wasvIOSAPIC and IRQs delivery]
From: Tristan Gingold <Tristan.Gingold@xxxxxxxx>
Date: Mon, 13 Mar 2006 15:56:22 +0100
Delivery-date: Mon, 13 Mar 2006 14:53:24 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <571ACEFD467F7749BC50E0A98C17CDD8094E7923@pdsmsx403>
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>
References: <571ACEFD467F7749BC50E0A98C17CDD8094E7923@pdsmsx403>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.5
Le Lundi 13 Mars 2006 14:11, Tian, Kevin a écrit :
> From: Tristan Gingold [mailto:Tristan.Gingold@xxxxxxxx]
>
> >Sent: 2006年3月13日 17:32
> >
> >Le Jeudi 09 Mars 2006 21:02, Tian, Kevin a écrit :
> >> Anyway, good discussion by far though still some way to go for
> >> consensus. :-)
> >>
> >> Maybe we want to look at this from another way - fairness.
> >
> >[...]
> >
> >> Regarding current model, there seems to be an issue about fairness
> >> between physical interrupts and "xen events". Taking current 0xE9 for
> >> example, it's lower than timer but higher than all external device
> >> interrupts. This means "xen events" will always preempt device
> >> interrupts in this case, which is unfair and not what we want.
> >
> >To my understanding, this is also true for x86.
> >With event channel, real physical IRQs use events 0-255, while Xen events
> >use
> >events 256-511.
> >
> >So what is the difference ?
>
> Difference is obvious, because 0-255 or 256-511 is not the first level of
> priority decision. The base line is always evtchn_pending, with lower bit
> for higher priority by far. Phys_irq may have event port higher than the
> one owned by a dyn_irq, thus the priority of the former is instead lower
> than the latter. Phys_irq in 0-255 and dyn_irq in 256-511 are just one
> compatible way to the end user, with former indicating normal interrupt
> while the latter for new type of events.
>
> Yes, currently the priority of event channel is a simple way as
> earlier-come-higher-priority, which is decided by the init sequence of
> different drivers. But once event layer is added under traditional
> interrupt, you can choose more complex/accurate priority policy on demand.
> That's it!
Ok. Understood.

Tristan.


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