arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.13429cs.LGcs.AI
收藏

分支预测作为强化学习问题:为什么、如何和案例研究

Branch Prediction as a Reinforcement Learning Problem: Why, How and Case Studies

Huawei Technologies Zurich Research Center(华为技术苏黎世研究中心);University of Edinburgh(爱丁堡大学)

Anastasios Zouzias, Kleovoulos Kalaitzidis, Boris Grot

摘要:

近年来,分支预测器(BP)的有效性停滞不前,分支预测器设计缺乏新的想法,需要在这一领域进行新的思考。本文认为,从强化学习(RL)的角度来看BP有助于系统推理和探索BP设计。我们描述了如何应用RL制定分支预测,现有的预测可以简洁地表示在这个配方,并研究两个基于RL的传统BP的变体。

英文摘要:

Recent years have seen stagnating improvements to branch predictor (BP) efficacy and a dearth of fresh ideas in branch predictor design, calling for fresh thinking in this area. This paper argues that looking at BP from the viewpoint of Reinforcement Learning (RL) facilitates systematic reasoning about, and exploration of, BP designs. We describe how to apply the RL formulation to branch predictors, show that existing predictors can be succinctly expressed in this formulation, and study two RL-based variants of conventional BPs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑