Re: [PATCH v2] KVM: LAPIC: Tune lapic_timer_advance_ns automatically

2018-10-09 Thread Paolo Bonzini
On 09/10/2018 03:02, Wanpeng Li wrote: > From: Wanpeng Li > > In cloud environment, lapic_timer_advance_ns is needed to be tuned for every > CPU > generations, and every host kernel versions(the > kvm-unit-tests/tscdeadline_latency.flat > is 5700 cycles for upstream kernel and 9600 cycles for

[PATCH v2] KVM: LAPIC: Tune lapic_timer_advance_ns automatically

2018-10-08 Thread Wanpeng Li
From: Wanpeng Li In cloud environment, lapic_timer_advance_ns is needed to be tuned for every CPU generations, and every host kernel versions(the kvm-unit-tests/tscdeadline_latency.flat is 5700 cycles for upstream kernel and 9600 cycles for our 3.10 product kernel, both preemption_timer=N, S