Compile-time minimisation of load imbalance in loop nests

Rizos Sakellariou, John R. Gurd

    Research output: Chapter in Book/Conference proceedingConference contribution

    Abstract

    Parallelising compilers typically need some performance estimation capability in order to evaluate the trade-offs between different transformations. Such a capability requires sophisticated techniques for analysing the program and providing quantitative estimates to the compiler's internal cost model. Making use of techniques for symbolic evaluation of the number of iterations in a loop, this paper describes a novel compile-time scheme for partitioning loop nests in such a way that load imbalance is minimised. The scheme is based on a property of the class of canonical loop nests, namely that, upon partitioning into essentially equal-sized partitions along the index of the outermost loop, these can be combined in such a way as to achieve a balanced distribution of the computational load in the loop nest as-a-whole. A technique for handling non-canonical loop nests is also presented; essentially, this makes it possible to create a load-balanced partition for any loop nest which consists of loops whose bounds are linear functions of the loop indices. Experimental results on a virtual shared memory parallel computer demonstrate that the proposed scheme can achieve better performance than other compile-time schemes.
    Original languageEnglish
    Title of host publicationProceedings of the International Conference on Supercomputing|Proc Int Conf Supercomputing
    Place of PublicationNew York, NY, United States
    PublisherAssociation for Computing Machinery
    Pages277-284
    Number of pages7
    DOIs
    Publication statusPublished - 1997
    EventProceedings of the 1997 International Conference on Supercomputing - Vienna, Austria
    Duration: 1 Jul 1997 → …
    http://dblp.uni-trier.de/db/conf/ics/ics1997.html#SakellariouG97http://dblp.uni-trier.de/rec/bibtex/conf/ics/SakellariouG97.xmlhttp://dblp.uni-trier.de/rec/bibtex/conf/ics/SakellariouG97

    Conference

    ConferenceProceedings of the 1997 International Conference on Supercomputing
    CityVienna, Austria
    Period1/07/97 → …
    Internet address

    Fingerprint

    Dive into the research topics of 'Compile-time minimisation of load imbalance in loop nests'. Together they form a unique fingerprint.

    Cite this