From 18f90d7a8cedf032292a61c61f22a905710f8343 Mon Sep 17 00:00:00 2001 From: Alexey Avramov Date: Fri, 3 Apr 2020 17:51:51 +0900 Subject: [PATCH] update config --- nohang/nohang-desktop.conf | 20 ++++++++++---------- nohang/nohang.conf | 22 +++++++++++----------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/nohang/nohang-desktop.conf b/nohang/nohang-desktop.conf index c5db127..be7efc5 100644 --- a/nohang/nohang-desktop.conf +++ b/nohang/nohang-desktop.conf @@ -59,9 +59,9 @@ psi_path = /proc/pressure/memory Type: string Valid values: some_avg10, some_avg60, some_avg300, full_avg10, full_avg60, full_avg300 - Default value: full_avg10 + Default value: some_avg10 -psi_metrics = full_avg10 +psi_metrics = some_avg10 Key: psi_excess_duration Description: @@ -87,17 +87,17 @@ psi_post_action_delay = 20 Description: Type: float Valid values: >= 100 - Default value: 4000 + Default value: 6000 -fill_rate_mem = 4000 +fill_rate_mem = 6000 Key: fill_rate_swap Description: Type: float Valid values: >= 100 - Default value: 1500 + Default value: 2000 -fill_rate_swap = 1500 +fill_rate_swap = 2000 Key: fill_rate_zram Description: @@ -228,9 +228,9 @@ soft_threshold_min_mem = 5 % Description: Type: float (with % or M) Valid values: [0; 100] % or >= 0 M - Default value: 350 M + Default value: 10 % -soft_threshold_min_swap = 9 % +soft_threshold_min_swap = 10 % Key: soft_threshold_max_zram Description: @@ -264,9 +264,9 @@ hard_threshold_min_mem = 2 % Description: Type: float (with % or M) Valid values: [0; 100] % or >= 0 M - Default value: 150 M + Default value: 4 % -hard_threshold_min_swap = 3 % +hard_threshold_min_swap = 4 % Key: hard_threshold_max_zram Description: diff --git a/nohang/nohang.conf b/nohang/nohang.conf index fd0ba0e..b380ffe 100644 --- a/nohang/nohang.conf +++ b/nohang/nohang.conf @@ -59,9 +59,9 @@ psi_path = /proc/pressure/memory Type: string Valid values: some_avg10, some_avg60, some_avg300, full_avg10, full_avg60, full_avg300 - Default value: full_avg10 + Default value: some_avg10 -psi_metrics = full_avg10 +psi_metrics = some_avg10 Key: psi_excess_duration Description: @@ -87,17 +87,17 @@ psi_post_action_delay = 20 Description: Type: float Valid values: >= 100 - Default value: 4000 + Default value: 6000 -fill_rate_mem = 4000 +fill_rate_mem = 6000 Key: fill_rate_swap Description: Type: float Valid values: >= 100 - Default value: 1500 + Default value: 2000 -fill_rate_swap = 1500 +fill_rate_swap = 2000 Key: fill_rate_zram Description: @@ -228,9 +228,9 @@ soft_threshold_min_mem = 5 % Description: Type: float (with % or M) Valid values: [0; 100] % or >= 0 M - Default value: 350 M + Default value: 10 % -soft_threshold_min_swap = 9 % +soft_threshold_min_swap = 10 % Key: soft_threshold_max_zram Description: @@ -264,9 +264,9 @@ hard_threshold_min_mem = 2 % Description: Type: float (with % or M) Valid values: [0; 100] % or >= 0 M - Default value: 150 M + Default value: 4 % -hard_threshold_min_swap = 3 % +hard_threshold_min_swap = 4 % Key: hard_threshold_max_zram Description: @@ -310,7 +310,7 @@ ignore_positive_oom_score_adj = False with different badness_adj values. Example: - @BADNESS_ADJ_RE_NAME -500 /// ^sshd$ + @BADNESS_ADJ_RE_NAME 200 /// ^Web Content$ 7.2.2. Matching CGroup_v1-line with RE patterns