Skip to main content

Output

Running OpenDC results in five output files:

  1. Task contains metrics related to the jobs being executed.
  2. Host contains all metrics related to the hosts on which jobs can be executed.
  3. Power Source contains all metrics related to the power sources that power the hosts.
  4. Battery contains all metrics related to the batteries that power the hosts.
  5. Service contains metrics describing the overall performance.

User can define which files, and features are to be included in the output in the experiment file (see ExportModel).

Task

The task output file, contains all metrics of related to the tasks that are being executed.

MetricDatatypeUnitSummary
timestampint64msTimestamp of the sample since the start of the workload.
timestamp_absoluteint64msThe absolute timestamp based on the given workload.
task_idbinarystringThe id of the task determined during runtime.
task_namebinarystringThe name of the task provided by the Trace.
host_namebinarystringThe id of the host on which the task is hosted or null if it has no host.
mem_capacityint64MbThe memory required by the task.
cpu_countint32countThe number of CPUs required by the task.
cpu_limitdoubleMHzThe capacity of the CPUs of Host on which the task is running.
cpu_usagedoubleMHzThe cpu capacity provided by the CPU to the task.
cpu_demanddoubleMHzThe cpu capacity demanded of the CPU by the task.
cpu_time_activeint64msThe duration that a CPU was active in the task.
cpu_time_idleint64msThe duration that a CPU was idle in the task.
cpu_time_stealint64msThe duration that a vCPU wanted to run, but no capacity was available.
cpu_time_lostint64msThe duration of CPU time that was lost due to interference.
uptimeint64msThe uptime of the host since last sample.
downtimeint64msThe downtime of the host since last sample.
num_failuresint64countHow many times was a task interrupted due to machine failure.
num_pausesint64msHow many times was a task interrupted due to the TaskStopper.
submission_timeint64msThe time for which the task was enqueued for the scheduler.
schedule_timeint64msThe time at which task got booted.
finish_timeint64msThe time at which the task was finished (either completed or terminated).
task_stateStringTaskStateThe current state of the Task.

Host

The host output file, contains all metrics of related to the hosts that are running.

MetricDataTypeUnitSummary
timestampint64msTimestamp of the sample.
timestamp_absoluteint64msThe absolute timestamp based on the given workload.
host_namebinarystringThe name of the host.
cluster_namebinarystringThe name of the cluster that this host is part of.
cpu_countint32countThe number of cores in this host.
mem_capacityint64MbThe amount of available memory.
tasks_terminatedint32countThe number of tasks that are in a terminated state.
tasks_runningint32countThe number of tasks that are in a running state.
tasks_errorint32countThe number of tasks that are in an error state.
tasks_invalidint32countThe number of tasks that are in an unknown state.
cpu_capacitydoubleMHzThe total capacity of the CPUs in the host.
cpu_usagedoubleMHzThe total CPU capacity provided to all tasks on this host.
cpu_demanddoubleMHzThe total CPU capacity demanded by all tasks on this host.
cpu_utilizationdoubleratioThe CPU utilization of the host. This is calculated by dividing the cpu_usage, by the cpu_capacity.
cpu_time_activeint64msThe duration that a CPU was active in the host.
cpu_time_idleint64msThe duration that a CPU was idle in the host.
cpu_time_stealint64msThe duration that a vCPU wanted to run, but no capacity was available.
cpu_time_lostint64msThe duration of CPU time that was lost due to interference.
power_drawdoubleWattThe current power draw of the host.
energy_usagedoubleJoule (Ws)The total energy consumption of the host since last sample.
embodied_carbondoublegramThe total embodied carbon emitted since the last sample.
uptimeint64msThe uptime of the host since last sample.
downtimeint64msThe downtime of the host since last sample.
boot_timeint64msThe time a host got booted.
boot_time_absoluteint64msThe absolute time a host got booted.

Power Source

The power source output file, contains all metrics of related to the power sources.

MetricDataTypeUnitSummary
timestampint64msTimestamp of the sample.
timestamp_absoluteint64msThe absolute timestamp based on the given workload.
source_namebinarystringThe name of the power source.
cluster_namebinarystringThe name of the cluster that this power source is part of.
power_drawdoubleWattThe current power draw of the host.
energy_usagedoubleJoule (Ws)The total energy consumption of the host since last sample.
carbon_intensitydoublegCO2/kWThe amount of carbon that is emitted when using a unit of energy.
carbon_emissiondoublegramThe amount of carbon emitted since the previous sample.

Battery

The host output file, contains all metrics of related batteries.

MetricDataTypeUnitSummary
timestampint64msTimestamp of the sample.
timestamp_absoluteint64msThe absolute timestamp based on the given workload.
battery_namebinarystringThe name of the battery.
cluster_namebinarystringThe name of the cluster that this battery is part of.
power_drawdoubleWattThe current power draw of the host.
energy_usagedoubleJoule (Ws)The total energy consumption of the host since last sample.
carbon_intensitydoublegCO2/kWThe amount of carbon that is emitted when using a unit of energy.
embodied_carbondoublegramThe total embodied carbon emitted since the last sample.
chargedoubleJouleThe current charge of the battery.
capacitydoubleJouleThe total capacity of the battery.
battery_stateStringBatteryStateThe current state of the battery.

Service

The service output file, contains metrics providing an overview of the performance.

MetricDataTypeUnitSummary
timestampint64msTimestamp of the sample
timestamp_absoluteint64msThe absolute timestamp based on the given workload
hosts_upint32countThe number of hosts that are up at this instant.
hosts_downint32countThe number of hosts that are down at this instant.
tasks_totalint32countThe number of tasks seen by the service.
tasks_pendingint32countThe number of tasks that are pending to be scheduled.
tasks_activeint32countThe number of tasks that are currently active.
tasks_terminatedint32countThe number of tasks that were terminated.
tasks_completedint32countThe number of tasks that finished successfully