Re: [PATCH] x86, kvm, vmx: Always use LOAD_IA32_EFER if available

2014-11-12 Thread Paolo Bonzini
On 08/11/2014 03:25, Andy Lutomirski wrote: At least on Sandy Bridge, letting the CPU switch IA32_EFER is much faster than switching it manually. I benchmarked this using the vmexit kvm-unit-test (single run, but GOAL multiplied by 5 to do more iterations): Test

Re: [PATCH] x86, kvm, vmx: Always use LOAD_IA32_EFER if available

2014-11-10 Thread Andy Lutomirski
On Sun, Nov 9, 2014 at 8:33 PM, Wanpeng Li wanpeng...@linux.intel.com wrote: Hi Andy, On Fri, Nov 07, 2014 at 06:25:18PM -0800, Andy Lutomirski wrote: At least on Sandy Bridge, letting the CPU switch IA32_EFER is much faster than switching it manually. I benchmarked this using the vmexit

Re: [PATCH] x86, kvm, vmx: Always use LOAD_IA32_EFER if available

2014-11-09 Thread Wanpeng Li
Hi Andy, On Fri, Nov 07, 2014 at 06:25:18PM -0800, Andy Lutomirski wrote: At least on Sandy Bridge, letting the CPU switch IA32_EFER is much faster than switching it manually. I benchmarked this using the vmexit kvm-unit-test (single run, but GOAL multiplied by 5 to do more iterations): Test