[Simgrid-user] [ANN] Hubble, a simulator of the Hydra/Nix build system
ludovic.courtes at inria.fr
Mon Sep 13 18:36:39 CEST 2010
I’ve been using SimGrid in Hubble, a simulator of the Hydra/Nix build
tools , as part of my work in the Cépage team at INRIA Bordeaux
Nix is a build tool that forces users to provide a complete description
of the dependencies required for a given build action. It is used
notably to build a GNU/Linux distribution, where the dependencies are
described down to the compiler’s compiler.
Hydra is a continuous build tool built on top of Nix. It is currently
deployed on a homogeneous cluster at TU Delft, which can optionally use
an Amazon EC2 instance .
Hubble aims to simulate scheduling algorithms of build tasks with
Hydra/Nix using SimGrid. Its input is a large DAG of build tasks
(currently 2,619 nodes and 17,328 edges) along with their execution time
and the size of the build output, collected on the TU Delft cluster.
We hope to use it mainly to:
* Compare the efficiency of several scheduling algorithms in terms of
total build time and/or amount of data transferred.
* Compare these algorithms on different platforms, ranging from small
homogeneous clusters to large heterogeneous nodes.
* Devise specific scheduling heuristics, if the need arises.
Hubble is written in Guile Scheme  and uses the SimDAG API. It
implements a dynamic greedy scheduling algorithm. It simulates the “Nix
store”, which is a build cache local to each compute node.
Communication tasks are created on-the-fly when the output of a build
task is needed and not available in the local cache.
The greedy scheduling algorithm is parametrized by a function to select
the next task to schedule among a set of ready tasks. There are
currently two options available: select the first ready task, or select
the ready task that has the highest HEFT upward rank. We plan to
experiment with other heuristics.
Hubble is available under the GPLv3 at:
 The Hydra instance at TU Delft is accessible at <http://hydra.nixos.org/>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the Simgrid-user