LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH 0/5] KVM: nVMX: Enable nested apicv support.
@ 2015-01-16  5:49 Wincy Van
  2015-01-20  3:48 ` Wincy Van
  0 siblings, 1 reply; 3+ messages in thread
From: Wincy Van @ 2015-01-16  5:49 UTC (permalink / raw)
  To: Paolo Bonzini, gleb, yang.z.zhang
  Cc: kvm, linux-kernel, Wanpeng Li, Jan Kiszka, 范文一

In nested vmx, the efficiency of interrupt virtualization is
very important, especially in high throughput scenes.

This patch set enables nested apicv support, which makes a
huge improvement in nested interrupt virtualization.

I also have done some simple tests:
L0: Intel Xeon E5-2630 v2
L1: CentOS 6.5 with 3.10.64-1.el6.elrepo.x86_64 kernel
    16 vcpus, 32GB memory.

L2: Windows Server 2008 R2 Datacenter
    8 vcpus, 16GB memory.

 1. Run wprime 32M, 8 threads.

         original                nested apicv

          7.782s                   7.172s

    Improvement: 7.8%

 2. Run iperf -s -w 64k in L1,
    iperf -c 10.1.0.2 -p 5001 -i 1 -t 30 -P 8 -w 64k in L2

         original                nested apicv

        2.12 Gbits/s             3.50 Gbits/s

    Improvement: 65.0%

_________________________________________________________

L2: CentOS 6.5 with 2.6.32-431 kernel
    8 vcpus, 16GB memory.

 1. Run iperf -s -w 64k in L1,
    iperf -c 10.1.0.2 -p 5001 -i 1 -t 30 -P 8 -w 64k in L2

         original                nested apicv

        6.58 Gbits/s             14.2 Gbits/s

    Improvement: 115.8%

Wincy Van (5):
  KVM: nVMX: Make nested control MSRs per-cpu.
  KVM: nVMX: Enable nested virtualize x2apic mode.
  KVM: nVMX: Enable nested apic register virtualization.
  KVM: nVMX: Enable nested virtual interrupt delivery.
  KVM: nVMX: Enable nested posted interrupt processing.

 arch/x86/kvm/vmx.c |  444 +++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 355 insertions(+), 89 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/5] KVM: nVMX: Enable nested apicv support.
  2015-01-16  5:49 [PATCH 0/5] KVM: nVMX: Enable nested apicv support Wincy Van
@ 2015-01-20  3:48 ` Wincy Van
  2015-01-20  3:59   ` Zhang, Yang Z
  0 siblings, 1 reply; 3+ messages in thread
From: Wincy Van @ 2015-01-20  3:48 UTC (permalink / raw)
  To: Paolo Bonzini, gleb, yang.z.zhang
  Cc: kvm, linux-kernel, Wanpeng Li, Jan Kiszka, 范文一

Hi, Yang,

Could you please have a look at this patch set?
Your comment is very appreciated!


Thanks,

Wincy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH 0/5] KVM: nVMX: Enable nested apicv support.
  2015-01-20  3:48 ` Wincy Van
@ 2015-01-20  3:59   ` Zhang, Yang Z
  0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Yang Z @ 2015-01-20  3:59 UTC (permalink / raw)
  To: Wincy Van, Paolo Bonzini, gleb; +Cc: kvm, linux-kernel, Wanpeng Li, Jan Kiszka

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 371 bytes --]

Wincy Van wrote on 2015-01-20:
> Hi, Yang,
> 
> Could you please have a look at this patch set?
> Your comment is very appreciated!

Sure. I will take a look. 

> 
> 
> Thanks,
> 
> Wincy


Best regards,
Yang


ÿôèº{.nÇ+‰·Ÿ®‰­†+%ŠËÿ±éݶ\x17¥Šwÿº{.nÇ+‰·¥Š{±þG«éÿŠ{ayº\x1dʇڙë,j\a­¢f£¢·hšïêÿ‘êçz_è®\x03(­éšŽŠÝ¢j"ú\x1a¶^[m§ÿÿ¾\a«þG«éÿ¢¸?™¨è­Ú&£ø§~á¶iO•æ¬z·švØ^\x14\x04\x1a¶^[m§ÿÿÃ\fÿ¶ìÿ¢¸?–I¥

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-20  3:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-16  5:49 [PATCH 0/5] KVM: nVMX: Enable nested apicv support Wincy Van
2015-01-20  3:48 ` Wincy Van
2015-01-20  3:59   ` Zhang, Yang Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).