[slurm-users] runtime priority

Frank Lenaerts frank.lenaerts at sckcen.be
Wed Jul 1 05:54:39 UTC 2020


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 and memory reservations just fine, but runs everything nice -19, which makes for hugh load averages and terrible interactive performance.
> 
> Manually setting the compilation processes with “renice 19 <pid>” works fine, but is tedious.

I would first check if /etc/security/limits.conf contains "priority":
suppose it is set to -19 for root, slurmd typically runs as root,
child processes inherit the value...


> -Larry

-- 
Kind regards

Frank Lenaerts




More information about the slurm-users mailing list