Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > [EMAIL PROTECTED] wrote: > >> Try again. >> > Wrong attachment. Please use this one. > > Applied & thanks. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.

Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Dong, Eddie
[EMAIL PROTECTED] wrote: > Try again. Wrong attachment. Please use this one. commit 5ad9d2ec2cd1f324aa75f2bb0fd7a2de1cb769c3 Author: root <[EMAIL PROTECTED](none)> Date: Mon May 21 10:37:34 2007 +0800 KVM: VMX: Avoid saving and restoring msr_efer on lightweight vmexit MSR_EFER.LME

Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Dong, Eddie
Try again. Eddie kvm.h |2 ++ kvm_main.c | 23 +++ vmx.c | 59 +-- 3 files changed, 66 insertions(+), 18 deletions(-) commit 7de9b4bff794317ae05c0f3b2fec9b3d710fed2b Author: root <[EMAIL PROTECTED](no

Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > Here is the reformatted one, with the patch 64bits guest Kernel Build > performance > on my platform exceeds Xen by ~7%. > Hey, this came earlier than I expected :) > > +#define msr_efer_save_restore_bits(x) ((x).data & > EFER_SAVE_RESTORE_BITS) > + > This needs to b

Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Dong, Eddie
Avi Kivity wrote: > Dong, Eddie wrote: >> Avi: >> >> This patch is to avoid saving and restoring of msr_efer on >> lightweight vmexit. >> >> With this patch, the Kernel build get 10% increasement for 64bits >> on 64 bits, and 5-8% increasement for 32bits on 64 bits. >> Vmexit

Re: [kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-20 Thread Avi Kivity
Dong, Eddie wrote: > Avi: > > This patch is to avoid saving and restoring of msr_efer on > lightweight vmexit. > > With this patch, the Kernel build get 10% increasement for > 64bits on 64 bits, > and 5-8% increasement for 32bits on 64 bits. > Vmexit.flat can see ~1185 cycle

[kvm-devel] [PATCH] MSR_EFER acceleration for lighweight VM Exit

2007-05-17 Thread Dong, Eddie
Avi: This patch is to avoid saving and restoring of msr_efer on lightweight vmexit. With this patch, the Kernel build get 10% increasement for 64bits on 64 bits, and 5-8% increasement for 32bits on 64 bits. Vmexit.flat can see ~1185 cycles save for 64 bits on 64 bi