Re: [PATCH v3 6/7] KVM: VMX: runtime knobs for dynamic PLE window

2014-08-21 Thread Radim Krčmář
2014-08-22 00:47+0530, Raghavendra K T: > Positive thing about able to change default grow/shrink value is the > flexibility of tuning ple window to different workloads and different > number of cpus. > > But is it that a value of shrink = 1 and grow > 1 is problematic ? > (running a undercommit w

Re: [PATCH v3 6/7] KVM: VMX: runtime knobs for dynamic PLE window

2014-08-21 Thread Raghavendra K T
On 08/21/2014 09:38 PM, Radim Krčmář wrote: ple_window is updated on every vmentry, so there is no reason to have it read-only anymore. ple_window* weren't writable to prevent runtime overflow races; they are prevented by a seqlock. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 46

[PATCH v3 6/7] KVM: VMX: runtime knobs for dynamic PLE window

2014-08-21 Thread Radim Krčmář
ple_window is updated on every vmentry, so there is no reason to have it read-only anymore. ple_window* weren't writable to prevent runtime overflow races; they are prevented by a seqlock. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 46 +- 1 f