• DocumentCode
    3498140
  • Title

    Analysis of the execution time unpredictability caused by dynamic branch prediction

  • Author

    Engblom, Jakob

  • Author_Institution
    Dept. of Inf. Technol., Uppsala Univ., Sweden
  • fYear
    2003
  • fDate
    27-30 May 2003
  • Firstpage
    152
  • Lastpage
    159
  • Abstract
    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.
  • Keywords
    instruction sets; processor scheduling; program compilers; real-time systems; dynamic branch prediction; execution time analysis; microprocessor; real-time system; Clocks; Frequency; Hardware; Information analysis; Information technology; Microprocessors; Pipeline processing; Real time systems; Sun; Timing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Real-Time and Embedded Technology and Applications Symposium, 2003. Proceedings. The 9th IEEE
  • ISSN
    1545-3421
  • Print_ISBN
    0-7695-1956-3
  • Type

    conf

  • DOI
    10.1109/RTTAS.2003.1203047
  • Filename
    1203047