update conf and fix code style
This commit is contained in:
parent
f071b341bd
commit
795dd13474
458
nohang/nohang
458
nohang/nohang
File diff suppressed because it is too large
Load Diff
@ -88,7 +88,7 @@ fill_rate_swap = 1500
|
||||
Type: float
|
||||
Valid values:
|
||||
|
||||
fill_rate_zram = 6000
|
||||
fill_rate_zram = 4000
|
||||
|
||||
Description:
|
||||
Type: float
|
||||
@ -150,7 +150,7 @@ warning_threshold_min_mem = 20 %
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
warning_threshold_min_swap = 20 %
|
||||
warning_threshold_min_swap = 25 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
@ -184,13 +184,13 @@ env_cache_time = 300
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
soft_threshold_min_mem = 8 %
|
||||
soft_threshold_min_mem = 6 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
soft_threshold_min_swap = 8 %
|
||||
soft_threshold_min_swap = 9 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
@ -208,13 +208,13 @@ soft_threshold_max_psi = 60
|
||||
|
||||
6. Hard threshold
|
||||
|
||||
hard_threshold_min_mem = 4 %
|
||||
hard_threshold_min_mem = 2 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
hard_threshold_min_swap = 4 %
|
||||
hard_threshold_min_swap = 3 %
|
||||
|
||||
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 = 80
|
||||
|
||||
###############################################################################
|
||||
|
||||
@ -350,7 +350,7 @@ post_kill_exe =
|
||||
Type: integer
|
||||
Valid values:
|
||||
|
||||
min_badness = 10
|
||||
min_badness = 5
|
||||
|
||||
Description:
|
||||
Type: float
|
||||
|
@ -88,7 +88,7 @@ fill_rate_swap = 1500
|
||||
Type: float
|
||||
Valid values:
|
||||
|
||||
fill_rate_zram = 6000
|
||||
fill_rate_zram = 4000
|
||||
|
||||
Description:
|
||||
Type: float
|
||||
@ -150,7 +150,7 @@ warning_threshold_min_mem = 20 %
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
warning_threshold_min_swap = 20 %
|
||||
warning_threshold_min_swap = 25 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
@ -184,13 +184,13 @@ env_cache_time = 300
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
soft_threshold_min_mem = 8 %
|
||||
soft_threshold_min_mem = 6 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
soft_threshold_min_swap = 8 %
|
||||
soft_threshold_min_swap = 9 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
@ -208,13 +208,13 @@ soft_threshold_max_psi = 60
|
||||
|
||||
6. Hard threshold
|
||||
|
||||
hard_threshold_min_mem = 4 %
|
||||
hard_threshold_min_mem = 2 %
|
||||
|
||||
Description:
|
||||
Type: float (+ % or M)
|
||||
Valid values:
|
||||
|
||||
hard_threshold_min_swap = 4 %
|
||||
hard_threshold_min_swap = 3 %
|
||||
|
||||
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 = 80
|
||||
|
||||
###############################################################################
|
||||
|
||||
@ -350,7 +350,7 @@ post_kill_exe =
|
||||
Type: integer
|
||||
Valid values:
|
||||
|
||||
min_badness = 10
|
||||
min_badness = 5
|
||||
|
||||
Description:
|
||||
Type: float
|
||||
|
@ -13,7 +13,7 @@ def psi_path_to_metrics(psi_path):
|
||||
psi_list = f.readlines()
|
||||
# print(psi_list)
|
||||
some_list, full_list = psi_list[0].split(' '), psi_list[1].split(' ')
|
||||
#print(some_list, full_list)
|
||||
# print(some_list, full_list)
|
||||
some_avg10 = some_list[1].split('=')[1]
|
||||
some_avg60 = some_list[2].split('=')[1]
|
||||
some_avg300 = some_list[3].split('=')[1]
|
||||
|
Loading…
Reference in New Issue
Block a user