Re: PATCH: setup_vmcs_config: disable TSC scaling on unlike processors

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

 



On 2 December 2016 at 10:07, Radim Krčmář <rkrcmar@xxxxxxxxxx> wrote:
> Subjects that touch only arch/x86/kvm/vmx.c are usually prefixed with
> "[PATCH] KVM: VMX:".
>
> 2016-12-01 21:32-0500, Don Bowman:
>> Add an enable_tsc_scaling parameter to kvm
>>
>> Signed-off-by: Don Bowman <db@xxxxxxxxxxxx>
>> ---
>>
>> My system has what i thought were two identical processors (same
>> stepping ID etc).
>> However, bafflingly, one of them has the ability to do TSC scaling,
>> and one does not (as reported in the vmcs).
>
> Wow, the chip doesn't sound trustworthy.

Its TSC scaling. The tray-version doesn't have it, the retail one has it
(2696 v3 vs 2699 v3).
The TSC is reliable on both as are the other flags.
As to why, I don't know. the stepping is identical.
This happens if you have an OEM server w/ 1 socket, and then populate
the other. I'm not sure Its a problem(?)

 ...

>
> You'll notice kvm_has_tsc_control in hardware_setup() when clearing the
> flag if it isn't supported by hardware, so I think your change would
> make sense as a x86 kvm module option based on kvm_has_tsc_control.
>
> Thanks.

I will look @ this and supply new potential patch.
--
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