knl.conf(5)
β¨ knl.conf(5) β the Slurm Configuration File for Intel Knights Landing β¨
hiii bestie!! you've found the manpage for knl.conf, a Slurm configuration file for the Intel Knights Landing processor. It's giving very niche, very powerful, very silicon-core. let's get into it π
π NAME π
knl.conf β Slurm configuration file for Intel Knights Landing processor.
π¦ DESCRIPTION π¦
okay so first thing: this is an ASCII file, and it holds all the configuration tea for Intel Knights Landing processors π΅. and here's the little plot twist β its actual name may depend on the NodeFeatures plugin you've got configured in Slurm. for example, on Cray systems NodeFeatures should be configured to "knl_cray", and then its config file gets read from "knl_cray.conf" instead. the file will always live in the same directory as the slurm.conf. oh and β it's optional. no pressure, bestie π«Ά
Parameter names are case insensitive, so do not stress about the caps. any text following a # in the configuration file is treated as a comment through the end of that line. and heads up: changes to the configuration file take effect upon restart of Slurm daemons, daemon receipt of the SIGHUP signal, or execution of the command scontrol reconfigure β unless otherwise noted. so like, it's not live-live until one of those happens β¨
The overall configuration parameters available include:
AllowMCDRAMβ specify the MCDRAM modes which jobs are allowed to use. this may be a subset of MCDRAM modes supported by the node. if not specified, all MCDRAM modes supported by the node are available for use. the comma separated list of allowed MCDRAM modes may include any of the modes listed below.cacheβ All of MCDRAM to be used as cache.equalβ MCDRAM to be used partly as cache and partly combined with primary memory.flatβ MCDRAM to be combined with primary memory into a"flat"memory space.
AllowNUMAβ specify the NUMA modes which jobs are allowed to use. this may be a subset of NUMA modes supported by the node. if not specified, all NUMA modes supported by the node are available for use. the comma separated list of allowed NUMA modes may include any of the modes listed below. note that Slurm can only support homogeneous nodes (e.g. the same number of cores per NUMA node). KNLscn4andquadmodes are not homogeneous, but each NUMA mode will have either 16 or 18 cores. this will result in Slurm using the lower core count and finding a total of 256 threads rather than 272 threads and setting the node to aDOWNstate. therefore it is recommended thatsnc4andquadmode not be allowed at this time πa2aβ All to allsnc2β Sub-NUMA cluster 2snc4β Sub-NUMA cluster 4hemiβ Hemispherequadβ Quadrant
AllowUserBootβ a comma-delimited list of users allowed to modify a node's MCDRAM or NUMA state. if not specified then any user can change a node's state and reboot it. (iconic amount of trust tbh)BootTimeβ estimated time to reboot a node in seconds. used as a basis for optimizing scheduling decisions. the default value is300seconds (5 minutes) for the"knl_generic"plugin and2700seconds (45 minutes) for the"knl_cray"plugin.CapmcPathβ fully qualified path to thecapmcprogram. the default value is"/opt/cray/capmc/default/bin/capmc". this parameter is used only by the"knl_cray"plugin.CapmcPollFreqβ time interval between when thecapmcprogram should poll for node state changes, in seconds. the default value is45seconds. this parameter is used only by the"knl_cray"plugin.CapmcRetriesβ number of times to retry failed operations of thecapmcprogram. default value is4.CapmcTimeoutβ time limit for thecapmcprogram to return status information in milliseconds. the default value is60000milliseconds and the minimum value is1000milliseconds. this parameter is used by the"knl_cray"plugin, plus thecapmc_suspendandcapmc_resumeprograms used for suspending and resuming nodes.CnselectPathβ fully qualified path to thecnselectprogram. the default value is"/opt/cray/sdb/default/bin/cnselect". this parameter is used only by the"knl_cray"plugin.DefaultMCDRAMβ specify the default MCDRAM modes for job's which do not specify a value. this is only used when a node is booted and the job which has been allocated the node does not specify a desired MCDRAM mode. the value can include one of the possible values identified with theAllowMCDRAMconfiguration parameter above. the default value is"cache".DefaultNUMAβ specify the default NUMA modes for job's which do not specify a value. this is only used when a node is booted and the job which has been allocated the node does not specify a desired NUMA mode. the value can include one of the possible values identified with theAllowNUMAconfiguration parameter above. the default value is"a2a".Forceβ if set to a non-zero value then load thenode_features/genericplugin even on non-KNL nodes. used primarily for testing purposes.LogFileβ fully qualified path to a log file. the default value isSlurmctldLogFilefrom theslurm.confconfiguration file. this is option is used only by thecampc_suspendandcampc_resumeprograms (which power down and reboot nodes in the appropriate configuration).McPathβ fully qualified path to memory controller device file directory. children of this directory with names of the form"mc#/csrow#/ue_count"(i.e. the count of unrecoverable memory errors) will be monitored for non-zero values. if such errors are detected, the node will be set to aDOWNstate and theslurmddaemon will shutdown. the default value is"/sys/devices/system/edac/mc". see alsoUmeCheckInterval.NumaCpuBindβ contains pairs of NUMA modes and theCpuBindmode to set a node to for that mode. any compute node found with or set to the specified NUMA mode will have that node'sCpuBindfield set to the configured value. the NUMA node will be followed by an equal sign the desiredCpuBindmode for that NUMA mode. multiple NUMA mode andCpuBindmodes should be in a semicolon separated list. by default changes to a node's NUMA mode will not effect that node'sCpuBindmode. see the example below πSyscfgPathβ fully qualified path to Intel'ssyscfgprogram, which identifies current KNL configuration by viewing BIOS settings. if not defined, the current BIOS setting will not be available. the default value is"/usr/bin/syscfg". this parameter is used only by the"knl_generic"plugin.SyscfgTimeoutβ timeout forsyscfgprogram in milliseconds. default value is1000milliseconds. for Dell KNL systems, experience has shown that a higher value of10000milliseconds is more appropriate.SystemTypeβ used to distinguish the flavor of knl we are dealing with. possible options are"Dell"and"Intel". the default value is"Intel". this parameter is used only by the"knl_generic"plugin.UmeCheckIntervalβ interval, in microseconds, between checks for Uncorrectable Memory Errors (UME). if such errors are detected, the node will be set to aDOWNstate and theslurmddaemon will shutdown. the default value is0(disabled). see alsoMcPath.ValidateModeβ if set to1then validate, but do not modify the node's configured MCDRAM and NUMA modes from theslurm.conffile. if the actual modes do not match configured values the node will be set to aDOWNstate. every KNL nodes MCDRAM and NUMA states must both be listed in theslurm.conffile. this parameter is used only by the"knl_cray"plugin.
π EXAMPLE π
here's a whole vibe, bestie β copy-paste ready:
###################################################################
# knl_cray.conf
# Slurm configuration file for Intel Knights Landing on Cray system
###################################################################
CapmcPath=/opt/cray/capmc/default/bin/capmc
CapmcTimeout=6000
DefaultMCDRAM=flat
DefaultNUMA=a2a
NumaCpuBind=a2a=core;snc2=thread;snc4=thread
LogFile=/var/tmp/slurm_node_feature.log
SyscfgPath=/usr/sbin/syscfg
π COPYING π
Copyright (C) 2015-2022 SchedMD LLC.
This file is part of Slurm, a resource management program. For details, see <https://slurm.schedmd.com/>.
Slurm is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Slurm is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
fr fr read the license, bestie β it's legally binding and also kind of a slay π
π«Ά SEE ALSO π«Ά
and that's the whole thing!! this page came from the <b>Slurm Configuration File</b>, dated <b>December 2022</b>, filed under <code>knl.conf(5)</code> β go configure something iconic, bestie πβ¨πΈ
π¦ where this page comes from
- debian trixie: slurm-client 24.11.5-4 Β· GPL-2.0-or-later WITH OpenSSL exception
- debian trixie: slurm-client 24.11.5-4+deb13u1 Β· GPL-2.0-or-later WITH OpenSSL exception
- fedora 43: slurm 24.05.2-5.fc43 Β· GPL-2.0-or-later AND BSD-2-Clause AND BSD-1-Clause
- fedora 44: slurm 24.05.2-6.fc44 Β· GPL-2.0-or-later AND BSD-2-Clause AND BSD-1-Clause
- opensuse-leap 16.0: slurm-config-man 24.11.3-bp160.1.8 Β· SUSE-GPL-2.0-with-openssl-exception
- ubuntu questing: slurm-client 24.11.5-4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms