Skip to content

Commit

Permalink
Use 'idle' IO and cpu scheduling class for cleanup service to prevent…
Browse files Browse the repository at this point in the history
… 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.
  • Loading branch information
okurz committed Feb 5, 2018
1 parent 56d7780 commit 793aa54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/cleanup.service
Expand Up @@ -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

0 comments on commit 793aa54

Please sign in to comment.