A comparison of local and Gang Scheduling on a Beowulf cluster

Peter Strazdins*, John Uhlmann

*Corresponding author for this work

    Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

    20 Citations (Scopus)

    Abstract

    Gang Scheduling and related techniques are widely believed to be necessary for efficient job scheduling on distributed memory parallel computers. This is because they minimize context switching overheads and permit the parallel job currently running to progress at the fastest possible rate. However, in the case of cluster computers, and particularly those with COTS networks, these benefits can be outweighed in the multiple job time-sharing context by the loss the ability to utilize the CPU for other jobs when the current job is waiting for messages. Experiments on a Linux Beowulf cluster with 100 Mb fast Ethernet switches are made comparing the SCore buddy-based gang scheduling with local scheduling (provided by the Linux 2.4 kernel with MPI implemented over TCP/IP). Results for communication-intensive numerical applications on 16 nodes reveal that gang scheduling results in 'slowdowns ' up to a factor of two greater for 8 simultaneous jobs. This phenomenon is not due to any deficiencies in SCore but due to the relative costs of context switching versus message overhead, and we expect similar results will hold for any gang scheduling implementation. A performance analysis of local scheduling indicates that cache pollution due to context switching is more significant than the direct context switching overhead on the applications studied. When this is taken into account, local scheduling behaviour comes close to achieving ideal slowdowns for finer-grained computations such as Linpack. The performance models also indicate that similar trends are to be expected for clusters with faster networks.

    Original languageEnglish
    Title of host publication2004 IEEE International Conference on Cluster Computing, ICCC 2004
    Pages55-62
    Number of pages8
    DOIs
    Publication statusPublished - 2004
    Event2004 IEEE International Conference on Cluster Computing, ICCC 2004 - San Diego, CA, United States
    Duration: 20 Sept 200423 Sept 2004

    Publication series

    NameProceedings - IEEE International Conference on Cluster Computing, ICCC
    ISSN (Print)1552-5244

    Conference

    Conference2004 IEEE International Conference on Cluster Computing, ICCC 2004
    Country/TerritoryUnited States
    CitySan Diego, CA
    Period20/09/0423/09/04

    Fingerprint

    Dive into the research topics of 'A comparison of local and Gang Scheduling on a Beowulf cluster'. Together they form a unique fingerprint.

    Cite this