[slurm-users] History of pending jobs

42 views
Skip to first unread message

Glenn (Gedaliah) Wolosh

unread,
Jul 30, 2021, 2:42:44 PM7/30/21
to slurm...@lists.schedmd.com
I'm interested on getting an idea how long jobs were pending in a particular partition. Is there any magic to sreport or sacct that can generate this info.

I could also use something like:"sreport cluster utilization" broken down by partition.

Any help would be appreciated.



NJIT logo
Glenn (Gedaliah) Wolosh, Ph.D.
Ass't Director Research Software and Cloud Computing
Acad & Research Computing Systems
gwo...@njit.edu • (973) 596-5437

A Top 100 National University
U.S. News & World Report





Fulcomer, Samuel

unread,
Jul 30, 2021, 2:56:47 PM7/30/21
to Slurm User Community List
XDMoD can do that for you, but bear in mind that wait/pending time by itself may not be particularly useful.

Consider the extreme scenario in which a user is only allowed to use one node at a time, but submits a thousand one-day jobs. Without any other competition for resources, the average wait/pending time would be five hundred days.

Ole Holm Nielsen

unread,
Jul 30, 2021, 3:35:50 PM7/30/21
to slurm...@lists.schedmd.com
On 30-07-2021 20:42, Glenn (Gedaliah) Wolosh wrote:
> I'm interested on getting an idea how long jobs were pending in a
> particular partition. Is there any magic to sreport or sacct that can
> generate this info.
>
> I could also use something like:"sreport cluster utilization" broken
> down by partition.

The "topreports" and "slurmacct" tools let you specify partitions, and
also report the average waiting time in the queue, for users and groups:
https://github.com/OleHolmNielsen/Slurm_tools/tree/master/slurmacct

I hope this helps.

/Ole

Reply all
Reply to author
Forward
0 new messages