From: "Longpeng(Mike)" <longpeng2@huawei.com>
To: pbonzini@redhat.com, rth@twiddle.net, ehabkost@redhat.com
Cc: zhaoshenglong@huawei.com, peter.huangpeng@huawei.com,
qemu-devel@nongnu.org, "Longpeng(Mike)" <longpeng2@huawei.com>
Subject: [Qemu-devel] [PATCH v4 0/2] targte-i386: Add virtual L3 cache support
Date: Mon, 5 Sep 2016 15:45:55 +0800 [thread overview]
Message-ID: <1473061557-41096-1-git-send-email-longpeng2@huawei.com> (raw)
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 | 17 ++++++++++++++---
hw/i386/pc_q35.c | 16 +++++++++++++---
include/hw/compat.h | 2 ++
include/hw/i386/pc.h | 12 ++++++++++++
target-i386/cpu.c | 49 ++++++++++++++++++++++++++++++++++++++++++++-----
target-i386/cpu.h | 6 ++++++
6 files changed, 91 insertions(+), 11 deletions(-)
--
1.8.3.1
next reply other threads:[~2016-09-05 7:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 7:45 Longpeng(Mike) [this message]
2016-09-05 7:45 ` [Qemu-devel] [PATCH v4 1/2] pc: Add 2.8 machine Longpeng(Mike)
2016-09-05 7:45 ` [Qemu-devel] [PATCH v4 2/2] target-i386: present virtual L3 cache info for vcpus Longpeng(Mike)
2016-09-05 8:31 ` [Qemu-devel] [PATCH v4 0/2] targte-i386: Add virtual L3 cache support no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1473061557-41096-1-git-send-email-longpeng2@huawei.com \
--to=longpeng2@huawei.com \
--cc=ehabkost@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.huangpeng@huawei.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
--cc=zhaoshenglong@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).