From: Vijaya Kumar K <vijaya.ku...@caviumnetworks.com> To optimize Live migration time on ARM64 machine following changes are made. - Neon instructions are used for Zero page checking. - Added prefetch for Thunderx platform
With these changes, total migration time comes down from 10 seconds to 2.5 seconds. These patches are tested on top of (GICv3 live migration support) https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg05284.html However there is no direct dependency on these patches. v1 -> v2 changes: ---------------- - Dropped 'target-arm: Update page size for aarch64' patch. - Each loop in zero buffer check function is reduced to 16 from 32. - Replaced vorrq_u64 with '|' in Neon macros - Renamed local variable to reflect 128 bit. - Introduced new file cpuinfo.c to parse /proc/cpuinfo - Added Thunderx specific patches to add prefetch in zero buffer check function. Vijay (1): target-arm: Use Neon for zero checking Vijaya Kumar K (2): utils: Add cpuinfo helper to fetch /proc/cpuinfo utils: Add prefetch for Thunderx platform include/qemu-common.h | 12 ++++++ util/Makefile.objs | 1 + util/cpuinfo.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++ util/cutils.c | 87 +++++++++++++++++++++++++++++++++++++ 4 files changed, 215 insertions(+) create mode 100644 util/cpuinfo.c -- 1.7.9.5