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] Disabling lapic and apic: pitfalls?

To: "dan.magenheimer@xxxxxxxxxx" <dan.magenheimer@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Disabling lapic and apic: pitfalls?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Fri, 14 Mar 2008 19:35:35 +0000
Delivery-date: Fri, 14 Mar 2008 12:37:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20080314130601046.00000003604@djm-pc>
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: AciF/JC0bL6Vmok5QrSmQN41YSf2hwAB4OsYAABYnVAAAUb7rw==
Thread-topic: [Xen-devel] Disabling lapic and apic: pitfalls?
User-agent: Microsoft-Entourage/11.3.6.070618
On 14/3/08 19:06, "Dan Magenheimer" <dan.magenheimer@xxxxxxxxxx> wrote:

>> APIC is required for multiprocessor HVM guests. It can be
>> lived without for UP guests.
> 
> LAPIC or (IO)APIC or both?  And a key part of the question
> is what does "lived without" mean (as far as functionality
> or performance or stability or ??? lost)?

Without LAPIC the IO-APIC is unusable, since IO-APIC-routed interrupts can
only be received by a LAPIC. The advantage of an IO-APIC beyond legacy PIC
is mainly that there are more PCI interrupt pins -- on our emulated IO-APIC
there are 32 of them, as opposed to just four PCI-ISA links. This means that
an IO-APIC is much less likely to introduce interrupt sharing among PCI
devices. However, there are few enough PCI devices emulated for an HVM guest
that the risk of interrupt sharing is probably not too concerning.

Beyond that, the LAPIC doesn't provide much of value in a uniprocessor
environment. It has its own timer, but there are other sources for that
(PIT, HPET, ...). Most other stuff is only applicable to MP systems.

 -- Keir



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

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