Guest User

Untitled

a guest
Jun 19th, 2018
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.30 KB | None | 0 0
  1. [model]
  2.  
  3. # cycle:
  4. #
  5. # This is the quantum of time for preload. Preload performs
  6. # data gathering and predictions every cycle. Use an even
  7. # number.
  8. #
  9. # Note: Setting this parameter too low will may reduce the
  10. # system performance and stability.
  11. #
  12. # unit: seconds
  13. # default: 20
  14. #
  15. cycle = 20
  16.  
  17. # usecorrelation:
  18. #
  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.
  23. #
  24. # default: true
  25. usecorrelation = true
  26.  
  27. # minsize:
  28. #
  29. # Minimum sum of the length of maps of the process for
  30. # preload to consider tracking the application.
  31. #
  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.
  35. #
  36. # unit: bytes
  37. # default: 2000000
  38. #
  39. minsize = 2000000
  40.  
  41. #
  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.
  45. #
  46. # The total memory preload uses for prefetching is then computed using
  47. # the following formulae:
  48. #
  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.
  52. #
  53.  
  54. # memtotal: precentage of total memory
  55. #
  56. # unit: signed_integer_percent
  57. # default: -10
  58. #
  59. memtotal = -10
  60.  
  61. # memfree: precentage of free memory
  62. #
  63. # unit: signed_integer_percent
  64. # default: 100
  65. #
  66. memfree = 100
  67.  
  68. # memcached: precentage of cached memory
  69. #
  70. # unit: signed_integer_percent
  71. # default: 30
  72. #
  73. memcached = 30
  74.  
  75.  
  76. ###########################################################################
  77.  
  78. [system]
  79.  
  80. # doscan:
  81. #
  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.
  89. #
  90. # default: true
  91. doscan = true
  92.  
  93. # dopredict:
  94. #
  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.
  101. #
  102. # default: true
  103. dopredict = true
  104.  
  105. # autosave:
  106. #
  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.
  112. #
  113. # unit: seconds
  114. # default: 3600
  115. #
  116. autosave = 3600
  117.  
  118. # mapprefix:
  119. #
  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.
  133. #
  134. # default: (empty list, accept all)
  135. mapprefix = /usr;/lib;!/
  136.  
  137. # exeprefix:
  138. #
  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.
  142. #
  143. # default: (empty list, accept all)
  144. exeprefix = !/usr/sbin;!/usr/local/sbin;/usr;!/
Add Comment
Please, Sign In to add comment