diff options
author | 2023-01-14 21:13:40 +0100 | |
---|---|---|
committer | 2023-01-14 16:02:21 -0500 | |
commit | 7dfa05c4446d1d2290d4ba61520a8f6ee9e57332 (patch) | |
tree | d7b42b025cd4c547874cb3b113c46c8a83cf9f74 /man | |
parent | man/portage.5: document portage skips files that begin with '.' or end '~' (diff) | |
download | portage-7dfa05c4446d1d2290d4ba61520a8f6ee9e57332.tar.gz portage-7dfa05c4446d1d2290d4ba61520a8f6ee9e57332.tar.bz2 portage-7dfa05c4446d1d2290d4ba61520a8f6ee9e57332.zip |
SCHEDULING_POLICY: switch to scheduler policy IDs rather than aliases.
The os.SCHED_* aliases are not reliable enough, the mainline Python lacks
deadline, and the pypy lacks them all together. The IDs are not going to
change, at most new would arrive, so it is safe to use it as is.
By extension, the deadline policy was also added, since those originally
were not present in aliases.
Bug: https://bugs.gentoo.org/867031
Closes: https://github.com/gentoo/portage/pull/976
Signed-off-by: KARBOWSKI Piotr <slashbeast@gentoo.org>
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'man')
-rw-r--r-- | man/make.conf.5 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man/make.conf.5 b/man/make.conf.5 index ad8ece43f..34c3cd5b5 100644 --- a/man/make.conf.5 +++ b/man/make.conf.5 @@ -1101,14 +1101,14 @@ will set idle io priority. For more information about ionice, see Portage will also set the autogroup-nice value (see fBsched\fR(7))), if FEATURES="pid\-sandbox" is enabled. .TP -\fBPORTAGE_SCHEDULING_POLICY\fR = \fI[policy name]\fR -Allows changing the current scheduling policy. The supported options are -\fBother\fR, \fBbatch\fR, \fBidle\fR, \fBfifo\fR, and \fBround-robin\fR. When -unset, the scheduling policy remains unchanged, by default Linux uses 'other' -policy. Users that wish to minimize the Portage's impact on system -responsiveness should set scheduling policy to \fBidle\fR, which significantly -reduces the disruption to the rest of the system by scheduling Portage as -extremely low priority processes. see \fBsched\fR(7) for more information. +\fBPORTAGE_SCHEDULING_POLICY\fR = \fI[policy name]\fR Allows changing the +current scheduling policy. The supported options are \fBother\fR, \fBbatch\fR, +\fBidle\fR, \fBfifo\fR, \fBround-robin\fR and \fBdeadline\fR. When unset, the +scheduling policy remains unchanged, by default Linux uses 'other' policy. +Users that wish to minimize the Portage's impact on system responsiveness +should set scheduling policy to \fBidle\fR, which significantly reduces the +disruption to the rest of the system by scheduling Portage as extremely low +priority processes. see \fBsched\fR(7) for more information. .TP \fBPORTAGE_SCHEDULING_PRIORITY\fR = \fI[priority]\fR Allows changing the priority (1-99) of the current scheduling policy, only |