Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
120 lines (92 sloc) 3.12 KB
[core]
# interval in seconds to run the filters
interval=10
disabled_rules=test
#disabled_modules=xwatch;netlink_fallback
disabled_modules=
# Monitor netlink for process events, highly suggested.
# Needs kernel compiled with PROC_EVENTS, otherwise less efficient
# netlink_fallback module will take over.
# If you set netlink=false neither netlink_fallback will be used and you will
# loose all fast reactions to new processes and changes.
# Netlink causes variable overhead depending on fork/exec frequency.
netlink=true
# milli secs before a new process is scheduled
delay_new_pid=1000
# you can change the cgroup mount point in cgroups.conf
[scheduler]
# scheduler configuration to use. available:
# - desktop - a default desktop scheduler
# - one_seat_desktop - an advanced scheduler for one seat desktop, inactive
# sessions are forced idle priority or even frozen. You
# may want to try to enable the `freezer` cgroup subsystem
# in cgroups.conf. EXPERIMENTAL
#mapping=one_seat_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=3000
# percent of on the window the threshold must be reached to trigger enforced
# group io
percent=50
# only cfq supports cgroups currently
scheduler=cfq
# bfq scheduler with patched kernel http://algo.ing.unimo.it/people/paolo/disk_sched/
# scheduler=bfq
[xwatch]
# poll xserver very n milliseconds
poll_interval=500
debug=false
[simplerules]
#rules_files = /etc/ulatencyd/simple.conf;...
#rules_dirs = /etc/ulatencyd/simple.d;...
disabled_rules=
# enables debug logging for simplerules
debug=false
[netlink_fallback]
# enables debug logging for the netlink_fallback module
debug=false
[consolekit]
debug=true
Jump to Line
Something went wrong with that request. Please try again.