Optimizing Memory Access Performance Using Hardware Assisted Virtualization in Retargetable Dynamic Binary Translation
Authors:
- 1 August 2017
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 40-46
Abstract
Dynamic Binary Translation is one of the most efficient strategies for the simulation of System-on-Chips, with recent studies showing that a large part of the simulation time is spent in realizing memory accesses. Indeed, the simulation of each load and store instructions requires a software emulation of the hardware Memory Management Unit (MMU). In this work, we propose to realize memory accesses in hardware, taking advantage of the hardware-assisted virtualization capabilities that are now available in modern processors. To do so, we have to setup and maintain shadow page tables, like any regular hypervisor would do, running the entire simulator on a virtual CPU. Now, each load and store instructions can be translated to just a couple of load and store instruction, executing at regular speed, therefore avoiding entirely the overhead of the software emulation of hardware MMU. The goal of this paper is to explain how it can be done. To demonstrate our idea, we have implemented our approach in the QEMU retargetable DBT engine, speeding up the simulation by as much as 40%.Keywords
This publication has 11 references indexed in Scilit:
- Hardware-Accelerated Cross-Architecture Full-System VirtualizationACM Transactions on Architecture and Code Optimization, 2016
- Optimizing binary translation of dynamically generated code2015
- Efficient memory virtualization for Cross-ISA system mode emulation2014
- Fast simulation of systems embedding VLIW processors2012
- Using binary translation in event driven simulation for fast and flexible MPSoC simulation2009
- Advanced virtualization capabilities of POWER5 systemsIBM Journal of Research and Development, 2005
- Intel virtualization technologyComputer, 2005
- Software profiling for hot path predictionACM SIGOPS Operating Systems Review, 2000
- Machine-adaptable dynamic binary translationACM SIGPLAN Notices, 2000
- EmbraACM SIGMETRICS Performance Evaluation Review, 1996