kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Host latency peaks due to kvm-intel
@ 2009-07-23 18:07 Jan Kiszka
  2009-07-23 19:43 ` Gregory Haskins
  0 siblings, 1 reply; 18+ messages in thread
From: Jan Kiszka @ 2009-07-23 18:07 UTC (permalink / raw)
  To: kvm-devel; +Cc: RT

Hi,

did anyone recently tried current KVM for Intel over some real-time
Linux? I'm seeing more than 500 us latency peaks on the host,
specifically during VM startup. This applies to both 2.6.29.6-rt23 and
Xenomai/I-pipe. For -rt, I both tried the included (patched) KVM modules
as well as kvm.git head with some additionally required -rt fixes.
Xenomai ran over a 2.6.30 kernel with my own KVM-enabler patch.

Early instrumentation actually points to the guest exit itself: I added
markers right before and after the assembly part of vmx_vcpu_run, and
further instrumentation reports that the next host APIC tick should go
off right inside guest mode. But KVM leaves the switching part 500 us
too late in that case - as if guest exit on external IRQs was disabled.

Will debug this further, but I'm also curious to hear other user
experiences.

Jan

-- 
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2009-07-27 10:31 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-23 18:07 Host latency peaks due to kvm-intel Jan Kiszka
2009-07-23 19:43 ` Gregory Haskins
2009-07-24  9:41   ` Jan Kiszka
2009-07-24 12:01     ` Gregory Haskins
2009-07-25  8:15     ` Avi Kivity
2009-07-25  9:55       ` Jan Kiszka
2009-07-25 13:27         ` Avi Kivity
2009-07-26 14:23           ` Jan Kiszka
2009-07-26 19:16         ` H. Peter Anvin
2009-07-27  1:11           ` Yang, Sheng
2009-07-27  9:08             ` cpuinfo and HVM features (was: Host latency peaks due to kvm-intel) Jan Kiszka
2009-07-27  9:29               ` Yang, Sheng
2009-07-27 10:31               ` cpuinfo and HVM features Avi Kivity
2009-07-25 14:52     ` Host latency peaks due to kvm-intel Avi Kivity
2009-07-26 10:34       ` Sujit Karataparambil
2009-07-26 14:34       ` Jan Kiszka
2009-07-26 14:45         ` Avi Kivity
2009-07-26 14:52           ` Jan Kiszka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).