Re: [PATCH v3] kvm:vmx: more complete state update on APICv on/off

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

 



On 2016/5/19 13:40, Denis V. Lunev wrote:
On 05/19/2016 05:01 AM, Yang Zhang wrote:
On 2016/5/18 22:48, Roman Kagan wrote:
The function to update APICv on/off state (in particular, to deactivate
it when enabling Hyper-V SynIC), used to be incomplete: it didn't adjust
APICv-related fields among secondary processor-based VM-execution
controls.

Hi Roman,

I have question about the performance between APICv and Hyper-V SynIC.
As we known APICv is a hardware feature which including three
features: APIC register virtualization, virtual interrupt delivery and
Posted Interrupt. My gut feeling is that the average performance that
improved by APICv should greater than Hyper-v SynIC. Am i right? If
yes, current policy that disable the whole APICv seems too aggressive.

Argh.. We have faced this situation in Parallels Desktop may be
3 years ago. Unfortunately, there is no data at the moment.
It was toooo old and made by other team. As far as I remember
(for that time), interrupt delivery becomes faster, but operations
with on of CR registers becomes much slower and general
performance score becomes lower.

I guess the data may be collected on KVM w/o APICv supporting. Normally, APICv provides the faster way to delivery interrupt than software solution.


The problem with SynIC is that it is mandatory prerequisite
to enable HyperV bus in the guest, which is our final goal.
Thus there is no other way for us.

I see. Actually, we saw the performance improvement with SynIC timer but we don't want to turn off APICv since we think it may hurt the performance. Is it possible to turn on SynIC timer without disable APICv?


btw, do you have any performance data, not micro-level? Thanks.

not collected at the moment, especially with KVM.


--
best regards
yang
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux