Commit f8afbebc authored by Mark A. Grondona's avatar Mark A. Grondona
Browse files

cgroups: Add MaxRAMPercent and MaxSwapPercent config parameters

As a failsafe we may want to put a hard limit on memory.limit_in_bytes
and memory.memsw.limit_in_bytes when using cgroups. This patch adds
MaxRAMPercent and MaxSwapPercent which are taken as percentages of
available RAM (RealMemory as reported by slurmd), and which will be
applied as upper bounds when creating memory controller cgroups.
parent 4cf2f340
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment