[slurm-users] Tuning MaxJobs and MaxJobsSubmit per user and for the whole cluster?
Sebastian T Smith
stsmith at unr.edu
Mon Aug 10 20:43:25 UTC 2020
My rule of thumb for our cluster is 1,024 jobs/node. Our nodes have 32 cores, so we're 32x core count (converting to Paul's units). We have 120 nodes with a maximum of 122,880 jobs.
At a high-level, nodes are allocated to different partitions and each partition is allocated a maximum number of jobs equal to 1024 * num_nodes (reality isn't quite this simple). Our largest partition features 54,272 max jobs (53 nodes). I've seen this maxed out a number of times with a large number of very short jobs, and with job arrays.
This setup has required a bit of tuning. Adjusting sched_max_job_start and sched_min_interval has been sufficient to keep Slurm responsive when users are submitting or cancelling a large number of jobs. Backfill tuning has been difficult because we made some poor decisions setting DefaultTime at the epoch of our system. Overall performance has been excellent after minimal tuning.
[University of Nevada, Reno]<http://www.unr.edu/>
High-Performance Computing Engineer
Office of Information Technology
1664 North Virginia Street
email: stsmith at unr.edu<mailto:stsmith at unr.edu>
From: slurm-users <slurm-users-bounces at lists.schedmd.com> on behalf of Paul Edmon <pedmon at cfa.harvard.edu>
Sent: Friday, August 7, 2020 6:22 AM
To: slurm-users at lists.schedmd.com <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] Tuning MaxJobs and MaxJobsSubmit per user and for the whole cluster?
My rule of thumb is that the MaxJobs for the entire cluster is twice the number of cores you have available. That way you have enough jobs running to fill all the cores and enough jobs pending to refill them.
As for per user MaxJobs, it just depends on what you think the maximum number any user can run with out causing damage to themselves, the underlying filesystems, and interfering with other users. Practical experience has lead to us setting that limit to be 10,000 on our cluster, but I imagine it will vary from location to location.
On 8/6/2020 10:31 PM, Hoyle, Alan P wrote:
I can't find any advice online about how to tune things like MaxJobs on a per-cluster or per-user basis.
As far as I can tell, it seems that the default install cluster MaxJobs seems to be 10,000 and MaxSubmit as the same. Those seem pretty low to me: are there resources that get consumed if maxSubmit is much higher or can we raise this without much worry?
Is there advice anywhere about tuning these? When I google, all I can find are the generic "here's how to change this" and various universities' documentation of "here are the limits we have set."
Alan Hoyle - alanh at unc.edu<mailto:alanh at unc.edu>
UNC Lineberger - Bioinformatics Core
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the slurm-users