Re: A question about HTL VM-Exit handling time

2014-10-28 Thread Christian Borntraeger
Am 21.10.2014 20:39, schrieb Paolo Bonzini: On 10/16/2014 10:15 AM, Wu, Feng wrote: Hi folks, I run kernel build in the guest and use perf kvm to get some VM-Exit result as the following: Analyze events for all VCPUs: VM-EXITSamples Samples% Time% Min Time

Re: A question about HTL VM-Exit handling time

2014-10-28 Thread Paolo Bonzini
On 10/28/2014 12:52 AM, Wanpeng Li wrote: As you know, kernel build which Feng used is a CPU bound workload, so why 22.28% samples is halt? Because in a CPU bound workload you don't have many exits in the first place. But there could also be some issues with the way he used perf. 213821

Re: A question about HTL VM-Exit handling time

2014-10-27 Thread Wanpeng Li
Hi Paolo, On Tue, Oct 21, 2014 at 08:39:49PM +0200, Paolo Bonzini wrote: On 10/16/2014 10:15 AM, Wu, Feng wrote: Hi folks, I run kernel build in the guest and use perf kvm to get some VM-Exit result as the following: Analyze events for all VCPUs: VM-EXITSamples

Re: A question about HTL VM-Exit handling time

2014-10-23 Thread Paolo Bonzini
Thanks for your answer, Paolo. There is a general question for perf kvm. Do you know how the vmexit handling time is measured? Such as what is the start point, and the end point? If I got this information, I think I can better understand the value of the handling time. Thanks a lot! It is

RE: A question about HTL VM-Exit handling time

2014-10-23 Thread Wu, Feng
-Original Message- From: Paolo Bonzini [mailto:pbonz...@redhat.com] Sent: Thursday, October 23, 2014 8:23 PM To: Wu, Feng; kvm@vger.kernel.org Cc: Xiao Guangrong Subject: Re: A question about HTL VM-Exit handling time Thanks for your answer, Paolo. There is a general

RE: A question about HTL VM-Exit handling time

2014-10-22 Thread Wu, Feng
-Original Message- From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo Bonzini Sent: Wednesday, October 22, 2014 2:40 AM To: Wu, Feng; kvm@vger.kernel.org Cc: Xiao Guangrong Subject: Re: A question about HTL VM-Exit handling time On 10/16/2014 10:15 AM

Re: A question about HTL VM-Exit handling time

2014-10-21 Thread Paolo Bonzini
On 10/16/2014 10:15 AM, Wu, Feng wrote: Hi folks, I run kernel build in the guest and use perf kvm to get some VM-Exit result as the following: Analyze events for all VCPUs: VM-EXITSamples Samples% Time% Min Time Max Time A MSR_WRITE

A question about HTL VM-Exit handling time

2014-10-16 Thread Wu, Feng
Hi folks, I run kernel build in the guest and use perf kvm to get some VM-Exit result as the following: Analyze events for all VCPUs: VM-EXITSamples Samples% Time% Min Time Max Time A MSR_WRITE361390857.53%18.97%5us 1362us