aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2020-02-29 22:31:23 +0000
committerColin Percival <cperciva@FreeBSD.org>2020-02-29 22:31:23 +0000
commitd91382866fc261ac16cf78f204eb7490f082f3d4 (patch)
treec83d9334b9407307f6bb78595d3c11821e96ee15 /lib
parent9ea5bef27f082bf3f3284d867f29ad32c1227379 (diff)
downloadsrc-d91382866fc261ac16cf78f204eb7490f082f3d4.tar.gz
src-d91382866fc261ac16cf78f204eb7490f082f3d4.zip
Add -N option to powerd(8) to ignore "nice" time.
With powerd_flags="-N", this makes powerd(8) exclude "nice" time when computing the CPU utilization. This makes it possible to prevent CPU-intensive "background" processes from spinning up the CPU. Note that only *userland* CPU usage belonging to "nice" processes is excluded; we do not track whether time spent in the kernel is on behalf of nice or non-nice processes, so kernel-intensive nice processes can still result in the CPU being sped up. MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D23868
Notes
Notes: svn path=/head/; revision=358478
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions