Fix conf
This commit is contained in:
parent
e3c0bb3ca1
commit
e442e41268
@ -48,12 +48,12 @@ zram_checking_enabled = False
|
|||||||
|
|
||||||
MemAvailable levels.
|
MemAvailable levels.
|
||||||
|
|
||||||
soft_threshold_min_mem = 10 %
|
soft_threshold_min_mem = 8 %
|
||||||
hard_threshold_min_mem = 5 %
|
hard_threshold_min_mem = 4 %
|
||||||
|
|
||||||
SwapFree levels.
|
SwapFree levels.
|
||||||
|
|
||||||
soft_threshold_min_swap = 15 %
|
soft_threshold_min_swap = 10 %
|
||||||
hard_threshold_min_swap = 5 %
|
hard_threshold_min_swap = 5 %
|
||||||
|
|
||||||
Specifying the total share of zram in memory, if exceeded the
|
Specifying the total share of zram in memory, if exceeded the
|
||||||
@ -64,8 +64,8 @@ hard_threshold_min_swap = 5 %
|
|||||||
Can be specified in % and M. Valid values are floating-point
|
Can be specified in % and M. Valid values are floating-point
|
||||||
numbers from the range [0; 90] %.
|
numbers from the range [0; 90] %.
|
||||||
|
|
||||||
soft_threshold_max_zram = 50 %
|
soft_threshold_max_zram = 60 %
|
||||||
hard_threshold_max_zram = 60 %
|
hard_threshold_max_zram = 65 %
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -155,7 +155,7 @@ over_sleep = 0.05
|
|||||||
|
|
||||||
Valid values are integers from the range [0; 1000].
|
Valid values are integers from the range [0; 1000].
|
||||||
|
|
||||||
min_badness = 20
|
min_badness = 10
|
||||||
|
|
||||||
Valid values are non-negative floating-point numbers.
|
Valid values are non-negative floating-point numbers.
|
||||||
Min delay if a victim doesn't respond to SIGTERM in 10 ms.
|
Min delay if a victim doesn't respond to SIGTERM in 10 ms.
|
||||||
@ -203,7 +203,7 @@ ignore_positive_oom_score_adj = False
|
|||||||
|
|
||||||
5.2. Matching CGroup_v1-line with RE patterns
|
5.2. Matching CGroup_v1-line with RE patterns
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/
|
@BADNESS_ADJ_RE_CGROUP_V1 -100 /// ^/system\.slice/
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
|
@BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
|
||||||
|
|
||||||
@ -229,7 +229,7 @@ ignore_positive_oom_score_adj = False
|
|||||||
@BADNESS_ADJ_RE_CMDLINE 200 /// --type=renderer
|
@BADNESS_ADJ_RE_CMDLINE 200 /// --type=renderer
|
||||||
|
|
||||||
Prefer firefox tabs (Web Content and WebExtensions)
|
Prefer firefox tabs (Web Content and WebExtensions)
|
||||||
@BADNESS_ADJ_RE_CMDLINE 100 /// -appomni
|
@BADNESS_ADJ_RE_CMDLINE 300 /// -appomni
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CMDLINE -200 /// ^/usr/lib/virtualbox
|
@BADNESS_ADJ_RE_CMDLINE -200 /// ^/usr/lib/virtualbox
|
||||||
|
|
||||||
@ -281,17 +281,17 @@ warning_exe =
|
|||||||
Can be specified in % (percent) and M (MiB).
|
Can be specified in % (percent) and M (MiB).
|
||||||
Valid values are floating-point numbers from the range [0; 100] %.
|
Valid values are floating-point numbers from the range [0; 100] %.
|
||||||
|
|
||||||
warning_threshold_min_mem = 25 %
|
warning_threshold_min_mem = 20 %
|
||||||
|
|
||||||
warning_threshold_min_swap = 35 %
|
warning_threshold_min_swap = 25 %
|
||||||
|
|
||||||
warning_threshold_max_zram = 40 %
|
warning_threshold_max_zram = 50 %
|
||||||
|
|
||||||
warning_threshold_max_psi = 100
|
warning_threshold_max_psi = 100
|
||||||
|
|
||||||
Valid values are floating-point numbers from the range [1; 300].
|
Valid values are floating-point numbers from the range [1; 300].
|
||||||
|
|
||||||
min_post_warning_delay = 20
|
min_post_warning_delay = 30
|
||||||
|
|
||||||
Ampersands (&) will be replaced with asterisks (*) in process
|
Ampersands (&) will be replaced with asterisks (*) in process
|
||||||
names and in commands.
|
names and in commands.
|
||||||
|
22
nohang.conf
22
nohang.conf
@ -48,12 +48,12 @@ zram_checking_enabled = False
|
|||||||
|
|
||||||
MemAvailable levels.
|
MemAvailable levels.
|
||||||
|
|
||||||
soft_threshold_min_mem = 10 %
|
soft_threshold_min_mem = 8 %
|
||||||
hard_threshold_min_mem = 5 %
|
hard_threshold_min_mem = 4 %
|
||||||
|
|
||||||
SwapFree levels.
|
SwapFree levels.
|
||||||
|
|
||||||
soft_threshold_min_swap = 15 %
|
soft_threshold_min_swap = 10 %
|
||||||
hard_threshold_min_swap = 5 %
|
hard_threshold_min_swap = 5 %
|
||||||
|
|
||||||
Specifying the total share of zram in memory, if exceeded the
|
Specifying the total share of zram in memory, if exceeded the
|
||||||
@ -64,8 +64,8 @@ hard_threshold_min_swap = 5 %
|
|||||||
Can be specified in % and M. Valid values are floating-point
|
Can be specified in % and M. Valid values are floating-point
|
||||||
numbers from the range [0; 90] %.
|
numbers from the range [0; 90] %.
|
||||||
|
|
||||||
soft_threshold_max_zram = 50 %
|
soft_threshold_max_zram = 60 %
|
||||||
hard_threshold_max_zram = 60 %
|
hard_threshold_max_zram = 65 %
|
||||||
|
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
@ -155,7 +155,7 @@ over_sleep = 0.05
|
|||||||
|
|
||||||
Valid values are integers from the range [0; 1000].
|
Valid values are integers from the range [0; 1000].
|
||||||
|
|
||||||
min_badness = 20
|
min_badness = 10
|
||||||
|
|
||||||
Valid values are non-negative floating-point numbers.
|
Valid values are non-negative floating-point numbers.
|
||||||
Min delay if a victim doesn't respond to SIGTERM in 10 ms.
|
Min delay if a victim doesn't respond to SIGTERM in 10 ms.
|
||||||
@ -203,7 +203,7 @@ ignore_positive_oom_score_adj = False
|
|||||||
|
|
||||||
5.2. Matching CGroup_v1-line with RE patterns
|
5.2. Matching CGroup_v1-line with RE patterns
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/
|
@BADNESS_ADJ_RE_CGROUP_V1 -100 /// ^/system\.slice/
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
|
@BADNESS_ADJ_RE_CGROUP_V1 50 /// /foo\.service$
|
||||||
|
|
||||||
@ -229,7 +229,7 @@ ignore_positive_oom_score_adj = False
|
|||||||
@BADNESS_ADJ_RE_CMDLINE 200 /// --type=renderer
|
@BADNESS_ADJ_RE_CMDLINE 200 /// --type=renderer
|
||||||
|
|
||||||
Prefer firefox tabs (Web Content and WebExtensions)
|
Prefer firefox tabs (Web Content and WebExtensions)
|
||||||
@BADNESS_ADJ_RE_CMDLINE 100 /// -appomni
|
@BADNESS_ADJ_RE_CMDLINE 300 /// -appomni
|
||||||
|
|
||||||
@BADNESS_ADJ_RE_CMDLINE -200 /// ^/usr/lib/virtualbox
|
@BADNESS_ADJ_RE_CMDLINE -200 /// ^/usr/lib/virtualbox
|
||||||
|
|
||||||
@ -281,11 +281,11 @@ warning_exe =
|
|||||||
Can be specified in % (percent) and M (MiB).
|
Can be specified in % (percent) and M (MiB).
|
||||||
Valid values are floating-point numbers from the range [0; 100] %.
|
Valid values are floating-point numbers from the range [0; 100] %.
|
||||||
|
|
||||||
warning_threshold_min_mem = 25 %
|
warning_threshold_min_mem = 20 %
|
||||||
|
|
||||||
warning_threshold_min_swap = 35 %
|
warning_threshold_min_swap = 25 %
|
||||||
|
|
||||||
warning_threshold_max_zram = 40 %
|
warning_threshold_max_zram = 50 %
|
||||||
|
|
||||||
warning_threshold_max_psi = 100
|
warning_threshold_max_psi = 100
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user