Re: [Qemu-devel] [Patch]KVM: enabling per domain PLE

2012-10-29 Thread Hu, Xuekun
Hi, Avi > > Yes, some cloud vendors already knew that different PLE values has big > performance impact on their applications. They want one interface for them to > set. And I think the big cloud vendors should have administrators that have > experience on PLE tuning. :-) > For current stage, d

Re: [Qemu-devel] [Patch]KVM: enabling per domain PLE

2012-10-18 Thread Hu, Xuekun
> -Original Message- > From: Avi Kivity [mailto:a...@redhat.com] > Sent: Wednesday, October 17, 2012 6:12 PM > To: Hu, Xuekun > Cc: k...@vger.kernel.org; qemu-devel@nongnu.org; Zhang, Xiantao > Subject: Re: [Patch]KVM: enabling per domain PLE > > On 10/17/2012 10

Re: [Qemu-devel] [Patch]KVM: enabling per domain PLE

2012-10-17 Thread Hu, Xuekun
> > The problem with this is that it requires an administrator to understand the > workload, not only of the guest, but also of other guests on the machine. > With low overcommit, a high PLE window reduces unneeded exits, but with > high overcommit we need those exits to reduce spinning. > > In a

[Qemu-devel] [Patch]QEMU: Add "-ple-gap" and "-ple-window" options for per domain PLE

2012-10-15 Thread Hu, Xuekun
QEMU: Add "-ple-gap" and "-ple-window" options for per domain PLE Signed-off-by: Xuekun Hu --- linux-headers/linux/kvm.h |3 +++ qemu-options.hx | 16 sysemu.h |2 ++ target-i386/kvm.c | 13 + vl.c |

[Qemu-devel] [Patch]KVM: enabling per domain PLE

2012-10-15 Thread Hu, Xuekun
Setting the same PLE parameter arbitrarily for different workloads is not a good solution. The solution enables per domain PLE which gives user ability to set PLE parameter for different domain for better performance. Signed-off-by: Xuekun Hu --- arch/x86/include/asm/kvm_host.h |6 ++ ar