[systemd-devel] Setting low-level cgroups attributes in systemd

Joe Miller joeym at joeym.net
Mon Dec 9 10:31:11 PST 2013


It appears that the .slice changed described here[1] removed all ability to
set low-level cgroups settings, is that correct?

For cgroup attributes that systemd does not natively support
(example: cpu.cfs_period_us and cpu.cfs_quota_us) it was previously
possible to set these

1. via unit files:  ControlGroupAttribute=cpu.cfs_period_us 500
2. or at runtime:  systemctl --runtime set-cgroup-attr thing.service
cpu.cfs_period_us 500

I find the ability to set cgroup attrs not supported natively by systemd
useful, will this be added back to systemd or will systemd support all
cgroup attributes?


[1] - https://lwn.net/Articles/555923/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131209/3771cb70/attachment-0001.html>


More information about the systemd-devel mailing list