[slurm-users] Slurm Job Count Credit system

Songpon Srisawai songpons_pro at vistec.ac.th
Mon Jun 1 16:16:00 UTC 2020


Greatly appreciated for your help. I will try to implement following your suggestion.
On 1 Jun 2020 22:23 +0700, Renfro, Michael <Renfro at tntech.edu>, wrote:
Even without the slurm-bank system, you can enforce a limit on resources with a QOS applied to those users. Something like:

=====

sacctmgr add qos bank1 flags=NoDecay,DenyOnLimit
sacctmgr modify qos bank1 set grptresmins=cpu=1000

sacctmgr add account bank1
sacctmgr modify account name=bank1 set qos+=bank1

sacctmgr add user someuser account=bank1
sacctmgr modify user someuser set qos+=bank1

=====

You can do lots with a QOS, including limiting the number of simultaneous running jobs, simultaneous running/queued jobs, etc. Unfortunately, the NoDecay flag is only documented to work on GrpTRESMins, GrpWall, and UsageRaw, not on the job count.

So if you can live with limiting the number of simultaneous jobs instead of a total number of jobs per time period, that’s possible with QOS. Otherwise, maybe someone else will have an idea.

--
Mike Renfro, PhD / HPC Systems Administrator, Information Technology Services
931 372-3601 / Tennessee Tech University

On May 31, 2020, at 11:35 AM, Songpon Srisawai <songpons_pro at vistec.ac.th> wrote:

Hello all,

I’m Slurm beginner who try to implement our cluster. I would like to know whether there are any Slurm credit/token system plugin such as the number of job count.

I found Slurm-bank that deposit hour to an account. But, I would like to deposit the jobs token instead of hours.

Thanks for any recommendation
Songpon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20200601/76ebd6f5/attachment-0001.htm>


More information about the slurm-users mailing list