A Principal Factor of Performance in Decoupled Front-End

被引:0
作者
Degawa, Yuya [1 ]
Koizumi, Toru [1 ,2 ]
Nakamura, Tomoki [1 ]
Shioya, Ryota [1 ]
Kadomoto, Junichiro [1 ]
Irie, Hidetsugu [1 ]
Sakai, Shuichi [1 ]
机构
[1] Univ Tokyo, Grad Sch Informat Sci & Technol, Tokyo 1138656, Japan
[2] Nagoya Inst Technol, Dept Comp Sci & Engn, Nagoya 4668555, Japan
关键词
instruction fetch; modeling techniques;
D O I
10.1587/transinf.2023PAP0011
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
One of the performance bottlenecks of a processor is the front-end that supplies instructions. Various techniques, such as cache re-placement algorithms and hardware prefetching, have been investigated to facilitate smooth instruction supply at the front-end and to improve processor performance. In these approaches, one of the most important factors has been the reduction in the number of instruction cache misses. By using the number of instruction cache misses or derived factors, previous studies have explained the performance improvements achieved by their proposed methods. However, we found that the number of instruction cache misses does not always explain performance changes well in modern processors. This is because the front-end in modern processors handles subsequent in-struction cache misses in overlap with earlier ones. Based on this observa-tion, we propose a novel factor: the number of miss regions. We define a region as a sequence of instructions from one branch misprediction to the next, while we define a miss region as a region that contains one or more instruction cache misses. At the boundary of each region, the pipeline is flushed owing to a branch misprediction. Thus, cache misses after this boundary are not handled in overlap with cache misses before the bound-ary. As a result, the number of miss regions is equal to the number of cache misses that are processed without overlap. In this paper, we demonstrate that the number of miss regions can well explain the variation in perfor-mance through mathematical models and simulation results. The results show that the model explains cycles per instruction with an average error of 1.0% and maximum error of 4.1% when applying an existing prefetcher to the instruction cache. The idea of miss regions highlights that instruction cache misses and branch mispredictions interact with each other in processors with a decoupled front-end. We hope that considering this interaction will motivate the development of fast performance estimation methods and new microarchitectural methods.
引用
收藏
页码:1960 / 1968
页数:9
相关论文
共 33 条
[1]   Exploring Predictive Replacement Policies for Instruction Cache and Branch Target Buffer [J].
Ajorpaz, Samira Mirbagher ;
Garza, Elba ;
Jindal, Sangam ;
Jimenez, Daniel A. .
2018 ACM/IEEE 45TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA), 2018, :519-532
[2]   Divide and Conquer Frontend Bottleneck [J].
Ansari, Ali ;
Lotfi-Kamran, Pejman ;
Sarbazi-Azad, Hamid .
2020 ACM/IEEE 47TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2020), 2020, :65-78
[3]   Accurate and Fast Performance Modeling of Processors with Decoupled Front-end [J].
Degawa, Yuya ;
Koizumi, Toru ;
Nakamura, Tomoki ;
Shioya, Ryota ;
Kadomoto, Junichiro ;
Irie, Hidetsugu ;
Sakai, Shuichi .
2021 IEEE 39TH INTERNATIONAL CONFERENCE ON COMPUTER DESIGN (ICCD 2021), 2021, :88-92
[4]  
Ferdman M, 2011, INT SYMP MICROARCH, P152
[5]   Clearing the Clouds A Study of Emerging Scale-out Workloads on Modern Hardware [J].
Ferdman, Michael ;
Adileh, Almutaz ;
Kocberber, Onur ;
Volos, Stavros ;
Alisafaee, Mohammad ;
Jevdjic, Djordje ;
Kaynak, Cansu ;
Popescu, Adrian Daniel ;
Ailamaki, Anastasia ;
Falsafi, Babak .
ACM SIGPLAN NOTICES, 2012, 47 (04) :37-47
[6]  
Fu WJ, 2018, 2018 3RD IEEE INTERNATIONAL CONFERENCE ON INTEGRATED CIRCUITS AND MICROSYSTEMS (ICICM), P380, DOI 10.1109/ICAM.2018.8596462
[7]  
github, Champsim
[8]   Rebasing Instruction Prefetching: An Industry Perspective [J].
Ishii, Yasuo ;
Lee, Jaekyu ;
Nathella, Krishnendra ;
Sunwoo, Dam .
IEEE COMPUTER ARCHITECTURE LETTERS, 2020, 19 (02) :147-150
[9]  
Ji KC, 2017, DES AUT TEST EUROPE, P55, DOI 10.23919/DATE.2017.7926958
[10]   Profiling a warehouse-scale computer [J].
Kanev, Svilen ;
Darago, Juan Pablo ;
Hazelwood, Kim ;
Ranganathan, Parthasarathy ;
Moseley, Tipp ;
Wei, Gu-Yeon ;
Brooks, David .
2015 ACM/IEEE 42ND ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA), 2015, :158-169