/
ulatencyd.conf
83 lines (69 loc) · 2.08 KB
/
ulatencyd.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
[core]
# interval in seconds to run the filters
interval=10
disabled_rules=test
disabled_modules=
# milli secs before a new process is scheduled
delay_new_pid=1000
#delay_new_pid=0
# you can change the cgroup mount point in cgroups.conf
[scheduler]
# scheduler configuration to use. available:
# desktop
mapping=desktop
# full reschedule every n intervals (fixes seldom cases of wrong groups)
full_run=12
# allow to change the mapping at runtime via dbus
allow_reconfigure=true
[memory]
# maximum physical size of memory a single process may have so it is considered
# target for isolation
target_max_rss=30%
# maximum size of physical memory given to a target. This is a hard limit, while
# downsize values are soft limits
max_rss=70%
# total amount of ram+swap usage for poisoness processes/groups
# percent or kb
total_limit=70%
# in case memory pressure occures
# minimum number of pressure process targets
min_add_targets=2
# minimum number of pressure group targets
min_add_groups=2
# downsize the top groups/process memory eater by percent (physical ram)
group_downsize=0.95
process_downsize=0.95
# in the case the list of targets does not have enough entries to reduce mem
# pressure, take the top targets
top_targets=3
# free + cache is counted, so it shouldn't be to low
min_free_ram=10%
# if you have more then 4gb ram, you could try 5% or less
#min_free_ram=5%
# timeout of memory pressure. to low values will cause laggy system as the
# 500 secs is a good value
timeout = 500
[logging]
disable_cgroup=false
[TestFilter]
something=bla
[user]
# how many processes should be in the users active list
default_active_list=4
[io]
# window in seconds in which the threshold must be reached
window=10
# weighted number of milliseconds spent doing I/Os
# see http://www.kernel.org/doc/Documentation/iostats.txt field 11
threshold=500
# percent of on the window the threshold must be reached to trigger enforced
# group io
percent=50
# only cfq supports cgroups currently
scheduler=cfq
[xwatch]
# poll xserver very n milliseconds
poll_interval=500
[simplerules]
# enables debug logging for simplerules
debug=false