From: vijay.kilari@gmail.com
To: qemu-arm@nongnu.org, peter.maydell@linaro.org,
pbonzini@redhat.com, rth@twiddle.net
Cc: qemu-devel@nongnu.org, vijay.kilari@gmail.com,
Vijaya Kumar K <Vijaya.Kumar@cavium.com>
Subject: [Qemu-devel] [PATCH v3 0/3] Live migration optimization for Thunderx platform
Date: Mon, 24 Oct 2016 11:25:20 +0530 [thread overview]
Message-ID: <1477288523-10819-1-git-send-email-vijay.kilari@gmail.com> (raw)
From: Vijaya Kumar K <Vijaya.Kumar@cavium.com>
The CPU MIDR_EL1 register is exposed to userspace for arm64
with the below patch.
https://lkml.org/lkml/2016/7/8/467
Thunderx platform requires explicit prefetch instruction to
provide prefetch hint. Using MIDR_EL1 information, provided
by above kernel patch, prefetch is executed if the platform
is Thunderx.
The results of live migration time improvement is provided
in commit message of patch 2.
Note: Check for size of while prefetching beyond page is
not added. Making this check is counter productive on
performance of live migration.
v2 => v3:
- Rebased on top of richard's patches.
- Consider cache line size and line number to prefetch
- Passed optional parameters to __builtin_prefetch
v1 => v2:
- Rename util/cpuinfo.c as util/aarch64-cpuid.c
- Introduced header file include/qemu/aarch64-cpuid.h
- Place all arch specific code under define __aarch64__ and
CONFIG_LINUX.
- Used builtin_prefetch() to add prefetch instruction.
- Moved arch specific changes out of generic code
- Dropped prefetching 5th cache line.
Vijaya Kumar K (3):
cutils: Set __builtin_prefetch optional parameters
utils: Add helper to read arm MIDR_EL1 register
utils: Add prefetch for Thunderx platform
include/qemu/aarch64-cpuid.h | 9 +++++
util/Makefile.objs | 1 +
util/aarch64-cpuid.c | 87 ++++++++++++++++++++++++++++++++++++++++++++
util/bufferiszero.c | 45 ++++++++++++++++++++---
4 files changed, 137 insertions(+), 5 deletions(-)
create mode 100644 include/qemu/aarch64-cpuid.h
create mode 100644 util/aarch64-cpuid.c
--
1.9.1
next reply other threads:[~2016-10-24 5:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-24 5:55 vijay.kilari [this message]
2016-10-24 5:55 ` [Qemu-devel] [PATCH v3 1/3] cutils: Set __builtin_prefetch optional parameters vijay.kilari
2016-10-24 15:43 ` Richard Henderson
2016-10-24 5:55 ` [Qemu-devel] [PATCH v3 2/3] utils: Add helper to read arm MIDR_EL1 register vijay.kilari
2016-10-24 9:39 ` Dr. David Alan Gilbert
2016-10-24 10:20 ` Vijay Kilari
2016-10-24 11:26 ` Paolo Bonzini
2016-10-24 15:47 ` Richard Henderson
2016-10-24 5:55 ` [Qemu-devel] [PATCH v3 3/3] utils: Add prefetch for Thunderx platform vijay.kilari
2016-10-24 11:25 ` Paolo Bonzini
2016-10-24 15:51 ` Richard Henderson
2016-10-24 15:47 ` [Qemu-devel] [PATCH v3 0/3] Live migration optimization " Richard Henderson
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=1477288523-10819-1-git-send-email-vijay.kilari@gmail.com \
--to=vijay.kilari@gmail.com \
--cc=Vijaya.Kumar@cavium.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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).