Add more tagger rules

This commit is contained in:
Jan Eitzinger 2025-06-24 06:52:21 +02:00
parent 6f3e1ffbe3
commit 6c06450701
3 changed files with 23 additions and 21 deletions

View File

@ -0,0 +1 @@
julia

View 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}}."
}

View File

@ -1,21 +0,0 @@
{
"and": [
{
"in": [
"a40",
{
"var": "metaData.jobScript"
}
]
},
{
">": [
{
"var": "statistics.clock.min"
},
2000
]
}
]
}