Skip to content
Snippets Groups Projects
  • Mark A. Grondona's avatar
    fa38c431
    cgroups: Allow percent values in cgroup.conf to be floating point · fa38c431
    Mark A. Grondona authored
    The use of whole percent values for cgroup.conf parameters such
    as AllowedRAMSpace, MaxRAMPercent, AllowedSwapSpace and MaxSwapPercent
    may be too coarse grained on systems with large amounts of memory.
    (e.g. 1% of 64G is over 650MB).
    
    This patch allows these percentage values to be arbitrary floating
    point numbers to allow finer grained tuning of these limits and
    parameters.
    fa38c431
    History
    cgroups: Allow percent values in cgroup.conf to be floating point
    Mark A. Grondona authored
    The use of whole percent values for cgroup.conf parameters such
    as AllowedRAMSpace, MaxRAMPercent, AllowedSwapSpace and MaxSwapPercent
    may be too coarse grained on systems with large amounts of memory.
    (e.g. 1% of 64G is over 650MB).
    
    This patch allows these percentage values to be arbitrary floating
    point numbers to allow finer grained tuning of these limits and
    parameters.