Re: [slurm-users] runtime priority

2020-07-01 Thread Ole Holm Nielsen
On 6/30/20 4:52 PM, Lawrence Stewart wrote: How does one configure the runtime priority of a job? That is, how do you set the CPU scheduling “nice” value? We’re using Slurm to share a large (16 core 768 GB) server among FPGA compilation jobs. Slurm handles core and memory reservations just

Re: [slurm-users] runtime priority

2020-06-30 Thread Frank Lenaerts
On Tue, Jun 30, 2020 at 10:52:00AM -0400, Lawrence Stewart wrote: > How does one configure the runtime priority of a job? That is, how do you > set the CPU scheduling “nice” value? > > We’re using Slurm to share a large (16 core 768 GB) server among FPGA > compilation jobs. Slurm handles core

Re: [slurm-users] runtime priority

2020-06-30 Thread Lawrence Stewart
As far as I can tell, sbatch —nice only affects scheduling priority, not CPU priority. I’ve made a workaround by putting “nice -n 19 xxx” as the job to run in my sbatch scripts > On 2020, Jun 30, at 11:07 AM, Renfro, Michael wrote: > > There’s a --nice flag to sbatch and srun, at least.

Re: [slurm-users] runtime priority

2020-06-30 Thread Renfro, Michael
There’s a --nice flag to sbatch and srun, at least. Documentation indicates it decreases priority by 100 by default. And untested, but it may be possible to use a job_submit.lua [1] to adjust nice values automatically. At least I can see a nice property in [2], which I assume means it'd be

[slurm-users] runtime priority

2020-06-30 Thread Lawrence Stewart
How does one configure the runtime priority of a job? That is, how do you set the CPU scheduling “nice” value? We’re using Slurm to share a large (16 core 768 GB) server among FPGA compilation jobs. Slurm handles core and memory reservations just fine, but runs everything nice -19, which