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