5
# This is the quantum of time for preload. Preload performs
6
# data gathering and predictions every cycle. Use an even
9
# Note: Setting this parameter too low will may reduce the
10
# system performance and stability.
13
# default: default_cycle
19
# Whether correlation coefficient should be used in the prediction
20
# algorithm. There are arguments both for and against using it.
21
# Currently it's believed that using it results in more accurate
22
# prediction. The option may be removed in the future.
24
# default: default_usecorrelation
25
usecorrelation = default_usecorrelation
29
# Minimum sum of the length of maps of the process for
30
# preload to consider tracking the application.
32
# Note: Setting this parameter too high will make preload less
33
# effective, while setting it too low will make it eat
34
# quadratically more resources, as it tracks more processes.
37
# default: default_minsize
39
minsize = default_minsize
42
# The following control how much memory preload is allowed to use
43
# for preloading in each cycle. All values are percentages and are
44
# clamped to -100 to 100.
46
# The total memory preload uses for prefetching is then computed using
47
# the following formulae:
49
# max (0, TOTAL * memtotal + FREE * memfree) + CHACED * memcached
50
# where TOTAL, FREE, and CACHED are the respective values read at
51
# runtime from /proc/meminfo.
54
# memtotal: precentage of total memory
57
# default: default_memtotal
59
memtotal = default_memtotal
61
# memfree: precentage of free memory
64
# default: default_memfree
66
memfree = default_memfree
68
# memcached: precentage of cached memory
70
# unit: unit_memcached
71
# default: default_memcached
73
memcached = default_memcached
76
###########################################################################
82
# Whether preload should monitor running processes and update its
83
# model state. Normally you do want that, that's all preload is
84
# about, but you may temporarily want to turn it off for various
85
# reasons like testing and only make predictions. Note that if
86
# scanning is off, predictions are made based on whatever processes
87
# have been running when preload started and the list of running
88
# processes is not updated at all.
90
# default: default_doscan
91
doscan = default_doscan
95
# Whether preload should make prediction and prefetch anything off
96
# the disk. Quite like doscan, you normally want that, that's the
97
# other half of what preload is about, but you may temporarily want
98
# to turn it off, to only train the model for example. Note that
99
# this allows you to turn scan/predict or or off on the fly, by
100
# modifying the config file and signalling the daemon.
102
# default: default_dopredict
103
dopredict = default_dopredict
107
# Preload will automatically save the state to disk every
108
# autosave period. This is only relevant if doscan is set to true.
109
# Note that some janitory work on the model, like removing entries
110
# for files that no longer exist happen at state save time. So,
111
# turning off autosave completely is not advised.
113
# unit: unit_autosave
114
# default: default_autosave
116
autosave = default_autosave
120
# A list of path prefixes that controll which mapped file are to
121
# be considered by preload and which not. The list items are
122
# separated by semicolons. Matching will be stopped as soon as
123
# the first item is matched. For each item, if item appears at
124
# the beginning of the path of the file, then a match occurs, and
125
# the file is accepted. If on the other hand, the item has a
126
# exclamation mark as its first character, then the rest of the
127
# item is considered, and if a match happens, the file is rejected.
128
# For example a value of !/lib/modules;/ means that every file other
129
# than those in /lib/modules should be accepted. In this case, the
130
# trailing item can be removed, since if no match occurs, the file is
131
# accepted. It's advised to make sure /dev is rejected, since
132
# preload doesn't special-handle device files internally.
134
# default: (empty list, accept all)
135
mapprefix = !/usr/lib/locale;/usr;/lib;/lib64;!/
139
# The syntax for this is exactly the same as for mapprefix. The only
140
# difference is that this is used to accept or reject binary exectuable
141
# files instead of maps.
143
# default: (empty list, accept all)
144
exeprefix = !/usr/sbin;/usr;!/