Skip to main content

models.Usage

avg_cpu_mem_usage object

Average CPU memory usage(s) during lifetime of project

property name*number
avg_cpu_usage object

Average CPU usage(s) during lifetime of project

property name*number
avg_custom_stats object

Average statistics of misc custom metrics during lifetime of project. These metrics can be anything where average value is relevant

property name*number
avg_gpu_mem_usage object

Average GPU memory usage(s) during lifetime of project

property name*number
avg_gpu_usage object

Average GPU usage(s) during lifetime of project

property name*number
cluster_idstring

Identifier of the resource manager that owns compute unit. It is used to differentiate multiple clusters of same resource manager.

Example: slurm-0
groupnamestring

User group

Example: grp1
max_custom_stats object

Maximum statistics of misc custom metrics during lifetime of project. These metrics can be anything where maxoimum value is relevant

property name*number
min_custom_stats object

Minimum statistics of misc custom metrics during lifetime of project. These metrics can be anything where minimum value is relevant

property name*number
num_unitsinteger

Number of consumed units

Example: 145
projectstring

Account in batch systems, Tenant in Openstack, Namespace in k8s

Example: prj1
resource_managerstring

Name of the resource manager that owns project. Eg slurm, openstack, kubernetes, etc

Example: slurm
total_cpu_emissions_gms object

Total CPU emissions from source(s) in grams during lifetime of project

property name*number
total_cpu_energy_usage_kwh object

Total CPU energy usage(s) in kWh during lifetime of project

property name*number
total_custom_stats object

Total statistics of misc custom metrics during lifetime of project. These metrics can be anything where total value is relevant

property name*number
total_egress_stats object

Total Egress statistics of project

property name*number
total_gpu_emissions_gms object

Total GPU emissions from source(s) in grams during lifetime of project

property name*number
total_gpu_energy_usage_kwh object

Total GPU energy usage(s) in kWh during lifetime of project

property name*number
total_ingress_stats object

Total Ingress statistics of project

property name*number
total_io_read_stats object

Total IO read statistics during lifetime of project

property name*number
total_io_write_stats object

Total IO write statistics during lifetime of project

property name*number
total_time_seconds object

Different times in seconds consumed by the unit. This map must contain walltime, alloc_cputime, alloc_cpumemtime, alloc_gputime and alloc_gpumem_time keys.

property name*number
usernamestring

Username

Example: usr1
models.Usage
{
"avg_cpu_mem_usage": {
"global": 45.26
},
"avg_cpu_usage": {
"global": 70.12
},
"avg_custom_stats": {
"mem_bw_avg": 2545
},
"avg_gpu_mem_usage": {
"global": 45.26
},
"avg_gpu_usage": {
"global": 70.12
},
"cluster_id": "slurm-0",
"groupname": "grp1",
"max_custom_stats": {
"gpu_power_max": 454
},
"min_custom_stats": {
"host_pwr_min": 36
},
"num_units": 145,
"project": "prj1",
"resource_manager": "slurm",
"total_cpu_emissions_gms": {
"emaps_total": 3.09,
"owid_total": 5.22
},
"total_cpu_energy_usage_kwh": {
"total": 0.73
},
"total_custom_stats": {
"cycles_total": 23232323,
"instr_total": 454342323
},
"total_egress_stats": {
"bytes_total": 454342323,
"packets_total": 23232323
},
"total_gpu_emissions_gms": {
"emaps_total": 12.09,
"owid_total": 15.22
},
"total_gpu_energy_usage_kwh": {
"total": 5.39
},
"total_ingress_stats": {
"bytes_total": 8503405,
"packets_total": 43423
},
"total_io_read_stats": {
"bytes_total": 245000000,
"requests_total": 49423
},
"total_io_write_stats": {
"bytes_total": 12000000,
"requests_total": 13923
},
"total_time_seconds": {
"alloc_cpumemtime": 1000,
"alloc_cputime": 100,
"alloc_gpumemtime": 100,
"alloc_gputime": 100,
"walltime": 100
},
"username": "usr1"
}