diff --git a/internal/tagger/apps/julia.txt b/internal/tagger/apps/julia.txt new file mode 100644 index 0000000..9146f2b --- /dev/null +++ b/internal/tagger/apps/julia.txt @@ -0,0 +1 @@ +julia diff --git a/internal/tagger/jobclasses/lowUtilization.json b/internal/tagger/jobclasses/lowUtilization.json new file mode 100644 index 0000000..9613b06 --- /dev/null +++ b/internal/tagger/jobclasses/lowUtilization.json @@ -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}}." +} diff --git a/internal/tagger/rules.json b/internal/tagger/rules.json deleted file mode 100644 index c88afb4..0000000 --- a/internal/tagger/rules.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "and": [ - { - "in": [ - "a40", - { - "var": "metaData.jobScript" - } - ] - }, - { - ">": [ - { - "var": "statistics.clock.min" - }, - 2000 - ] - } - ] - } - \ No newline at end of file