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_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
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_egress_stats object

Total Egress statistics of unit

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 unit

property name*number
total_io_read_stats object

Total IO read statistics during lifetime of unit

property name*number
total_io_write_stats object

Total IO write statistics during lifetime of unit

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_gpu_mem_usage": {
"global": 45.26
},
"avg_gpu_usage": {
"global": 70.12
},
"cluster_id": "slurm-0",
"groupname": "grp1",
"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_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"
}