Skip to content

Commit

Permalink
slurm2sql: eff view: add cpu_s_used and gpu_s_used columns
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Aug 19, 2024
1 parent 7d1fcfb commit 3e96994
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slurm2sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,12 +877,14 @@ def infer_type(cd):
'max(NCPUS) AS NCPUS, '
'max(totalcpu)/max(cputime) AS CPUeff, ' # highest TotalCPU is for the whole allocation
'max(cputime) AS cpu_s_reserved, '
'max(totalcpu) AS cpu_s_used, '
'max(ReqMemNode) AS MemReq, '
'max(ReqMemNode*Elapsed) AS mem_s_reserved, ' # highest of any job
'max(MaxRSS) AS MaxRSS, '
'max(MaxRSS) / max(ReqMemNode) AS MemEff, '
'max(NGpus) AS NGpus, '
'max(NGpus)*max(Elapsed) AS gpu_s_reserved, '
'max(NGpus)*max(Elapsed)*max(GPUutil) AS gpu_s_used, '
'max(GPUutil) AS GPUeff, ' # Individual job with highest use (check this)
'max(GPUMem) AS GPUMem, '
'MaxDiskRead, '
Expand Down

0 comments on commit 3e96994

Please sign in to comment.