Update default values in configs

This commit is contained in:
Alexey Avramov 2020-03-15 22:14:26 +09:00
parent 8e931f8f00
commit b154dcca91
2 changed files with 25 additions and 25 deletions

View File

@ -54,13 +54,13 @@ psi_path = /proc/pressure/memory
Type: string
Valid values:
psi_metrics = some_avg10
psi_metrics = full_avg10
Description:
Type: float
Valid values:
psi_excess_duration = 40
psi_excess_duration = 30
Description:
Type: float
@ -144,7 +144,7 @@ warning_exe =
Type: float (+ % or M)
Valid values:
warning_threshold_min_mem = 20 %
warning_threshold_min_mem = 20 %
Description:
Type: float (+ % or M)
@ -156,13 +156,13 @@ warning_threshold_min_swap = 25 %
Type: float (+ % or M)
Valid values:
warning_threshold_max_zram = 50 %
warning_threshold_max_zram = 45 %
Description:
Type: float
Valid values:
warning_threshold_max_psi = 20
warning_threshold_max_psi = 10
Description:
Type: float
@ -184,37 +184,37 @@ env_cache_time = 300
Type: float (+ % or M)
Valid values:
soft_threshold_min_mem = 6 %
soft_threshold_min_mem = 5 %
Description:
Type: float (+ % or M)
Valid values:
soft_threshold_min_swap = 9 %
soft_threshold_min_swap = 350 M
Description:
Type: float (+ % or M)
Valid values:
soft_threshold_max_zram = 60 %
soft_threshold_max_zram = 55 %
Description:
Type: float
Valid values:
soft_threshold_max_psi = 40
soft_threshold_max_psi = 40
###############################################################################
6. Hard threshold
hard_threshold_min_mem = 2 %
hard_threshold_min_mem = 2 %
Description:
Type: float (+ % or M)
Valid values:
hard_threshold_min_swap = 3 %
hard_threshold_min_swap = 150 M
Description:
Type: float (+ % or M)
@ -226,7 +226,7 @@ hard_threshold_max_zram = 65 %
Type: float
Valid values:
hard_threshold_max_psi = 90
hard_threshold_max_psi = 90
###############################################################################
@ -265,7 +265,7 @@ forbid_negative_badness = True
Prefer terminating Firefox tabs instead of terminating the entire browser.
(In Chromium and Electron-based apps child processes get oom_score_adj=300
by default.)
@BADNESS_ADJ_RE_NAME 200 /// ^Web Content$
@BADNESS_ADJ_RE_NAME 100 /// ^Web Content$
7.3.2. Matching CGroup_v1-line with RE patterns
@ -402,7 +402,7 @@ post_kill_exe =
Type: integer
Valid values:
min_badness = 5
min_badness = 1
Description:
Type: float

View File

@ -54,13 +54,13 @@ psi_path = /proc/pressure/memory
Type: string
Valid values:
psi_metrics = some_avg10
psi_metrics = full_avg10
Description:
Type: float
Valid values:
psi_excess_duration = 40
psi_excess_duration = 30
Description:
Type: float
@ -156,13 +156,13 @@ warning_threshold_min_swap = 25 %
Type: float (+ % or M)
Valid values:
warning_threshold_max_zram = 50 %
warning_threshold_max_zram = 45 %
Description:
Type: float
Valid values:
warning_threshold_max_psi = 20
warning_threshold_max_psi = 10
Description:
Type: float
@ -184,19 +184,19 @@ env_cache_time = 300
Type: float (+ % or M)
Valid values:
soft_threshold_min_mem = 6 %
soft_threshold_min_mem = 5 %
Description:
Type: float (+ % or M)
Valid values:
soft_threshold_min_swap = 9 %
soft_threshold_min_swap = 350 M
Description:
Type: float (+ % or M)
Valid values:
soft_threshold_max_zram = 60 %
soft_threshold_max_zram = 55 %
Description:
Type: float
@ -208,13 +208,13 @@ soft_threshold_max_psi = 40
6. Hard threshold
hard_threshold_min_mem = 2 %
hard_threshold_min_mem = 2 %
Description:
Type: float (+ % or M)
Valid values:
hard_threshold_min_swap = 3 %
hard_threshold_min_swap = 150 M
Description:
Type: float (+ % or M)
@ -226,7 +226,7 @@ hard_threshold_max_zram = 65 %
Type: float
Valid values:
hard_threshold_max_psi = 90
hard_threshold_max_psi = 90
###############################################################################
@ -352,7 +352,7 @@ post_kill_exe =
Type: integer
Valid values:
min_badness = 5
min_badness = 1
Description:
Type: float