SLURM-A workload manager designed for Linux clusters of any size

Written by Aaron Kili

Slurm which stands for (Simple Linux Utility For Resource Management) is a great, powerful, modular and open source workload manger and job scheduler built for Linux clusters of any size. Slurm is fault-tolerant and highly pluggable cluster management and job scheduling system with many optional plugins that you can use. It provides workload management on several powerful computers and data centers around the world.

The main Functions of Slurm

Slurm has three major functions, first of all it allocates exclusive and/or non-exclusive access to resources to users  who want to do some work for a given period of time. Next, Slurm avails a framework that helps to start, execute and monitor work on a set of allocated hosts in a cluster and its final function is that it controls resource usage by managing a queue of pending work.

Features unique to Slurm

You can find a lot of workload managers out there but Slurm has got many unique features  differentiating it from other workload managers and these features include:

  • free and open source
  • scalability: designed to work in a heterogeneous cluster with tens of millions of CPUs
  • performance: high performance where it can accept up to 1000 jobs per second
  • portable: it can work on several systems although originally designed for Linux
  • fault tolerant: it is highly tolerant to system failures
  • flexible: highly pluggable with plugin mechanisms to support diverse interconnections, schedulers, authentication mechanisms plus many more
  • power management: jobs being executed can specify their required CPU frequency and the power used by jobs is recorded and also jobs not in execution can powered down until when required.
  • resizable jobs: jobs can grow and shrink as demanded
  • status jobs: status running jobs at the level of individual tasks necessary to identify load imbalances and many other system problems
  12 Excellent Free Mind Mapping Software for Linux Users

Slurm Architecture

The Slurm system is based on a centralized manager, slurmctld which monitors different resources and work, and it may include a backup manager responsible for protecting system state in case of any failure.
Each host on the cluster has a slurmd daemon which is compared to a remote shell and receives work, executes it, returns status and then waits for more work to execute, the daemon also enables fault-tolerant communication in the system setup hierarchy. There is also an optional slurmdbd(slurm database daemon) used to record accounting information from several Slurm-managed clusters in a single database. You can read about the complete architecture from here.

Below is an image showing the different components of the Slurm system
Slurm System Components

Slurm System Components

An image showing different Slurm system entities
Slurm System Entities

Slurm System Entities


Read customer testimonials about Slurm.
You may want to check and try out Slurm cluster management and job scheduling system if you are working Linux clusters of any size. For any additional information you can leave your thoughts about Slurm here by dropping a comment in the comment section below.


About the author

Aaron Kili

A Computer Science graduate who is most enthusiastic about Linux and FOSS. Aaron has been using Linux for over two years now and loves to share his ideas and knowledge he's acquired with other Linux users around the world.