• DocumentCode
    1371619
  • Title

    Lazy task creation: a technique for increasing the granularity of parallel programs

  • Author

    Mohr, Eric ; Kranz, David A. ; Halstead, Robert H., Jr.

  • Author_Institution
    Dept. of Comput. Sci., Yale Univ., New Haven, CT, USA
  • Volume
    2
  • Issue
    3
  • fYear
    1991
  • fDate
    7/1/1991 12:00:00 AM
  • Firstpage
    264
  • Lastpage
    280
  • Abstract
    When a parallel algorithm is written naturally, the resulting program often produces tasks of a finer grain than an implementation can exploit efficiently. Two solutions to the granularity problem that combine parallel tasks dynamically at runtime are discussed. The simpler load-based inlining method, in which tasks are combined based on dynamic bad level, is rejected in favor of the safer and more robust lazy task creation method, in which tasks are created only retroactively as processing results become available. The strategies grew out of work on Mul-T, an efficient parallel implementation of Scheme, but could be used with other languages as well. Mul-T implementations of lazy task creation are described for two contrasting machines, and performance statistics that show the method´s effectiveness are presented. Lazy task creation is shown to allow efficient execution of naturally expressed algorithms of a substantially finer grain than possible with previous parallel Lisp systems
  • Keywords
    parallel algorithms; parallel languages; parallel programming; Mul-T; Scheme; dynamic bad level; granularity problem; naturally expressed algorithms; parallel Lisp systems; parallel algorithm; parallel implementation; parallel tasks; performance statistics; processing results; robust lazy task creation method; simpler load-based inlining method; Computer science; Concurrent computing; Costs; Parallel algorithms; Parallel processing; Partitioning algorithms; Program processors; Programming profession; Robustness; Statistics;
  • fLanguage
    English
  • Journal_Title
    Parallel and Distributed Systems, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    1045-9219
  • Type

    jour

  • DOI
    10.1109/71.86103
  • Filename
    86103