• DocumentCode
    1564905
  • Title

    An adaptive algorithm selection framework

  • Author

    Yu, Hao ; Zhang, Dongmin ; Rauchwerger, Lawrence

  • Author_Institution
    IBM Thomas J. Watson Res. Center, Yorktown Heights, NY, USA
  • fYear
    2004
  • Firstpage
    278
  • Lastpage
    289
  • Abstract
    Irregular and dynamic memory reference patterns can cause performance variations for low level algorithms in general and for parallel algorithms in particular. We present an adaptive algorithm selection framework which can collect and interpret the inputs of a particular instance of a parallel algorithm and select the best performing one from an existing library. We present the dynamic selection of parallel reduction algorithms. First we introduce a set of high-level parameters that can characterize different parallel reduction algorithms. Then we describe an offline, systematic process to generate predictive models, which can be used for run-time algorithm selection. Our experiments show that our framework: (a) selects the most appropriate algorithms in 85% of the cases studied, (b) overall delivers 98% of the optimal performance, (c) adaptively selects the best algorithms for dynamic phases of a running program (resulting in performance improvements otherwise not possible), and (d) adapts to the underlying machine architecture (tested on IBM Regatta and HP V-Class systems).
  • Keywords
    optimising compilers; parallel algorithms; parallel machines; storage allocation; adaptive algorithm selection framework; dynamic memory reference patterns; irregular memory reference patterns; parallel reduction algorithms; parallelising compilers; predictive models; run-time algorithm selection; Adaptive algorithm; Heuristic algorithms; Libraries; Optimizing compilers; Parallel algorithms; Predictive models; Program processors; Programming profession; Runtime; Sorting;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel Architecture and Compilation Techniques, 2004. PACT 2004. Proceedings. 13th International Conference on
  • ISSN
    1089-795X
  • Print_ISBN
    0-7695-2229-7
  • Type

    conf

  • DOI
    10.1109/PACT.2004.1342561
  • Filename
    1342561