Hello. Since Systemd 205, the low-level cgroup configuration options ControlGroup= and ControlGroupAttribute= have been removed.
Relevant upstream changelog: http://lists.freedesktop.org/archives/systemd-devel/2013-July/011679.html Thoses options should be disabled. Preserving the pre-systemd 205 behavior toward realtime is behind my scope, but I think it can be achieved by using (I guess) IOSchedulingClass. Happy new year, patch is attached.
From 66bf073381e47b61960eca076d1afb69425cef76 Mon Sep 17 00:00:00 2001 From: Reventlov <[email protected]> Date: Thu, 1 Jan 2015 17:44:28 +0100 Subject: [PATCH] Fixing the systemd service file against systemd>205 --- systemd/mpd.service.in | 9 --------- 1 file changed, 9 deletions(-) diff --git a/systemd/mpd.service.in b/systemd/mpd.service.in index a72eb92..de91eb4 100644 --- a/systemd/mpd.service.in +++ b/systemd/mpd.service.in @@ -9,14 +9,5 @@ ExecStart=@prefix@/bin/mpd --no-daemon LimitRTPRIO=50 LimitRTTIME=-1 -# move MPD to a top-level cgroup, as real-time budget assignment fails -# in cgroup /system/mpd.service, because /system has a zero real-time -# budget; see -# http://www.freedesktop.org/wiki/Software/systemd/MyServiceCantGetRealtime/ -ControlGroup=cpu:/mpd - -# assign a real-time budget -ControlGroupAttribute=cpu.rt_runtime_us 500000 - [Install] WantedBy=multi-user.target -- 2.2.1
pgp4jXdgOBy4V.pgp
Description: OpenPGP digital signature
_______________________________________________ mpd-devel mailing list [email protected] http://mailman.blarg.de/listinfo/mpd-devel
