Analysis of the execution time unpredictability caused by dynamic branch prediction
Analysis of the execution time unpredictability caused by dynamic branch prediction
复制标题
动态分支预测引起的执行时间不可预测性分析
DOI:
--
复制
发表时间:
2003
期刊:
影响因子:
--
通讯作者:
Jakob Engblom
中科院分区:
文献类型:
--
作者:
Jakob Engblom
This paper investigates how dynamic branch prediction in a microprocessor affects the predictability of execution time for software running on that processor. By means of experiments on a number of real processors employing various forms of branch prediction, we evaluate the impact of branch predictors on execution time predictability. The results indicate that dynamic branch predictors give a high and hard-to-predict variation in the execution time of even very simple loops, and that the execution time effects of branch mispredictions can be very large relative to the execution time of regular instructions. We have observed some cases where executing more iterations of a loop actually take less time than executing fewer iterations, due to the effect of dynamic branch predictors. We conclude that current dynamic branch predictions schemes are not suitable for use in real-time systems where execution time predictability is desired.