qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [RFC] Moving the kvm ioapic, pic, and pit back to users


From: Avi Kivity
Subject: [Qemu-devel] Re: [RFC] Moving the kvm ioapic, pic, and pit back to userspace
Date: Wed, 09 Jun 2010 19:05:44 +0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Thunderbird/3.0.4

On 06/09/2010 06:59 PM, Dong, Eddie wrote:

Besides VF IO interrupt and timer interrupt introduced performance overhead 
risk,

VF usually uses MSI

  EOI message deliver from lapic to ioapic,

Only for non-MSI

  which becomes in user land now, may have potential scalability issue. For 
example, if we have a 64 VCPU guest, if each vcpu has 1khz interrupt (or ipi), 
the EOI from guest will normally have to involve ioapic module for clearance in 
64khz which may have long lock contentio.

No, EOI for IPI or for local APIC timer does not involve the IOAPIC.

you may reduce the involvement of ioapic eoi by tracking ioapic pin<->  vector 
map in kernel, but not sure if it is clean enough.

It's sufficient to look at TMR, no? For edge triggered I don't think we need the EOI.

But, the amount of churn and risk worries me, so I don't think the move is worthwhile.

--
error compiling committee.c: too many arguments to function




reply via email to

[Prev in Thread] Current Thread [Next in Thread]