From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhVIw-0002QI-KD for qemu-devel@nongnu.org; Wed, 07 Sep 2016 01:21:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bhVIs-0001e7-1o for qemu-devel@nongnu.org; Wed, 07 Sep 2016 01:21:46 -0400 Received: from szxga02-in.huawei.com ([119.145.14.65]:23053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bhVIr-0001bm-E2 for qemu-devel@nongnu.org; Wed, 07 Sep 2016 01:21:41 -0400 From: "Longpeng(Mike)" Date: Wed, 7 Sep 2016 13:21:11 +0800 Message-ID: <1473225673-26020-1-git-send-email-longpeng2@huawei.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v5 0/2] targte-i386: Add virtual L3 cache support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com, mst@redhat.com Cc: qemu-devel@nongnu.org, zhaoshenglong@huawei.com, peter.huangpeng@huawei.com, "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,2*threads workload:SAP-HANA-PB-testsuite), this reduces 85% guest's resched-IPIs, and the performance improves 7.2%~33.1%. --- Chandes since v4: - rename "l3-cache-shared" to "l3-cache" Changes since v3: - add 2.8 machine(2.7 was released), set compat_props on PC_COMPAT_2_8 - 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/i386/pc.h | 12 ++++++++++++ target-i386/cpu.c | 49 ++++++++++++++++++++++++++++++++++++++++++++----- target-i386/cpu.h | 6 ++++++ 5 files changed, 86 insertions(+), 10 deletions(-) -- 1.8.3.1