Could you give me an idea of what your partition and qos settings are?  I've 
tried the following and I'm getting odd results:

slurm.conf
PreemptType: preempt/qos
PreemptMode: 'SUSPEND,GANG'
PreemptExemptTime: '00:00:00'

Partitions:
PartitionName=DEFAULT OverSubscribe=FORCE:1 Nodes=slurm[2-4]
PartitionName=active Default=YES QOS=normal
PartitionName=hipri Default=NO QOS=expedite

QOS:
sacctmgr -i modify qos where name=normal set PreemptExemptTime=00:03:00 
PreemptMode=SUSPEND
sacctmgr -i modify qos where name=expedite set PreemptExemptTime=-1 
PreemptMode=OFF

I took these settings directly from the google group I linked before, and I'm 
seeing what he's seeing...that no preemption happens.  What I see is that, even 
if a job from "active" is already running, slurm will let me submit jobs from 
hipri to take up resources as though the active job wasn't there.  In other 
words, there's some time sharing going on, even though the jobs are different 
partitions.  The online docs indicate that jobs from different partitions 
should NOT be time sharing.  I also do not see the "active" job getting 
preempted once it has run through its preempexempttime.  It never gets 
preempted.

Thanks.

Rob


________________________________
From: slurm-users <slurm-users-boun...@lists.schedmd.com> on behalf of 
Christopher Samuel <ch...@csamuel.org>
Sent: Tuesday, March 7, 2023 3:40 PM
To: slurm-users@lists.schedmd.com <slurm-users@lists.schedmd.com>
Subject: Re: [slurm-users] PreemptExemptTime

On 3/7/23 6:46 am, Groner, Rob wrote:

> Over global settings are PreemptMode=SUSPEND,GANG and
> PreemptType=preempt/partition_prio.  We have a high priority partition
> that nothing should ever preempt, and an open partition that is always
> preemptable.  In between is a burst partition.  It can be preempted if
> the high priority partition needs the resources.  That's the partition
> we'd like to guarantee a 1 hour run time on.  Looking at the sacctmgr
> man page, it gives this info on QOS

Just a quick comment, here you're talking about both partitions and
QOS's with respect to preemption, I think for this you need to pick just
one of those options and only use those configs. For instance we just
use QOS's for preemption and our exempt time works in that case.

Hope this helps!

All the best,
Chris
--
Chris Samuel  :  
https://nam10.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.csamuel.org%2F&data=05%7C01%7Crug262%40psu.edu%7C0ed8f546e70843e7266208db1f4c5471%7C7cf48d453ddb4389a9c1c115526eb52e%7C0%7C0%7C638138184919726959%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=md1MaA%2FIj%2Fb%2B27e7JLkVwSY5IUSVnsJIdx6PADl0JF4%3D&reserved=0
  :  Berkeley, CA, USA


Reply via email to