• DocumentCode
    2999541
  • Title

    Different Approaches to Distributed Compilation

  • Author

    Gattermayer, Josef ; Tvrdik, Pavel

  • Author_Institution
    Fac. of Inf. Technol., Czech Tech. Univ. in Prague, Prague, Czech Republic
  • fYear
    2012
  • fDate
    21-25 May 2012
  • Firstpage
    1128
  • Lastpage
    1134
  • Abstract
    Source code compiling is a non-trivial task that requires many computing resources. As a software project grows, its build time increases and debugging on a single computer becomes more and more time consuming task. An obvious solution would be a dedicated cluster acting as a build farm, where developers can send their requests. But in most cases, this solution has a very low utilization of available computing resources which makes it very ineffective. Therefore, we have focused on non-dedicated clusters to perform distributed compilation, where we could use users´ computers as nodes of a build farm. We compare two different approaches: distcc, which is an open-source program to distribute compilation of C/C++ code between several computers on a network and Clondike, which is a universal peer-to-peer cluster that is being developed at the Czech Technical University in Prague. A very complex task able to test deeply both systems is a compilation of a Linux Kernel with many config options. We have run this task on a cluster with up to 20 computers and have measured computing times and CPU loads. In this paper, we will present the results of this experiment that indicate the scalability and utilization of given resources in both systems. We also discuss the penalty of a generic solution over a task-specific one.
  • Keywords
    distributed programming; program compilers; program debugging; workstation clusters; C code; C++ code; CPU loads; Clondike; Czech Technical University; Linux Kernel; Prague; computing resources; debugging; distributed compilation; nondedicated clusters; nontrivial task; open-source program; peer-to-peer cluster; software project; source code compiling; Computers; Kernel; Linux; Peer to peer computing; Servers; Testing; Time measurement; Cluster computing; distributed compiler; nondedicated cluster; scalability;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Parallel and Distributed Processing Symposium Workshops & PhD Forum (IPDPSW), 2012 IEEE 26th International
  • Conference_Location
    Shanghai
  • Print_ISBN
    978-1-4673-0974-5
  • Type

    conf

  • DOI
    10.1109/IPDPSW.2012.137
  • Filename
    6270763