diff --git a/nohang-desktop.conf b/nohang-desktop.conf index 956fabd..84ce8d6 100644 --- a/nohang-desktop.conf +++ b/nohang-desktop.conf @@ -48,12 +48,12 @@ zram_checking_enabled = False MemAvailable levels. -soft_threshold_min_mem = 10 % -hard_threshold_min_mem = 5 % +soft_threshold_min_mem = 8 % +hard_threshold_min_mem = 4 % SwapFree levels. -soft_threshold_min_swap = 15 % +soft_threshold_min_swap = 10 % hard_threshold_min_swap = 5 % 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 numbers from the range [0; 90] %. -soft_threshold_max_zram = 50 % -hard_threshold_max_zram = 60 % +soft_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]. -min_badness = 20 +min_badness = 10 Valid values are non-negative floating-point numbers. 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 - @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/ +@BADNESS_ADJ_RE_CGROUP_V1 -100 /// ^/system\.slice/ @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 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 @@ -281,17 +281,17 @@ warning_exe = Can be specified in % (percent) and M (MiB). 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 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 names and in commands. diff --git a/nohang.conf b/nohang.conf index baa0e39..1b13348 100644 --- a/nohang.conf +++ b/nohang.conf @@ -48,12 +48,12 @@ zram_checking_enabled = False MemAvailable levels. -soft_threshold_min_mem = 10 % -hard_threshold_min_mem = 5 % +soft_threshold_min_mem = 8 % +hard_threshold_min_mem = 4 % SwapFree levels. -soft_threshold_min_swap = 15 % +soft_threshold_min_swap = 10 % hard_threshold_min_swap = 5 % 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 numbers from the range [0; 90] %. -soft_threshold_max_zram = 50 % -hard_threshold_max_zram = 60 % +soft_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]. -min_badness = 20 +min_badness = 10 Valid values are non-negative floating-point numbers. 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 - @BADNESS_ADJ_RE_CGROUP_V1 -50 /// ^/system\.slice/ + @BADNESS_ADJ_RE_CGROUP_V1 -100 /// ^/system\.slice/ @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 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 @@ -281,11 +281,11 @@ warning_exe = Can be specified in % (percent) and M (MiB). 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