Protean: Resource-efficient Instruction Prefetching

被引:0
|
作者
Hassan, Muhammad [1 ]
Park, Chang Hyun [1 ]
Black-Schaffer, David [1 ]
机构
[1] Uppsala Univ, Dept IT, Uppsala, Sweden
基金
欧洲研究理事会; 瑞典研究理事会;
关键词
D O I
10.1145/3631882.3631904
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Increases in code footprint and control flow complexity have made low-latency instruction fetch challenging. Dedicated Instruction Prefetchers (DIPs) can provide performance gains (up to 5%) for a subset of applications that are poorly served by today's ubiquitous Fetch-Directed Instruction Prefetching (FDIP). However, DIPs incur the significant overhead of in-core metadata storage (for all workloads) and energy and performance loss from excess prefetches (for many workloads), leading to 11% of workloads actually losing performance. This work addresses how to provide the benefits of a DIP without its costs when the DIP cannot provide a benefit. Our key insight is that workloads that benefit from DIPs can tolerate increased Branch Target Buffer (BTB) misses. This allows us to dynamically re-purpose the existing BTB storage between the BTB and the DIP. We train a simple performance counter based decision tree to select the optimal configuration at runtime, which allows us to achieve different energy/performance optimization goals. As a result, we pay essentially no area overhead when a DIP is needed, and can use the larger BTB when it is beneficial, or even power it off when not needed. We look at our impact on two groups of benchmarks: those where the right configuration choice can improve performance or energy and those where the wrong choice could hurt them. For the benchmarks with improvement potential, when optimizing for performance, we are able to obtain 86% of the oracle potential, and when optimizing for energy, 98% of the potential, both while avoiding essentially all performance and energy losses on the remaining benchmarks. This demonstrates that our technique is able to dynamically adapt to different performance/energy goals and obtain essentially all of the potential gains of DIP without the overheads they experience today.
引用
收藏
页数:13
相关论文
共 50 条
  • [1] Resource-efficient and sustainable
    Konstruktion, 2016, 68 (03):
  • [2] Software: Resource-efficient Development
    不详
    ATP MAGAZINE, 2021, (6-7): : 10 - 10
  • [3] Resource-efficient handling systems
    Brett, T.
    Heinrich, M.
    Seliger, G.
    WT Werkstattstechnik, 2012, 102 (09): : 603 - 608
  • [4] RESOURCE-EFFICIENT SEPARATION TRANSFORMER
    Della Libera, Luca
    Subakan, Cem
    Ravanelli, Mirco
    Cornell, Samuele
    Lepoutre, Frederic
    Grondin, Francois
    2024 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING, ICASSP 2024, 2024, : 761 - 765
  • [5] A resource-efficient event algebra
    Carlson, Jan
    Lisper, Bjorn
    SCIENCE OF COMPUTER PROGRAMMING, 2010, 75 (12) : 1215 - 1234
  • [6] A Case for Resource Efficient Prefetching in Multicores
    Khan, Muneeb
    Sandberg, Andreas
    Hagersten, Erik
    2014 43RD INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP), 2014, : 101 - 110
  • [7] A Case for Resource Efficient Prefetching in Multicores
    Khan, Muneeb
    Sandberg, Andreas
    Hagersten, Erik
    2014 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS), 2014, : 137 - 138
  • [8] Resource-efficient inference for particle physics
    Rousseau, David
    NATURE MACHINE INTELLIGENCE, 2021, 3 (08) : 656 - 657
  • [9] Resource-Efficient Byzantine Fault Tolerance
    Distler, Tobias
    Cachin, Christian
    Kapitza, Ruediger
    IEEE TRANSACTIONS ON COMPUTERS, 2016, 65 (09) : 2807 - 2819
  • [10] Experimental Resource-Efficient Entanglement Detection
    Saggio, Valeria
    Dimic, Aleksandra
    Greganti, Chiara
    Rozema, Lee A.
    Walther, Philip
    Dakic, Borivoje
    2020 CONFERENCE ON LASERS AND ELECTRO-OPTICS (CLEO), 2020,