Skip to content

Commit

Permalink
Disable ConstrainCores and put AllowedRamSpace=125 in slurm cgroup
Browse files Browse the repository at this point in the history
  • Loading branch information
poquirion committed Mar 22, 2024
1 parent b6b2ed2 commit 6b2825a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/profile/templates/slurm/cgroup.conf.epp
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ CgroupAutomount=no
<% if versioncmp($slurm_version, '22.05') < 0 { -%>
AllowedDevicesFile="/etc/slurm/cgroup_allowed_devices_file.conf"
<% } -%>
ConstrainCores=yes
ConstrainCores=no
<% if $slurm_version == '20.11' { -%>
TaskAffinity=yes
<% } -%>
ConstrainRAMSpace=yes
ConstrainKmemSpace=no
ConstrainSwapSpace=yes
ConstrainDevices=yes
AllowedRamSpace=100
AllowedRamSpace=125
AllowedSwapSpace=0
MaxRAMPercent=100
MaxSwapPercent=100
MinRAMSpace=30
MinRAMSpace=1000

0 comments on commit 6b2825a

Please sign in to comment.