From: Oliver Kurz Date: Mon, 5 Feb 2018 13:38:20 +0000 (+0100) Subject: Use 'idle' IO and cpu scheduling class for cleanup service to prevent slowdown of... X-Git-Tag: v0.5.6~41^2 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=793aa5482cd5571ebb559a1aa8da0eec46ac4485;p=thirdparty%2Fsnapper.git Use 'idle' IO and cpu scheduling class for cleanup service to prevent slowdown of systems Related to https://bugzilla.suse.com/show_bug.cgi?id=1063638 . Not only btrfs maintenance tasks can bring systems to a halt or at least slow down and they already set idle a class. --- diff --git a/data/cleanup.service b/data/cleanup.service index 974a8532..cb78e93a 100644 --- a/data/cleanup.service +++ b/data/cleanup.service @@ -6,4 +6,5 @@ Documentation=man:snapper(8) man:snapper-configs(5) [Service] Type=simple ExecStart=/usr/lib/snapper/systemd-helper --cleanup - +IOSchedulingClass=idle +CPUSchedulingPolicy=idle