A Retargetable System-Level DBT Hypervisor

Tom Spink, Harry Wagstaff, Bjoern Franke

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

System-level Dynamic Binary Translation (DBT) provides the capability to boot an Operating System (OS) and execute programs compiled for an Instruction Set Architecture (ISA) different to that of the host machine. Due to their performance critical nature, system-level DBT frameworks are typically hand-coded and heavily optimized, both for their guest and host architectures. While this results in good performance of the DBT system, engineering costs for supporting a new, or extending an existing architecture are high. In this paper we develop a novel, retargetable DBT hypervisor, which includes guest specific modules generated from high-level guest machine specifications. Our system simplifies retargeting of the DBT, but it also delivers performance levels in excess of existing manually created DBT solutions. We achieve this by combining offline and online optimizations, and exploiting the freedom of a Just-in-time (JIT) compiler operating in a bare-metal environment provided by a Virtual Machine (VM) hypervisor. We evaluate our DBT using both targeted micro-benchmarks as well as standard application benchmarks, and we demonstrate its ability to outperform the de-facto standard QEMU DBT system. Our system delivers an average speedup of 2.21× over QEMU across SPEC CPU2006 integer benchmarks running in a full-system Linux OS environment, compiled for the 64-bit ARMv8-A ISA and hosted on an x86-64 platform. For floating-point applications the speedup is even higher, reaching 6.49× on average. We demonstrate that our system-level DBT system significantly reduces the effort required to support a new ISA, while delivering outstanding performance.
Original languageEnglish
Title of host publicationProceedings of the 2019 USENIX Annual Technical Conference
Place of PublicationRenton, WA
PublisherUSENIX Association
Pages505-520
Number of pages16
ISBN (Print)978-1-939133-03-8
Publication statusPublished - 12 Jul 2019
Event2019 USENIX Annual Technical Conference - Renton, United States
Duration: 10 Jul 201912 Jul 2019
https://www.usenix.org/conference/atc19

Conference

Conference2019 USENIX Annual Technical Conference
Abbreviated titleUSENIX ATC'19
CountryUnited States
CityRenton
Period10/07/1912/07/19
Internet address

Fingerprint Dive into the research topics of 'A Retargetable System-Level DBT Hypervisor'. Together they form a unique fingerprint.

Cite this