Re: [PATCH v2] KVM: x86: Drop the kvm_has_noapic_vcpu optimization

Sean Christopherson
2024-12-11T17:16:13Z

On Tue, Dec 10, 2024, Bernhard Kauer wrote:
> On Mon, Dec 09, 2024 at 05:40:48PM -0800, Sean Christopherson wrote:
> > > With a single vCPU pinned to a single pCPU, the average latency for a CPUID exit
> > > goes from 1018 => 1027 cycles, plus or minus a few. With 8 vCPUs, no pinning
> > > (mostly laziness), the average latency goes from 1034 => 1053.
>
> Are these kind of benchmarks tracked somewhere automatically?

I'm not sure what you're asking. The benchmark is KVM-Unit-Test's[*] CPUID test,
e.g. "./x86/run x86/vmexit.flat -smp 1 -append 'cpuid'".

git@gitlab.com:kvm-unit-tests/kvm-unit-tests.git[*]