mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-01 11:13:50 +02:00
Add more tagger rules
This commit is contained in:
parent
6f3e1ffbe3
commit
6c06450701
1
internal/tagger/apps/julia.txt
Normal file
1
internal/tagger/apps/julia.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
julia
|
22
internal/tagger/jobclasses/lowUtilization.json
Normal file
22
internal/tagger/jobclasses/lowUtilization.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "Low ressource utilization",
|
||||||
|
"tag": "lowutilization",
|
||||||
|
"parameters": ["job_min_duration_seconds"],
|
||||||
|
"metrics": ["flops_any", "mem_bw"],
|
||||||
|
"requirements": [
|
||||||
|
"job.exclusive == 1",
|
||||||
|
"job.duration > job_min_duration_seconds"
|
||||||
|
],
|
||||||
|
"variables": [
|
||||||
|
{
|
||||||
|
"name": "mem_bw_perc",
|
||||||
|
"expr": "1.0 - (mem_bw.avg / mem_bw.limits.peak)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "flops_any_perc",
|
||||||
|
"expr": "1.0 - (flops_any.avg / flops_any.limits.peak)"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"rule": "flops_any.avg < flops_any.limits.alert && mem_bw.avg < mem_bw.limits.alert",
|
||||||
|
"hint": "This job was detected as low utilization because the average flop rate {{.flops_any.avg}} falls below the threshold {{.flops_any.limits.alert}}."
|
||||||
|
}
|
@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"and": [
|
|
||||||
{
|
|
||||||
"in": [
|
|
||||||
"a40",
|
|
||||||
{
|
|
||||||
"var": "metaData.jobScript"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
">": [
|
|
||||||
{
|
|
||||||
"var": "statistics.clock.min"
|
|
||||||
},
|
|
||||||
2000
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user