8 Analysing scheduling data

While Haizea is running, it collects data that can be analysed offline (accepted/rejected leases, waiting times, etc.). This data is saved to disk when Haizea stops running so, for now, this information is (in practice) only useful for simulation experiments. In the future, Haizea will save data periodically to disk so it can also be analysed online.

The information that is collected can be specified through a series of probes. For example, there is a best-effort probe that collects information relevant to best-effort leases, such as the time the lease had to wait in the queue until it was allocated resources. Haizea includes several probes (see Appendix [*]) and also allows you to write your own probes (see Chapter [*])

The file where the collected data will be saved and the probes to use are specified in the [accounting] section of the configuration file:

datafile: /var/tmp/haizea.dat
probes: ar best-effort immediate utilization

This file is not human-readable, and there are two ways of accessing its contents: using the haizea-convert-data command or programmatically through Python. Both are described in this chapter.

Borja Sotomayor 2009-12-17