[slurm-users] Simple script to identify inefficient

Sternberger, Sven sven.sternberger at desy.de
Fri Nov 17 06:16:03 MST 2017


Hello!

When I started getting angry with jobs that required a lot of cpu resources, and then after that,
use only a fraction of it I wrote a small script which gives you a simple report of user,partiton, group or 
accounts ordered by the average efficieny or the amount of wasted cpu seconds of the related jobs.
It's in the end a simple sacct wrapper (130 lines python code), but maybe useful for you

Example:

# ./wasteReport.py --partition --start "11/01-00:00" --order Efficiency
partition:foo,Efficiency:59.1%,LostSeconds:627083206
partition:fee,Efficiency:60.6%,LostSeconds:138692564

# ./wasteReport.py --user --start "11/01-00:00" --order LostSeconds
user:foo,Efficiency:0.0%,LostSeconds:4160

..


Download:
https://github.com/sterni1971/wasteReport

cheers


Sven Sternberger
System Engineer
Tel.: 040/8998-4397
DESY IT



More information about the slurm-users mailing list