Skip to main content

task.parquet

task.parquet describes the state and resource use of each task over time.

A task gets a row at every change of its state, and at every sample while it runs. A task that is not running, for example because it is waiting to be scheduled, does not export samples. Several changes can happen at the same time, such as a task failing and being placed on another host. Each change gets its own row with the same timestamp, in the order in which they happened. Keep the order of the file when reading it: sorting by task_id and timestamp does not keep this order.

ColumnTypeUnitDescription
timestampint64msThe time of the row.
task_idint32The task, see meta/task.parquet.
host_idint32The host the task last ran on, or null if it has not been placed yet.
task_statestringPROVISIONING, RUNNING, PAUSED, FAILED, COMPLETED or TERMINATED.
cpu_usagefloatMHzThe CPU capacity the task uses. 0 when it does not run.
cpu_demandfloatMHzThe CPU capacity the task asks for. 0 when it does not run.
cpu_time_activeint64msThe total time the CPU was active for the task.
cpu_time_idleint64msThe total time the CPU was idle for the task.
cpu_time_stealint64msThe total time the task wanted to run, but no CPU capacity was available.
cpu_time_lostint64msThe total CPU time lost to interference.
gpu_usagefloatMHzThe GPU capacity the task uses.
gpu_demandfloatMHzThe GPU capacity the task asks for.
gpu_time_activeint64msThe total time the GPU was active for the task.
gpu_time_idleint64msThe total time the GPU was idle for the task.
gpu_time_stealint64msThe total time the task wanted to run, but no GPU capacity was available.
gpu_time_lostint64msThe total GPU time lost to interference.
num_failuresint64countHow often the task was interrupted by a host failure.
num_pausesint64countHow often the task was paused by a task stopper.
schedule_timeint64msThe last time the task was placed on a host, or null if it has never been placed.
finish_timeint64msThe last time the task completed, failed or was terminated, or null.
scheduling_delayint64msThe total time the task waited to be scheduled.
failure_delayint64msThe time the task lost because of failures.
checkpoint_delayint64msThe time the task spent creating checkpoints.

The GPU columns are only written when the topology has GPUs.