Table of Contents

multifactor priority plugin

basic setup

PriorityParameters      = (null)
PriorityDecayHalfLife   = 14-00:00:00
PriorityCalcPeriod      = 00:05:00
PriorityFavorSmall      = No
PriorityFlags           = FAIR_TREE
PriorityMaxAge          = 14-00:00:00
PriorityUsageResetPeriod = NONE
PriorityType            = priority/multifactor
PriorityWeightAge       = 1000
PriorityWeightFairShare = 1000
PriorityWeightJobSize   = 1000
PriorityWeightPartition = 1000
PriorityWeightQOS       = 1000
PriorityWeightTRES      = (null)
scontrol show config |grep -i prio

FAIR_TREE


sshare

sacctmgr modify account vsctest set RawUsage=0

priority calculation

PRIORITY_MF =  AGE + FAIRSHARE + JOBSIZE + PARTITION + QOS + TRES
PRIORITY = PRIORITY_MF - NICE

nice

sprio

Only for pending jobs:

sprio -l

Set priority explicitly (overrides nice and multifactor):

scontrol update job <job_id> priority=1

Restore multifactor:

cgroups plugin