flatpak/system-helper/flatpak-system-helper.service.in
Robert McQueen 060322b50b system-helper: set IO class to idle
Our benchmarks show this significantly reduces the interactivity impact of
ongoing Flatpak operations while the user is continuing other tasks on the
system. The effect is very pronounced with the default CFQ scheduler, and in
combination with BFQ, using the idle class improves the worst case to nearly
the same as an unloaded system.

Closes: #2071
Approved by: alexlarsson
2018-09-04 10:56:35 +00:00

10 lines
274 B
SYSTEMD

[Unit]
Description=flatpak system helper
[Service]
BusName=org.freedesktop.Flatpak.SystemHelper
Environment=XDG_DATA_DIRS=@localstatedir@/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
ExecStart=@libexecdir@/flatpak-system-helper
Type=dbus
IOSchedulingClass=idle