From 793aa5482cd5571ebb559a1aa8da0eec46ac4485 Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Mon, 5 Feb 2018 14:38:20 +0100 Subject: [PATCH] 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. --- data/cleanup.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3