Using interaction costs for microarchitectural bottleneck analysis
Using interaction costs for microarchitectural bottleneck analysis
复制标题
使用交互成本进行微架构瓶颈分析
DOI:
--
复制
发表时间:
2003
期刊:
影响因子:
--
通讯作者:
C. Newburn
中科院分区:
文献类型:
--
作者:
Brian A. Fields;Rastislav Bodík;M. Hill;C. Newburn
Attacking bottlenecks in modern processors is difficult because many microarchitectural events overlap with each other. This parallelism makes it difficult to both: (a) assign a cost to an event (e.g., to one of two overlapping cache misses); and (b) assign blame for each cycle (e.g., for a cycle where many, overlapping resources are active). This paper introduces a new model for understanding event costs to facilitate processor design and optimization. First, we observe that everything in a machine (instructions, hardware structures, events) can interact in only one of two ways (in parallel or serially). We quantify these interactions by defining interaction cost, which can be zero (independent, no interaction), positive (parallel), or negative (serial). Second, we illustrate the value of using interaction costs in processor design and optimization. Finally, we propose performance-monitoring hardware for measuring interaction costs that is suitable for modern processors.