Projects per year
Abstract
Dynamic Binary Modification (DBM) is an important technique used in computer architecture simulators, virtualization, and program analysis, to name a few examples. The software ecosystem of RISC-V is maturing at pace, but is still missing a high-performance, optimized DBM. Addressing this requirement is key to improving the overall software ecosystem.
This paper presents a comprehensive performance evaluation study for a DBM (MAMBO) which has been ported and optimized for 64-bit RISC-V. The main optimizations for DBM on RISC architectures have been implemented and tuned for RISC-V to address specific architectural features. For example, jump trampolines have been specifically developed to address the short direct branch range specified by the RISC-V ISA.
The evaluation shows that for SPEC CPU2006 the geometric mean overhead is of 14.5%, with SPECint having the largest contribution with a geometric mean of 28.5%, while SPECfp has only an overhead of 5.6%. Concretely, this results in a reduction in runtime for h264ref from over 75 hours using the baseline DBM, to 2.2 hours with optimizations applied.
This paper presents a comprehensive performance evaluation study for a DBM (MAMBO) which has been ported and optimized for 64-bit RISC-V. The main optimizations for DBM on RISC architectures have been implemented and tuned for RISC-V to address specific architectural features. For example, jump trampolines have been specifically developed to address the short direct branch range specified by the RISC-V ISA.
The evaluation shows that for SPEC CPU2006 the geometric mean overhead is of 14.5%, with SPECint having the largest contribution with a geometric mean of 28.5%, while SPECfp has only an overhead of 5.6%. Concretely, this results in a reduction in runtime for h264ref from over 75 hours using the baseline DBM, to 2.2 hours with optimizations applied.
Original language | English |
---|---|
Title of host publication | 2023 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS) |
Publisher | IEEE |
Pages | 81-91 |
Number of pages | 11 |
ISBN (Electronic) | 9798350397390 |
ISBN (Print) | 9798350397390 |
DOIs | |
Publication status | Published - 24 Apr 2023 |
Publication series
Name | Proceedings - 2023 IEEE International Symposium on Performance Analysis of Systems and Software, ISPASS 2023 |
---|
Keywords
- Binary Code Profiling
- Dynamic Binary Instrumentation
- Dynamic Binary Modification
- RISC-V
Fingerprint
Dive into the research topics of 'Evaluating the Impact of Optimizations for Dynamic Binary Modification on 64-bit RISC-V'. Together they form a unique fingerprint.Projects
- 1 Finished
-
Robotics and Artificial Intelligence for Nuclear (RAIN)
Lennox, B. (PI), Arvin, F. (CoI), Brown, G. (CoI), Carrasco Gomez, J. (CoI), Da Via, C. (CoI), Furber, S. (CoI), Luján, M. (CoI), Watson, S. (CoI), Watts, S. (CoI) & Weightman, A. (CoI)
2/10/17 → 31/03/22
Project: Research