Grain Size Determination for Parallel Processing

  • Authors:
  • Boontee Kruatrachue;Ted Lewis

  • Affiliations:
  • -;-

  • Venue:
  • IEEE Software
  • Year:
  • 1988

Quantified Score

Hi-index 0.01

Visualization

Abstract

A method called grain packing is proposed as a way to optimize parallel programs. A grain is defined as one or more concurrently executing program modules. A grain begins executing as soon as all of its inputs are available, and terminates only after all of its outputs have been computed. Grain packing reduces total execution time by balancing execution time and communication time. Used with an optimizing scheduler, it gives consistently better results than human-engineered scheduling and packing. The method is language-independent and is applicable to both extended serial and concurrent programming languages, including Occam, Fortran, and Pascal.