Evaluating the Impact of Optimizations for Dynamic Binary Modification on 64-bit RISC-V

被引:0
|
作者
Kressel, John Alistair [1 ]
Callaghan, Guillermo [1 ]
Gorgovan, Cosmin [1 ]
Lujan, Mikel [1 ]
机构
[1] Univ Manchester, Dept Comp Sci, Manchester M13 9PL, Lancs, England
来源
2023 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE, ISPASS | 2023年
基金
英国工程与自然科学研究理事会;
关键词
Dynamic Binary Instrumentation; Dynamic Binary Modification; Binary Code Profiling; RISC-V;
D O I
10.1109/ISPASS57527.2023.00017
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:81 / 91
页数:11
相关论文
共 50 条
  • [41] Implementation and Performance Evaluation of Bit Manipulation Extension on CVA6 RISC-V
    Ijaz, Muhammad
    Saleem, Fatima
    Shahid, Umer
    Waheed, Saad
    Coulon, Jean-Roch
    PROCEEDINGS OF THE 20TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2023, CF 2023, 2023, : 385 - 386
  • [42] Evaluation of Variable Bit-Width Units in a RISC-V Processor for Approximate Computing
    Ndour, Genevieve
    Trevisan Jost, Tiago
    Molnos, Anca
    Durand, Yves
    Tisserand, Arnaud
    CF '19 - PROCEEDINGS OF THE 16TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS, 2019, : 344 - 349
  • [43] MIPS and RISC-V: Evaluating Virtualization Trade-off for Edge Devices
    Moratelli, Carlos
    Tiburski, Ramao
    Johann, Sergio F.
    Moura, Emanuel
    de Matos, Everton
    Hessel, Fabiano
    2022 IEEE 8TH WORLD FORUM ON INTERNET OF THINGS, WF-IOT, 2022,
  • [44] Towards Efficient Dynamic Binary Translation Optimizations Based on RISC Architectural Features
    Xie, WenBing
    Tang, DaGuo
    Qi, FengBin
    Chai, ZhiLei
    Luo, QiaoLing
    Lin, Yuan
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2024, 33 (06)
  • [45] Parallel Implementation of PIPO Block Cipher on 32-bit RISC-V Processor
    Kwak, YuJin
    Kim, YoungBeom
    Seo, Seog Chung
    INFORMATION SECURITY APPLICATIONS, 2021, 13009 : 183 - 193
  • [46] A trigonometric hardware acceleration in 32-bit RISC-V microcontroller with custom instruction
    Nguyen, Khai-Duy
    Kiet, Dang Tuan
    Hoang, Trong-Thuc
    Quynh, Nguyen Quang Nhu
    Tran, Xuan-Tu
    Pham, Cong-Kha
    IEICE ELECTRONICS EXPRESS, 2021, 18 (16):
  • [47] Design of a 32-bit, dual pipeline superscalar RISC-V processor on FPGA
    Gokulan, T.
    Muraleedharan, Akshay
    Varghese, Kuruvilla
    2020 23RD EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2020), 2020, : 340 - 343
  • [48] A RISC-V 32-bit microprocessor based on two-dimensional semiconductors
    Ao, Mingrui
    Zhou, Xiucheng
    Kong, Xinjie
    Gou, Saifei
    Chen, Sifan
    Dong, Xiangqi
    Zhu, Yuxuan
    Sun, Qicheng
    Zhang, Zhejia
    Zhang, Jinshu
    Zhang, Qiran
    Hu, Yan
    Sheng, Chuming
    Wang, Kaixuan
    Wang, Shuiyuan
    Wan, Jing
    Han, Jun
    Bao, Wenzhong
    Zhou, Peng
    NATURE, 2025, : 654 - 661
  • [49] A high-speed energy-efficient 64-bit reconfigurable binary adder
    Perri, S
    Corsonello, P
    Cocorullo, G
    IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2003, 11 (05) : 939 - 943
  • [50] MAMBO-V: Dynamic Side-Channel Leakage Analysis on RISC-V
    Wichelmann, Jan
    Peredy, Christopher
    Sieck, Florian
    Paetschke, Anna
    Eisenbarth, Thomas
    DETECTION OF INTRUSIONS AND MALWARE, AND VULNERABILITY ASSESSMENT, DIMVA 2023, 2023, 13959 : 3 - 23