From: Avi Kivity <avi@redhat.com>
To: "Fischer, Anna" <anna.fischer@hp.com>
Cc: "Kay, Allen M" <allen.m.kay@intel.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>
Subject: Re: KVM & VT-d2?
Date: Sun, 17 May 2009 22:50:00 +0300 [thread overview]
Message-ID: <4A106A68.3010105@redhat.com> (raw)
In-Reply-To: <0199E0D51A61344794750DC57738F58E66BC9810CC@GVW1118EXC.americas.hpqcorp.net>
Fischer, Anna wrote:
> I thought that one use case of VT-d2 interrupt remapping was to be able to safely and more efficiently deliver interrupts to the CPU that runs the particular VCPU of the guest that owns the I/O device that issues the interrupt. Shouldn't there at least be some performance (e.g. latency) improvement doing the remapping and checking in HW with a predefined table rather than multiplexing this in software in the hypervisor layer?
>
This can be done even without VT-d. Since qemu knows how the guest
affines its interrupts (via the MSI entry), it can affine the
corresponding host interrupt.
Right now Linux can affine the host interrupt to a cpu; this requires
periodic polling since the vcpu thread can move around. It would be
interesting to add an API to affine an interrupt to a thread, so
whenever the thread is migrated to a different cpu, the interrupt
follows it around. I imagine it would be useful for non-virtualization
applications as well.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
prev parent reply other threads:[~2009-05-17 19:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-14 21:52 KVM & VT-d2? Fischer, Anna
2009-05-14 22:01 ` Kay, Allen M
2009-05-14 23:12 ` Fischer, Anna
2009-05-15 1:25 ` Kay, Allen M
2009-05-17 19:50 ` Avi Kivity [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A106A68.3010105@redhat.com \
--to=avi@redhat.com \
--cc=allen.m.kay@intel.com \
--cc=anna.fischer@hp.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.