On 23/07/2018 23:16, Isaku Yamahata wrote: > Optimize latency of TSC deadline emulation by skipping various KVM related > checks when opssible. i.e. On VMExit for tsc deadline timer emulation, > handle it and VMEnter immidiately without checking various kvm stuff > when possible. > The result can be measured by cyclic test in guest and ftracing > local timer interrupt entry(irq_vectors:local_timer_exit). > On local machine, average latency can be reduced by tens of microseconds. The latency of the TSC deadline timer is already around 2-5 microseconds, isn't it? What is the result on kvm-unit-tests' vmexit.flat (the tscdeadline and tscdeadline_immed benchmarks are the interesting ones)? Paolo