Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1500834

Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot mode VMX preemption timer support

From Paolo Bonzini <pbonzini@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot mode VMX preemption timer support
Date 2016-10-14 13:20 +0200
Message-ID <ss8GS-zD-5@gated-at.bofh.it> (permalink)
References <srMwF-2X1-5@gated-at.bofh.it> <ss7B7-8l7-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 14/10/2016 12:05, Wanpeng Li wrote:
> 2016-10-13 19:34 GMT+08:00 Wanpeng Li <kernellwp@gmail.com>:
> [...]
>>
>> The patchset reduces ~300+ clock cycles for each APIC timer oneshot mode
>> operation virtualization. However, the performance of periodic mode is
>> still bad, so this version is still a RFC. Your comments to improve the
>> patchset is a great appreciated.
> 
> I observed that the clock cycles between the start of
> kvm_lapic_expired_hv_timer() (periodic mode emulated through restart a
> preemption timer after the last preemption timer vmexit) to
> kvm_inject_apic_timer_irqs() is almost half of the clock cycles
> between the start of apic_timer_fn() (periodic mode emulated through
> hrtimer) to kvm_inject_apic_timers_irqs(), so the overhead of
> preemption timer is lower in this path. Maybe something is still not
> correct in other places which results in performance of periodic mode
> emulated by VMX preemption timer is still not good. Any help is a
> great appreciated. :)
> 
> Radim, Paolo, ping :)

Just post the patches and we'll see. :)  Another useful thing to do is
to prepare testcases similar to tscdeadline_latency, but using the
periodic and oneshot modes.

Paolo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot mode VMX preemption timer support Wanpeng Li <kernellwp@gmail.com> - 2016-10-13 16:10 +0200
  Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot  mode VMX preemption timer support Wanpeng Li <kernellwp@gmail.com> - 2016-10-14 12:10 +0200
    Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot  mode VMX preemption timer support Paolo Bonzini <pbonzini@redhat.com> - 2016-10-14 13:20 +0200
      Re: [PATCH RFC V3 0/6] KVM: LAPIC: Add APIC Timer periodic/oneshot  mode VMX preemption timer support Paolo Bonzini <pbonzini@redhat.com> - 2016-10-14 14:20 +0200

csiph-web