Kechen Lu writes:
> Hi Vitaly and Paolo,
>
> Sorry for the delay in response, finally got chance to access a machine with
> AVIC, and was able to test out the patch and reconfirm through some
> benchmarks and tests again today:)
>
> In summary, this patch works well and resolves the issues o
Hi Vitaly and Paolo,
Sorry for the delay in response, finally got chance to access a machine with
AVIC, and was able to test out the patch and reconfirm through some benchmarks
and tests again today:)
In summary, this patch works well and resolves the issues on clocksource caused
high port I
Thursday, February 4, 2021 7:19 AM
>To: Paolo Bonzini ; Kechen Lu
>Cc: suravee.suthikulpa...@amd.com; Somdutta Roy ;
>k...@vger.kernel.org; qemu-discuss@nongnu.org
>Subject: Re: Optimized clocksource with AMD AVIC enabled for Windows guest
>
>External email: Use caution opening links
Vitaly Kuznetsov writes:
> +
> + auto_eoi_new = bitmap_weight(synic->auto_eoi_bitmap, 256);
> +
> + /* Hyper-V SynIC auto EOI SINT's are not compatible with APICV */
> + if (!auto_eoi_old && auto_eoi_new) {
> + if (atomic_inc_return(&hv->synic_auto_eoi_used) == 1)
> +
Paolo Bonzini writes:
> On 04/02/21 13:24, Vitaly Kuznetsov wrote:
>> I checked Linux VMs on genuine Hyper-V and surprisingly
>> 'HV_DEPRECATING_AEOI_RECOMMENDED' is not exposed.
>
> Did the host have APICv/AVIC (and can Hyper-V use AVIC)? AutoEOI is
> still a useful optimization on hosts that
On 04/02/21 13:24, Vitaly Kuznetsov wrote:
I checked Linux VMs on genuine Hyper-V and surprisingly
'HV_DEPRECATING_AEOI_RECOMMENDED' is not exposed.
Did the host have APICv/AVIC (and can Hyper-V use AVIC)? AutoEOI is
still a useful optimization on hosts that don't have
hardware-accelerated E
Kechen Lu writes:
> Hi Vitaly and Paolo,
>
> Thanks so much for quick reply. This makes sense to me. From my
> understanding, basically this can be two part of it to resolve it.
>
> First, we make sure to set and expose 0x4004.EAX Bit9 to windows guest,
> like in kvm_vcpu_ioctl_get_hv_cpui
uznetsov
>Sent: Wednesday, February 3, 2021 1:16 AM
>To: Paolo Bonzini ; Kechen Lu
>Cc: suravee.suthikulpa...@amd.com; Somdutta Roy ;
>k...@vger.kernel.org; qemu-discuss@nongnu.org
>Subject: Re: Optimized clocksource with AMD AVIC enabled for Windows guest
>
>External
Paolo Bonzini writes:
> On 03/02/21 07:40, Kechen Lu wrote:
>> From the above observations, trying to see if there's a way for
>> enabling AVIC while also having the most optimized clock source for
>> windows guest.
>>
>
> You would have to change KVM, so that AVIC is only disabled if Auto-EOI
On 03/02/21 07:40, Kechen Lu wrote:
From the above observations, trying to see if there's a way for
enabling AVIC while also having the most optimized clock source for
windows guest.
You would have to change KVM, so that AVIC is only disabled if Auto-EOI
interrupts are used.
Paolo
10 matches
Mail list logo