qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH RESEND v4 0/2] targte-i386: Add virtual L3 cache support
@ 2016-09-05  7:53 Longpeng(Mike)
  2016-09-05  7:53 ` [Qemu-devel] [PATCH RESEND v4 1/2] pc: Add 2.8 machine Longpeng(Mike)
  2016-09-05  7:53 ` [Qemu-devel] [PATCH RESEND v4 2/2] target-i386: present virtual L3 cache info for vcpus Longpeng(Mike)
  0 siblings, 2 replies; 4+ messages in thread
From: Longpeng(Mike) @ 2016-09-05  7:53 UTC (permalink / raw)
  To: pbonzini, rth, ehabkost
  Cc: zhaoshenglong, peter.huangpeng, qemu-devel, Longpeng(Mike)

This patchset add virtual L3 cache support.

For KVM's linux guest, this will reduces amouts of IPIs under some workloads.
In our experiments(vm:1*socket,8*cores,2threads workload:SAP-HANA-PB-testsuite),
this reduces 85% guest's resched-IPIs, and the performance improves 7.2%~33.1%.

---
Changes since v3:
  - add 2.8 machine: because 2.7 was released.
  - makes the commit message more clearly.

Changes since v2:
  - add more useful commit mesage.
  - rename "compat-cache" to "l3-cache-shared".

Changes since v1:
  - fix the compat problem: set compat_props on PC_COMPAT_2_7.
  - fix a "intentionally introducde bug": make intel's and amd's consistently.
  - fix the CPUID.(EAX=4, ECX=3):EAX[25:14].
  - test the performance if vcpus running on sparate sockets: with L3 cache,
    the performance improves 7.2%~33.1%(avg: 15.7%).

---
Longpeng(Mike) (2):
  pc: Add 2.8 machine
  target-i386: present virtual L3 cache info for vcpus

 hw/i386/pc_piix.c    | 16 +++++++++++++---
 hw/i386/pc_q35.c     | 13 +++++++++++--
 include/hw/compat.h  |  2 ++
 include/hw/i386/pc.h | 12 ++++++++++++
 target-i386/cpu.c    | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
 target-i386/cpu.h    |  6 ++++++
 6 files changed, 88 insertions(+), 10 deletions(-)

-- 
1.8.3.1

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

end of thread, other threads:[~2016-09-08 10:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-05  7:53 [Qemu-devel] [PATCH RESEND v4 0/2] targte-i386: Add virtual L3 cache support Longpeng(Mike)
2016-09-05  7:53 ` [Qemu-devel] [PATCH RESEND v4 1/2] pc: Add 2.8 machine Longpeng(Mike)
2016-09-08 10:55   ` Christian Borntraeger
2016-09-05  7:53 ` [Qemu-devel] [PATCH RESEND v4 2/2] target-i386: present virtual L3 cache info for vcpus Longpeng(Mike)

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).