• DocumentCode
    1659238
  • Title

    Improving speculative thread-level parallelism through module run-length prediction

  • Author

    Warg, Fredrik ; Stenström, Per

  • Author_Institution
    Dept. of Comput. Eng., Chalmers Univ. of Technol., Goteborg, Sweden
  • fYear
    2003
  • Abstract
    Exploiting speculative thread-level parallelism across modules, e.g., methods, procedures, or functions, have shown promise. However, misspeculations and task creation overhead are known to adversely impact the speedup if too many small modules are executed speculatively. Our approach to reduce the impact of these overheads is to disable speculation on modules with a run-length below a certain threshold. We first confirm that if speculation is disabled on modules with an execution time - or run-length - shorter than a threshold comparable to the overheads, we obtain nearly as high speedup as if the overhead was zero. For example, if the overhead is 200 cycles and the run-length threshold is 500 cycles, six out of the nine applications we ran enjoyed nearly as high speedup as were the overhead zero. We then propose a mechanism by which the run-length can be predicted at run-time based on previous invocations of the module. This simple predictor achieves an accuracy between 83% and 99%. Finally, our run-length predictor is shown to improve the efficiency of module-level speculation by preventing modules with short run-lengths from occupying precious processing resources.
  • Keywords
    multi-threading; performance evaluation; resource allocation; execution time; misspeculations; module run-length prediction; module-level speculation; processing resources; run-length threshold; speculative thread-level parallelism; speedup; task creation overhead; Accuracy; Concurrent computing; Data mining; Hardware; Parallel processing; Proposals; Radio access networks; Runtime; Switches; Yarn;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Processing Symposium, 2003. Proceedings. International
  • ISSN
    1530-2075
  • Print_ISBN
    0-7695-1926-1
  • Type

    conf

  • DOI
    10.1109/IPDPS.2003.1213089
  • Filename
    1213089