shell-things/etc/systemd/system/app.slice.d/90-cpuquota.conf

11 lines
360 B
Plaintext
Raw Normal View History

# This file is intended to restrict all apps to 180 % CPU of dualcore, in
# hopes of preventing system freezing to that. Memory is handled by
# systemd-oomd.
[Slice]
CPUAccounting=true
#CPUQuota=180%
# I don't enjoy the sound of fans screaming and I like responsiveness for
# commands to kill processes locking the system.
CPUQuota=90%
# vim: filetype=systemd