summaryrefslogtreecommitdiffstats
path: root/man/oomd.conf.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* man: update version informationAbderrahim Kitouni2023-09-191-2/+2
| | | | | | | | As I noticed a lot of missing information when trying to implement checking for missing info. I reimplemented the version information script to be more robust, and here is the result. Follow up to ec07c3c80b2b1bfa6788500202006ff85f5ae4f4
* man: add version infoAbderrahim Kitouni2023-08-291-3/+9
| | | | | | | | This tries to add information about when each option was added. It goes back to version 183. The version info is included from a separate file to allow generating it, which would allow more control on the formatting of the final output.
* oomd: check mem free and swap free before doing a swap-based killAnita Zhang2021-06-301-4/+4
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1974763
* oomd: threshold swap kill candidates to usages of more than 5%Anita Zhang2021-04-051-3/+3
| | | | | | | | | | | | | In some instances, particularly with swap on zram, swap used will be high while there is still a lot of memory available. FB OOMD handles this by thresholding kills to X% of total swap usage. Let's do the same thing here. Anecdotally with these thresholds and my laptop which is exclusively swap on zram I can sit at 0K / 4G swap free with most of memory free and systemd-oomd doesn't kill anything. Partially addresses aggressive kill behavior from https://bugzilla.redhat.com/show_bug.cgi?id=1941170
* oomd: force DefaultMemoryPressureDurationSec= to be greater than or equal 1 secAnita Zhang2021-04-021-1/+1
|
* oomd: increase accuracy of SwapUsedLimit= to permyriads tooLennart Poettering2021-02-181-20/+22
| | | | | | | | | | | | | | | oomd.conf has two parameters with fractionals: SwapUsedLimit= and DefaultMemoryPressureLimit=, but one accepts permyriads, the other only percentages, for no apparent reason. One carries the "Percent" in the name, the other doesn't. Let's clean this up: always accept permyriads, and drop the suffix, given that it is misleading. I figure we should internally try to focus on scaling everything relative to UINT32_MAX, and if that isn't in the cards at least 10000, but never permille nor percent unless there's a really really good reason for it (e.g. interface defined by someone else).
* oom: rework *MemoryPressureLimit= properties to have 1/10000 precisionAnita Zhang2021-02-031-3/+3
| | | | | | | Requested in https://github.com/systemd/systemd/pull/15206#discussion_r505506657, preserve the full granularity for memory pressure limits (permyriad) instead of capping out at percent.
* oom: make memory pressure duration configurable through oomd.confAnita Zhang2021-01-241-1/+11
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* man: document systemd-oomd and related itemsAnita Zhang2020-10-091-0/+88