分支可预测性的工作负载特征化
Workload Characterization for Branch Predictability
AI总结:
本文提出基于工作负载的分支预测准确性指标,通过分析分支工作集大小和可预测性,研究其与现代分支预测器准确性的关系。
摘要:
条件分支预测通过预测条件分支指令的可能方向来支持指令级并行提取。分支预测是一个模式识别问题,它学习将上下文映射到分支结果的映射。准确的预测器可以减少在错误路径上执行的指令数量,从而提高性能和能耗效率。在本文中,我们提出了一种用于分支预测的工作负载特征化方法。我们提出了两个新的基于工作负载的分支预测准确性指标——分支工作集大小和分支可预测性。这些参数与现代分支预测方案(如TAGE和感知器)的误预测率高度相关。我们定义轨迹的分支工作集为一组最频繁出现的分支上下文,即分支地址及其关联的全局和局部历史的三元组。我们对每个轨迹分析分支工作集的大小和可预测性,以研究其与现代分支预测器准确性的关系。我们对2,451个工作负载轨迹进行了特征化,将其划分为七个分支工作集大小和九个可预测性类别。我们进一步探讨了预测准确性来源以及现代分支预测器偏好的工作负载类别。
英文摘要:
Conditional branch prediction predicts the likely direction of a conditional branch instruction to support ILP extraction. Branch prediction is a pattern recognition problem that learns mappings between a context to the branch outcome. An accurate predictor reduces the number of instructions executed on the wrong path resulting in an improvement of performance and energy consumption. In this paper, we present a workload characterization methodology for branch prediction. We propose two new workload-driven branch prediction accuracy identifiers -- branch working set size and branch predictability. These parameters are highly correlated with misprediction rates of modern branch prediction schemes (e.g. TAGE and perceptron). We define the branch working set of a trace as a group of most frequently occurring branch contexts, i.e. the 3-part tuple of branch address, and associated global and local history. We analyze the branch working set's size and predictability on a per-trace basis to study its relationship with a modern branch predictor's accuracy. We have characterized 2,451 workload traces into seven branch working set size and nine predictability categories after analyzing their branch behavior. We present further insights into the source of prediction accuracy and favored workload categories for modern branch predictors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。