| Summary: | preemption question | ||
|---|---|---|---|
| Product: | Slurm | Reporter: | Jeff Haferman <jlhaferm> |
| Component: | Scheduling | Assignee: | Director of Support <support> |
| Status: | RESOLVED INFOGIVEN | QA Contact: | |
| Severity: | 4 - Minor Issue | ||
| Priority: | --- | ||
| Version: | 20.02.5 | ||
| Hardware: | Linux | ||
| OS: | Linux | ||
| Site: | NPS HPC | Slinky Site: | --- |
| Alineos Sites: | --- | Atos/Eviden Sites: | --- |
| Confidential Site: | --- | Coreweave sites: | --- |
| Cray Sites: | --- | DS9 clusters: | --- |
| Google sites: | --- | HPCnow Sites: | --- |
| HPE Sites: | --- | IBM Sites: | --- |
| NOAA SIte: | --- | NoveTech Sites: | --- |
| Nvidia HWinf-CS Sites: | --- | OCF Sites: | --- |
| Recursion Pharma Sites: | --- | SFW Sites: | --- |
| SNIC sites: | --- | Tzag Elita Sites: | --- |
| Linux Distro: | --- | Machine Name: | |
| CLE Version: | Version Fixed: | ||
| Target Release: | --- | DevPrio: | --- |
| Emory-Cloud Sites: | --- | ||
|
Description
Jeff Haferman
2022-05-16 18:59:07 MDT
Based on what what you have described here, it sounds like you want to use something called the "Condo Model." Bug#1032Comment#1 This example uses Node Weights, Partition Priorities, and an ACL on higher priority partitions. In your case, you could specify the whole node range in the default queue, and have the 2 other nodes in the high priority queue. Here is a very basic example of what I think you are wanting: PreemptMode=requeue PreemptType=preempt/partition_prio PartitionName=hirpio Nodes=tux[15-16] PriorityTier=2 AllowGroups=PI_B PartitionName=DEFAULT Nodes=tux[12-16] PriorityTier=1 Default=YES AllowGroups=PI_A,PI_B The above snippet will allow the use of all of the nodes 12-16, while filling 12-14 first, but only if we specify node weights (not shown above). https://slurm.schedmd.com/slurm.conf.html#OPT_Weight The node weights determine which nodes to give precedence to for job placement, the priority tiers are for job preemption. In the above example, Group PI_B can preempt jobs running in the DEFAULT queue. It sounds like node weights have more to do with what you are asking than preemption. Between that linked bug and the node_weights doc link, I believe you should have what you need. Yes, that's exactly what I want... "condo model". Thank you so much for the reply, I will work on implementing it! If you have any follow-up questions, do not hesitate to log these in a new bug. |