Milad
Milad

Reputation: 5490

How to make slurm make a scheduling decision when jobs are submitted?

I'm using back-fill scheduler with Slurm to manage a small GPU cluster. The backfill scheduler makes a scheduling decision every bf_interval seconds (default value is 30 seconds). This means even when GPU resources are available sometimes I have to wait for a while until the they are allocated. I can obviously reduce bf_interval but given that we don't have a lot of job submissions it'd be good if I could force slurm to run the scheduling routine the moment a job is queued. Is this possible?

Upvotes: 1

Views: 265

Answers (1)

Bub Espinja
Bub Espinja

Reputation: 4571

By default Slurm does it. From the documentation:

Slurm is designed to perform a quick and simple scheduling attempt at events such as job submission or completion and configuration changes.

Have you change the default configuration for this? And, are you sure that not scheduling on submission is your problem?

Upvotes: 1

Related Questions